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 - egofree

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 »
362
Proposals / Re: Undo in the rooms editor
« on: June 21, 2014, 11:57:26 am »
I've almost finished the undo/redo. By default the UndoManager of Java has a limit of 100 undo. It seems fine for me. What about adding a new setting in the 'Game Settings' which allows the user to change this limit ?

363
Issues Help Desk / Re: Constants don't work?
« on: June 21, 2014, 08:33:37 am »
If found the problem : it seems enum declarations works only on one line and with a semi-colon at the end. If you try :

Code: [Select]
enum {UP, DOWN, LEFT, RIGHT,NONE};
It should work. Don't ask me why, i didn't make the parser !  ;)

364
Issues Help Desk / Re: Constants don't work?
« on: June 21, 2014, 02:49:22 am »
Use Enumerations

Quote
Enumerations

As in ISO C++, enumeration values are to be regarded as strict constants. When values are specified, they should be evaluable at the time of parse. A sample enumeration is as follows:
enum {
  a,
  b,
  c,
  d = 10,
  e,
  f
}
In the above enumeration, as per ISO C++, the values of a, b, c, d, e and f are respectively 0, 1, 2, 10, 11, 12. These values should be assigned by the language-independent lexer upon initial parse. The assignment operand for initialized constants is to be regarded as a single token, though it may contain more complex expressions provided that these expressions do not entail runtime computations.
As with EDL structures, EDL enumerations need not be followed by a semicolon, as declarations using the new type must be made separately.

Declarations of enumerations are currently not possible in scripts or objects, however you can include them in definitions, under ENIGMA settings.

http://enigma-dev.org/docs/Wiki/ENIGMA:Specification

365
Announcements / Re: Timelines Implemented
« on: June 20, 2014, 02:56:02 am »
I did more tests with graphical objects and objects inheritance, and everything works as expected.  (Y)

366
Off-Topic / A complex maze with one line of code !
« on: June 20, 2014, 02:22:10 am »
Code: [Select]
10 PRINT CHR$(205.5+RND(1)); : GOTO 10
A simple line of code in Basic to make a 2D 'complex' maze on the commodore 64 !  :D

There is a complete book written on this line of code ! : http://10print.org/

You can download on the web site the electronic version of the book for free !

For all the kids who were not born in the early eighties, and don't know what we are talking about  ;) :
http://en.wikipedia.org/wiki/Commodore_64

Commodore 64 was one of the most successful computer in the early eighties. It had astounding graphical and musical skills for his time, and it was much cheaper than Apple ! :P

367
Proposals / Re: A couple ideas (ENIGMA and LGM at the same time)
« on: June 20, 2014, 02:14:25 am »
...I didn't write that code.

Are you sure ? Because the code in LateralGm is really strange :  :o

Code: [Select]
boolean Robert, Robert2, Robert3, Robert4, Robert5;
boolean Colton, Colton2, Colton3, Colton4, Colton5;

Robert = true;
Colton = true;

if (Robert == true && Colton == true)
  System.out.println("It's not me ! It's not my fault ! I didn't do it !")

I don't know about you, but it looks very suspicious to me !  >:(  ;D  :D

368
Proposals / Re: A couple ideas (ENIGMA and LGM at the same time)
« on: June 19, 2014, 03:01:30 pm »
When declaring variables, please use clear names, not 'one letter' name, or incomprehensible names.

Example in LateralGm:

Code: [Select]
boolean duo;
Much better :

Code: [Select]
boolean deleteUnderlyingObjects;

369
Proposals / Re: A couple ideas (ENIGMA and LGM at the same time)
« on: June 18, 2014, 04:10:53 pm »
Concerning C++ and OpenGL, i can say that it doesn't seem easy at first glance. For example, i tried to see if it was possible for me to fix the bug with the multiple views. I spent hours and in the end i gave up. I don't say it's not possible, but it must be a long learning curve. From what i understand, OpenGL is a low level graphics API, and it's everything but easy. I started to read some tutorials on it, but when you see things like projection matrix ! wtf !  ;) That's why i started with LateralGm. At least Java and Swing are much more manageable.
Well, there is no wonder if tools like GM are successful, because it's very easy to start. But at the same time it would be interesting to learn OpenGL and C++, as it would give me very interesting skills to be a 'professional' games developer.

370
Proposals / Re: A couple ideas (ENIGMA and LGM at the same time)
« on: June 18, 2014, 04:43:54 am »
Concerning the quality of code, i am a developer in professional environment for 20 years, and i've always heard the same thing : almost every developer, when they have to deal with others developers code, says it's crap !  This is classic :D (Of course it can be true sometimes).
The only thing i can say for the moment, is that the code is missing comments. It's really much more difficult to understand others code when there is almost no comments. I am putting a lot of comments, perhaps too much, but it's better too much than nothing !
Concerning testing, this is also a very important topic in programming. It's true that developers, and especially young ones, don't make enough tests, but at the same time ENIGMA is a very complex project, and it's hard to do every time complete regression testing. In theory you have unit testing, but it needs more work, and  it's almost not possible to do it for testing graphical outputs.

371
Proposals / Re: A couple ideas (ENIGMA and LGM at the same time)
« on: June 18, 2014, 02:26:05 am »
It's a lost cause Sammy :D

I think there's still hope !  :)

Robert is still helping a lot and doing bugs fixing, sorlok_reaves is doing bugs fixing and proposing new features (e.g. Timelines !  (Y) ), TheExdeus is working on the OpenGL part, and i hope Josh will release one day his new compiler. Also, modestly i hope to contribute to LateralGm.

But YOU Darkstar2, you were very helpful with the fonts glitches for example ! Why not continue as before and help ENIGMA with your skills ?  :)

372
General ENIGMA / Re: Rooms editor 'hidden' secrets
« on: June 16, 2014, 02:49:50 pm »
No secrets about it,
If you didn't know those features were there, then you have not used GM/GMS as these are documented features and available in GMS, and some of the features available in earlier GM.  You probably did not notice the instructions in plain view in the editor.

Well, from my point of view, the features in ENIGMA should be as much as possible self-explanatory and should not rely on the knowledge of GM ! :P  (Except of course if you are a double agent working also for YoYo Games ! ;) )

373
General ENIGMA / Rooms editor 'hidden' secrets
« on: June 16, 2014, 02:08:22 pm »
As i am adding new features to the rooms editor (for the moment i am adding the Undo/Redo function for objects), i am analyzing the code, and i found some features that i didn't know before ! For example, did you know that when you want to add a lot of the same object into a room, you can 'paint' objects ? I don't think that every user knows this feature.

Here is some tips when managing objects in a room:

- For adding a new object, you select the object type, in the object tab, and you click anywhere in the room. You can also move the object, by dragging it. If you want to 'paint' an object, press the shift key and with left button pressed, 'paint' the objects on the map.
- If you want to move an object, select an object with the mouse, press the ctrl key and drag it.
- If you want to delete objects, press the right key and erase all the objects under the cursor.

Edit:
- if you move an object and press alt, the snapping is disabled.

Soon i want to explain these features in the empty wiki page : http://enigma-dev.org/docs/Wiki/Room_Editor. But as this page is almost never visited, i think it would useful to add a new button in the toolbar of the rooms editor which opens a new window and explains all the features i just explained.

374
Proposals / Re: A couple ideas (ENIGMA and LGM at the same time)
« on: June 16, 2014, 02:21:37 am »
Quote
I have a couple ideas for both ENIGMA and LateralGM.
If I'm not posting these ideas on LateralGM forums, it's because it seems totally bugged out at the moment (http://lateralgm.org/forum/index.php?b=2, errors everywhere) and because it can be related to ENIGMA at the same time

The lateralgmorg site and it's forum are not active for a long time, so i don't think it's relevant for assessing the current state of LateralGm.

Quote
[EDL] Variable-related requests :
globalvar doesn't work, or not properly at least.
Code: [Select]
// Here is an example of use for globalvar.
/* obj_1, event room init */
globalvar cap = "globalvar example";

- You can declare Global variables in objects or you can also declare them in scripts but only with the 'dot' notation (e.g. Global.variablename).

375
I've an Alienware X51 with an Geoforce GTX 660 OEM. On Windows 7 64 bits, everything is ok.

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 »