Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Goombert

781
Developing ENIGMA / Re: LateralGM 1.8.6.68
« on: October 09, 2014, 12:19:18 AM »
Now I know you're being sarcastic, but regardless, you would have to make your own Look and Feel. It's just like CSS style sheets for Qt or JavaFX apps but you have to do it with actual code and then tell UIManager to use your classes to render the components. You obviously don't have to do all the painting you can in fact just set the back color or simple things like that. You can additionally use auxiliary look and feels, that's where you set a basic one and then extend it with another look and feel on top, but LGM don't support that quite yet.

I have provided links in the other topic about designing your own Look and Feel, there is even a full electronic PDF book.
http://enigma-dev.org/forums/index.php?topic=2283.0

Josh is also going to make a contrasting dark version of the Calico icon set that will look better with the dark themes that we will prebundle with LGM.

782
Developing ENIGMA / Re: LateralGM 1.8.6.68
« on: October 08, 2014, 10:30:54 PM »
I can't help it I love it. It looks just like the GM6/7/8 advertising screenshot, brings back good memories.



783
Developing ENIGMA / Re: LateralGM 1.8.6.68
« on: October 08, 2014, 10:11:22 PM »
I am having fun with these old GM examples. 1945 works too.
http://www.rupert.id.au/tutorials/gamemaker/examples.php


784
Developing ENIGMA / Re: LateralGM 1.8.6.68
« on: October 08, 2014, 09:20:50 PM »
I've added more themes, most of all the ones available for Java to the list.

http://enigma-dev.org/forums/index.php?topic=2283

There's also a cross-platform XP look and feel which is very reminiscent of GM6/7.

785
Developing ENIGMA / Re: LateralGM 1.8.6.68
« on: October 08, 2014, 06:54:48 PM »
You wanted a dark theme, you got one, external look and feel support has been added, recheck the OP and follow the new forum guide.
http://enigma-dev.org/forums/index.php?topic=2283


786
Tips, Tutorials, Examples / LateralGM Look and Feels
« on: October 08, 2014, 05:50:03 PM »
This is a bit of a guide on using custom look and feels with LateralGM. Before attempting this please download the latest LateralGM, it has not yet been added to a new Portable ZIP
http://enigma-dev.org/docs/Wiki/Install:Extra_Packages

1) The first thing you will need to do is locate your lateralgm.jar, it may be in your enigma-dev folder
2) Create a folder next to lateralgm.jar in the same directory named "lookandfeels"
3) Download and copy the jar file of the look and feel into the newly created "lookandfeels" folder
4) Open LateralGM and navigate to "File->Preferences/General", if you are on a newer LGM it may be "File->Preferences/Appearance"
5) Set the theme to "Custom"
6) Enter the main class name of the jar file in the "Theme Path:" text box, you will have to find this name on your own because most look and feels are not executable jars and therefore do not have this in their manifest
7) Hit "Apply Changes" and then restart LGM, I advise you to restart because sometimes the look and feels may not update properly, it's a Java issue.

I have compiled a list here of available look and feels I've already tried. Please feel free to post more to this topic in a reply, and please let's keep replies only to additions to this list, any other replies will be deleted. You can also create your own look and feels using Java the same way you would create a regular look and feel and use it with LateralGM.

Here are some links to get you started on making your own Look and Feel for Java applications:
http://www.ashcavai.com/JLFDG05.pdf
https://docs.oracle.com/javase/tutorial/uiswing/lookandfeel/index.html
http://www.comp.nus.edu.sg/~cs3283/ftp/Java/swingConnect/friends/sce/sce.html

You can also override the background image used on the MDI area. Inside the "lookandfeels" folder you created previously you just need to create a file called "lgmbackground.png" which will automatically be applied the next time you load. You can use the following dark variation of LGM's current background if you like.

https://github.com/IsmAvatar/LateralGM/blob/master/org/lateralgm/main/lgmbackground.png
https://github.com/IsmAvatar/LateralGM/blob/master/org/lateralgm/main/lgmbackgrounddark.png


FlatLaF
Kind of a more modern flat style look and feel that really looks clean.
Download: https://www.formdev.com/flatlaf/
Class Names:
com.formdev.flatlaf.FlatLightLaf
com.formdev.flatlaf.FlatDarkLaf
com.formdev.flatlaf.FlatDarculaLaf
com.formdev.flatlaf.FlatIntelliJLaf


TinyLaF
This one is for all you Windows XP/GM6/7 fans, who for all intents and purposes no longer have Windows XP or have Mac or Linux.
Download: http://www.muntjak.de/hans/java/tinylaf/
Class Name: de.muntjak.tinylookandfeel.TinyLookAndFeel


Quaqua
According to Mac's licensing, you are technically not allowed to legally use this on platforms other than Mac, but that won't stand up in court see Microsoft V. Apple
Download: http://www.randelshofer.ch/quaqua/ (once you extract look in the "dist" folder)
Class Name: ch.randelshofer.quaqua.QuaquaLookAndFeel


Info Node
Download: http://www.infonode.net/index.html?ilfdownload (once you extract look in the "lib" folder)
Class Name: net.infonode.gui.laf.InfoNodeLookAndFeel


JTattoo
Download: http://www.jtattoo.net/Download.html
Class Names:
http://www.jtattoo.net/ScreenShots.html
http://www.jtattoo.net/PredefinedThemes.html
com.jtattoo.plaf.acryl.AcrylLookAndFeel
com.jtattoo.plaf.hifi.HiFiLookAndFeel
(there's more but I'm not typing them all out)


Synthetica
You must download the base Synthetica and place it in there before you can use the extended ones.

Download:
http://www.javasoft.de/synthetica/download/ (you will have to register, but it's still free)
http://www.javasoft.de/synthetica/themes/

Class Names:
de.javasoft.plaf.synthetica.SyntheticaStandardLookAndFeel
de.javasoft.plaf.synthetica.SyntheticaAluOxideLookAndFeel
de.javasoft.plaf.synthetica.SyntheticaBlackEyeLookAndFeel
de.javasoft.plaf.synthetica.SyntheticaBlackMoonLookAndFeel
de.javasoft.plaf.synthetica.SyntheticaBlackStarLookAndFeel
de.javasoft.plaf.synthetica.SyntheticaBlueIceLookAndFeel
de.javasoft.plaf.synthetica.SyntheticaBlueMoonLookAndFeel
de.javasoft.plaf.synthetica.SyntheticaBlueSteelLookAndFeel
de.javasoft.plaf.synthetica.SyntheticaClassyLookAndFeel
de.javasoft.plaf.synthetica.SyntheticaGreenDreamLookAndFeel
de.javasoft.plaf.synthetica.SyntheticaMauveMetallicLookAndFeel
de.javasoft.plaf.synthetica.SyntheticaOrangeMetallicLookAndFeel
de.javasoft.plaf.synthetica.SyntheticaSilverMoonLookAndFeel
de.javasoft.plaf.synthetica.SyntheticaSimple2DLookAndFeel
de.javasoft.plaf.synthetica.SyntheticaSkyMetallicLookAndFeel



JGoodies
The purpose of this one is having a Windows look and feel on Mac or Linux, it doesn't look much different than the one included in the Java SE, except fonts.
You also need to download both JGoodies Common as well as JGoodies Looks.
Download: http://www.jgoodies.com/downloads/libraries/
Class Names:
com.jgoodies.looks.windows.WindowsLookAndFeel
com.jgoodies.looks.plastic.PlasticLookAndFeel
com.jgoodies.looks.plastic.Plastic3DLookAndFeel

com.jgoodies.looks.plastic.PlasticXPLookAndFeel

Pgs
Download: http://www.pagosoft.com/projects/pgslookandfeel/
Class Name: com.pagosoft.plaf.PgsLookAndFeel


Sea Glass
Download: https://github.com/khuxtable/seaglass (seaglasslookandfeel-0.2.jar)
Class Name: com.seaglasslookandfeel.SeaGlassLookAndFeel

787
Developing ENIGMA / Re: LateralGM 1.8.6.67
« on: October 08, 2014, 03:55:54 PM »
Ok, another update, I just fixed printing on the Resource and Game Info frames, I've tested them and they work exactly as 8.1

Redownload the LGM jar for my updates, I've also fixed the hash.

8.1 and Studio do not have print preview support but I plan to add it eventually. Code editing frames still can not print however.

Additionally, I really couldn't test Studio because the Resource Info frame is broke, and the print dialog is really not viewable under their shitty dark theme. This is on the latest release too, but the same things were broke in the last couple releases.



788
Developing ENIGMA / Re: LateralGM 1.8.6.65
« on: October 08, 2014, 02:59:21 PM »
Quote from: egofree
Are you sure ?  I downloaded the latest version, and the enter still opens a resource.
Try downloading again, it looks like I didn't actually upload it to Dropbox, sorry about that.

Quote from: egofree
By the way, i was wondering if it would be useful to add 'expand all' and 'shrink all' buttons in the search tool bar. When there is a lot of results, it is annoying to expand every node to see each result.
I already thought about that and I was going to add it last night, but I won't add it to the search toolbar, I'll add it to the context menu like Eclipse.

Quote from: gra
problem with update of lateral gm of seven hour ago
when i try to close lateral gm in mint 17, and the program not close
Yes gra, listen to Harri you need to download the plugin as well; he did the same thing. If it works let me know.

789
Programming Help / Re: Why do we use placement new?
« on: October 07, 2014, 08:38:14 PM »
Oh wow, I am not sure you'll have to ask Josh about that one. I'll forward this to him.

790
Well in Psychology there's also the invincibility fallacy/personal fable.
http://en.wikipedia.org/wiki/Invincible_ignorance_fallacy
http://en.wikipedia.org/wiki/Personal_fable

791
Programming Help / Re: Why do we use placement new?
« on: October 07, 2014, 08:29:31 PM »
Can you show me a code example sorlok? I am a tad confused by what you mean.

792
Developing ENIGMA / Re: LateralGM 1.8.6.65
« on: October 07, 2014, 08:16:06 PM »
Alright I've added scrollbars and fixed the context menu copy action, please test it again. Additionally since ALT+Enter also opens resources when typing in the search bar, I made regular Enter by itself perform the search and automatically open the search results tab as you suggested egofree.

Quote from: egofree
The arrows buttons work only for the 'Resources' tab. What about doing the same for the 'Search results' tab ?
The arrow buttons are really only useful when the tree is not filtered, the search results tab is always filtered so every node is pretty much a result node, buttons are pretty much useless in that context.

Quote from: egofree
I think the following modification would improve the user interface : instead of having a 'Search results' tab in the resources panel, what about having a panel only for the search results ? For example, let's have a horizontal panel at the bottom of the main window (as in Eclipse or Notepad++). Every time the user is doing a new search, a new tab would be added in this panel. Each tab would be 'closable'. This means we could have several 'Search results' available, and the user would see very easily that a new search results has been completed. What do you think of my proposal ?
I had already thought of that but I felt it detracted too much from the idea of it being a reconstructed resource tree. The tree is also likely to have more vertical than horizontal dimension given a large number of results. It would be better to have a docking framework where you could pop it out and look through because it's honestly likely to be big both vertically and horizontally. Let's just focus on getting it finished first.

793
Developing ENIGMA / Re: LateralGM 1.8.6.62
« on: October 07, 2014, 11:47:25 AM »
Hmm, I don't seem to have that issue ego, try using CTRL+C instead of the context button, because the context button has stopped working for me, I'll have to fix. I also noticed the search results tree needs placed in a scroll panel.

794
Developing ENIGMA / Re: LateralGM 1.8.6.6
« on: October 06, 2014, 04:58:42 PM »
egofree, I guess I should reset the search results, yeah. I was going to leave them be because I didn't think they hurt anything, but that's really weird they would still be able to open. I am getting around to making the result nodes also recognize scope, I mentioned that in the change log.

Also, Harri is right the syntax check button can break without the search feature in the same exact way, I was able to reproduce the issue and I'll try to get it fixed, I don't know what's causing it yet.

Edit: The syntax button is an easy one, it's just a simple frame/plugin issue, if you close and reopen the frame it's fine. I've uploaded a patch, please check the extra packages page for both jars.

795
General ENIGMA / Re: Lateral GM question
« on: October 06, 2014, 01:56:22 PM »
Heh well, we actually aren't all that incompatible with GMK's, a major portion of games compatible are in GMK format, like Project Mario, and Project Chaos, Minecraft Example, Mark Overmars FPS, Overmars Game of Life. Some games also use properties that GMX does not store, such as removing the transparency color of sprites. Converting these games to another format would break some things here and there. We also just happen to be a lot more compatible with GMK games because they get rid of all the bad coding techniques we've yet to implement, but also add a ton of new ones, see ds accessors.