Pages: « 1 2 3 4 5 6 7 8 9 »
  Print  
Author Topic: Improving rooms editor  (Read 69705 times)
Offline (Unknown gender) egofree
Reply #15 Posted on: July 17, 2014, 11:00:12 am
Contributor
Joined: Jun 2013
Posts: 601

View Profile Email
Darkstar2, if you are reading this topic, you will be glad to know that i've just added the setting for the 'undo history size'. If you put 0, the undo is disabled, and if you put -1 it will be unlimited :



Also, as i said in another topic, i've added the border zone preview.
« Last Edit: July 17, 2014, 11:03:16 am by egofree » Logged
Offline (Unknown gender) Darkstar2
Reply #16 Posted on: July 17, 2014, 02:03:13 pm
Member
Joined: Jan 2014
Posts: 1238

View Profile Email
Nice job, follow zone preview is great ! I have not used GMS in a while, did it have that feature ? last time I used it only had view borders.  So REALLY nice to see ENIGMA gain more unique features, it doesn't have to suck GMS cock all the time ! :P

One remark though, I think it is a bad idea to allow unlimited undo history.  In my opinion keep the range 0-100.    Let's see what others here think about it.

Otherwise fantastic !  Now if only your pull requests can be merged before christmas ! :D
Logged
Offline (Unknown gender) TheExDeus
Reply #17 Posted on: July 17, 2014, 02:05:53 pm

Developer
Joined: Apr 2008
Posts: 1860

View Profile
I think he should allow unlimited. More choice is always better.
Logged
Offline (Unknown gender) egofree
Reply #18 Posted on: July 17, 2014, 02:25:48 pm
Contributor
Joined: Jun 2013
Posts: 601

View Profile Email
Nice job, follow zone preview is great ! I have not used GMS in a while, did it have that feature ?

No it doesn't have that feature. By the way in GM Studio the undo in the rooms editor is only 'one shot' ! And you can't modify this behaviour.  :o  ;)

One remark though, I think it is a bad idea to allow unlimited undo history.  In my opinion keep the range 0-100.    Let's see what others here think about it.

But by default the history limit is set 100 (This is the java default limit). I think if the user wants to test unlimited he should be allowed.

Otherwise fantastic !  Now if only your pull requests can be merged before christmas ! :D

Thanks mate ! Today i asked IsmAvatar to commit my pull request and he did it ! We just have to wait Robert to make new executables.
Next i will implement the 'filled version' of the views (will test with inverted colors also). Then i will add others features : global shifting of objects and tiles (already available in GM studio), improving the selection and move of objects (i will my present ideas later), and most of all multi-selection of objects and tiles! Also global search within scripts. This would be really useful ! (But this could take time, so be patient  :D )
« Last Edit: July 17, 2014, 02:39:59 pm by egofree » Logged
Offline (Unknown gender) Darkstar2
Reply #19 Posted on: July 17, 2014, 02:46:00 pm
Member
Joined: Jan 2014
Posts: 1238

View Profile Email
You are on a roll, indeed what you are suggesting would be great.  Also if you want TKG to worship you :D you might want to add object rotation, scaling and selection as in GMS.  :P

BTW are you doing all this through JAVA or C++ to JAVA conversion ?

I'm not familiar with JAVA to make significant changes in LGM.

Logged
Offline (Unknown gender) egofree
Reply #20 Posted on: July 17, 2014, 03:00:33 pm
Contributor
Joined: Jun 2013
Posts: 601

View Profile Email
BTW are you doing all this through JAVA or C++ to JAVA conversion ?

I'm not familiar with JAVA to make significant changes in LGM.

As LateralGm is made with Java, i am programming directly in Java. I had a little bit experience in java, but it was very long time ago : more than 15 years ago ! :o (Try to guess to my age !  :) ) In programming this is prehistory. At that time the developments tools for Java and Swing (the graphical API of Java) were really buggy !
By the way i don't mind programming in Java or in C#, which is a little bit similar, on the contrary : they are modern and 'elegant' languages, rather easy to learn and use. It seems to me much more easy than C++ anyway !  :) Of course C++ is faster and needed in some situation. Nowadays the king of language seems to be Javascript ! Everything, even on the server now, must be done in javascript. But this is not the topic of religious wars in programming, right ?  :D
« Last Edit: July 17, 2014, 03:16:25 pm by egofree » Logged
Offline (Unknown gender) TheExDeus
Reply #21 Posted on: July 17, 2014, 03:34:05 pm

Developer
Joined: Apr 2008
Posts: 1860

View Profile
Good job. I previously had a simple implementation suggestion for the rotation and scaling of objects in room editor. The room editor part isn't easy or simple, but tying with ENIGMA could be. My idea was that LGM would just export rotation and scale as creation scripts for the object (image_angle/direction, image_xscale/yscale) and that would basically mean no changes in ENIGMA itself. You would still need to save those changes in EGM and GMX, but I guess Robert should do that.
Also, I really would want global searching - and not only in scripts. In everything. I want a way to search for a variable and it would list all the objects+events, scripts, room creation codes and so on where it is written. Basically in every Code Window in LGM.

Also, Ism is female.
Logged
Offline (Unknown gender) egofree
Reply #22 Posted on: July 22, 2014, 01:40:45 pm
Contributor
Joined: Jun 2013
Posts: 601

View Profile Email
I just finished to add settings for views :




You can select  two colors : 'outside' and 'inside' colors. When selecting a color, you can choose also the transparency (i use a french version of windows, so the words are automatically translated in french with the colors selector of Java) :




By default, the rectangle is not filled :




With the option 'Use filled rectangle' :




And with the option 'Use inverted colors' :



Here is the latest version of LateralGm, for people who want to test it now : https://dl.dropboxusercontent.com/u/29802501/lateralgm.jar

By the way i don't intend to add more features for views, because my goal is NOT to make a new clone of photoshop !  :P ;)

I will make soon a new pull request, but before i want to do more tests and clean-up.
« Last Edit: July 22, 2014, 01:53:53 pm by egofree » Logged
Offline (Unknown gender) Darkstar2
Reply #23 Posted on: July 22, 2014, 03:48:46 pm
Member
Joined: Jan 2014
Posts: 1238

View Profile Email
that was brilliant !  :D

Amazing.......Now we have features that even GMS doesn't have......

The coloured area and following view boundary can be really helpful when making scrolling games.......

Thanks.
 
Logged
Offline (Unknown gender) egofree
Reply #24 Posted on: July 26, 2014, 03:28:13 pm
Contributor
Joined: Jun 2013
Posts: 601

View Profile Email
I added the global shift of instances :



If the tiles tab is selected, the shift command will shift tiles, otherwise it will shift objects. Of course it can be undone. Also, i will add  a new button to clear all instances in the room. It is present also in GM Studio. But i don't think i will add the possibility to undo the clear of instances, because it can use a lot of memory.

You can download the latest version of LateralGm here : https://dl.dropboxusercontent.com/u/29802501/lateralgm.jar
« Last Edit: July 26, 2014, 03:56:58 pm by egofree » Logged
Offline (Unknown gender) TheExDeus
Reply #25 Posted on: July 26, 2014, 04:12:46 pm

Developer
Joined: Apr 2008
Posts: 1860

View Profile
Quote
It is present also in GM Studio. But i don't think i will add the possibility to undo the clear of instances, because it can use a lot of memory.
Depends on the room. I don't think normally it would require that much memory, but not sure, as I don't know how the instances are stored in Java. But I still think this should require an undo. Every destructive action requires an undo. If you don't want this to have an undo, then at least make a popup window warning that this will not be reversible, and if you want to proceed. An action like that shouldn't happen without notice.
Logged
Offline (Male) Goombert
Reply #26 Posted on: July 26, 2014, 06:27:27 pm

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2993

View Profile
I agree with Harri.

And nice work egofree, I just have one simple request, make sure the English translations are sensible if you can not translate something ask me for help. "Objects" in that caption should probably not be plural, in fact I am certain it should not be.
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Unknown gender) Darkstar2
Reply #27 Posted on: July 26, 2014, 07:43:28 pm
Member
Joined: Jan 2014
Posts: 1238

View Profile Email
Robert, it's fine.

Objets is french plural of Objet.  Since we are not dealing with only ONE object, but potentially many objects.... Objet(s) can be used too.

Also the screenshot "no object" should be translated to "aucun objet" or "aucun objet selectionné"

Cheers.
Logged
Offline (Male) Goombert
Reply #28 Posted on: July 26, 2014, 10:28:55 pm

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2993

View Profile
I would prefer it just be "Shift Instances" instead of having a double plural, since instances automatically infers objects which is entirely unrelated. Otherwise we should call it Objects Instances Creation Code as well.
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Unknown gender) egofree
Reply #29 Posted on: July 27, 2014, 02:00:22 am
Contributor
Joined: Jun 2013
Posts: 601

View Profile Email
I would prefer it just be "Shift Instances" instead of having a double plural, since instances automatically infers objects which is entirely unrelated. Otherwise we should call it Objects Instances Creation Code as well.

I was wondering if it was correct or not to write objects instances. At first i wrote 'Shift instances', but depending on the selected tab the command is not the same, so i think it's useful to write if we are shifting objects or tiles.
Instead i propose the following titles : 'Shift all objects' and 'Shift all tiles'. By the way all labels are stored in the messages.properties file, so if one day another developer wants to modify them, it should be easy.

I am still working on the  undo function. It's working fine if you are only shifting instances, but if you are mixing with others commands (delete or moving instances), it can be corrupted. The way LateralGm is managing the selected instance is still a mystery for me.
« Last Edit: July 27, 2014, 02:04:36 am by egofree » Logged
Pages: « 1 2 3 4 5 6 7 8 9 »
  Print