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 »
391
Announcements / Re: Timelines Implemented
« on: June 06, 2014, 07:07:27 am »
I create a timeline_0 with a step at 60, where is display the message '60' within a script. Then on the create event of an object i set the timeline to timeline_0, and add it to a room. After two seconds the message is displayed correctly. But if i add another step at 1 in the timeline, where i just run a script to set a variable, when i run the application, the message is displayed immediately. But it should display after two seconds, no ?  Finally, if i add a third step at 120, where i display the message '120' and i run the application, the message '60' is displayed immediately, and after two seconds, the same message is displayed. Perhaps i am not using correctly times lines ? Or is it a bug ?

Here is my project : https://dl.dropboxusercontent.com/u/29802501/test_time_line.egm

392
Issues Help Desk / show_message doesn't work on linux
« on: June 06, 2014, 06:32:58 am »
I tested this function on Linux Mint 16 KDE and Ubuntu 14.04, and nothing happens. No problem on Windows.

393
Programming Help / Re: EDL & ENIGMA functions, syntax etc.
« on: June 05, 2014, 04:14:30 pm »
If it's spanish you could write the specification and I will gladly translate it to english (Spanish is my mother tongue).

I try to practice spanish with my wife, but my mother tongue is french. Anyway thanks for the proposal !  :)

394
General ENIGMA / Modifying the wiki page on EDL specification
« on: June 05, 2014, 04:10:24 pm »
Hello,

I would like to modify the wiki page about EDL specification. Instead of:

Quote
Arrays

EDL inherits JavaScript-like arrays rather than C++-like arrays. This is so an array can serve as an lvalue, as in the following code:
[x,y] = get_coordinates();
var fruits = ["apples", "oranges", "cherries"];
In the above case, x and y are set to the first and second elements in the array returned by get_coordinates(), respectively. The second line then declares a var and assigns the given array values to it.
How this is accomplished after compile is outside the scope of this specification. Consult the appropriate export language plug-in page for details on implementation.

What about :

Code: [Select]
Arrays

An array is always declared as a variant data type with the keyword var, followed by its name. Variant variables are not restricted to a specific data type and can hold any value you want. In order to access the element of an array, you add after its name the element index rounded by square brackets.

Example :

var myarray;

myarray[1] = 10;

It seems better for me, as i think users of ENIGMA/GM are often beginners in programming and don't know much about others languages. I would like to modify the wiki, but i am afraid i am not fluent in english. What do you think of my proposal ?

395
Announcements / Re: Timelines Implemented
« on: June 05, 2014, 04:02:20 pm »
Just a question : are timelines implemented in EDL ? It seems it's not. If i try :

Code: [Select]
global.tl = timeline_add();
I've an error message.

396
Programming Help / Re: EDL & ENIGMA functions, syntax etc.
« on: June 05, 2014, 03:42:14 pm »
An introduction about EDL : http://enigma-dev.org/docs/Wiki/ENIGMA:Specification

Thank you so much.

You are welcome. I am not fluent in english, otherwise i would like to update the EDL specification. My feeling is that it was made for people who know already C++, as you find all the time references about C++. It's a shame, as often people who try Game maker are beginners in programming and don't know anything about C++.

Here is just one example :

Quote
Arrays

EDL inherits JavaScript-like arrays rather than C++-like arrays. This is so an array can serve as an lvalue, as in the following code:

I am afraid not a lot of people know what is lvalue value (I didn't know, i had to look on internet). Instead what about writing :

Quote
An array is always declared as a variant data type with the keyword var, followed by its name. Variant variables are not restricted to a specific data type and can hold any value you want. In order to access the element of an array, you add after its name the element index rounded by square brackets.

Example :

var myarray;

myarray[1] = 10;

Much clearer, no ?  :D (Except if you forget my approximate english :P )

I am not here to rant but to say if some beginners try Enigma and read first this specification i guess it will scares some of them.

397
Programming Help / Re: EDL & ENIGMA functions, syntax etc.
« on: June 05, 2014, 02:10:26 am »

398
Arial size 30 bold unchecked italic unchecked  AA off

Ok, if you uncheck AA,  sometimes  you can see problems, but honestly is it a big concern to check AA ? AA can only improves the quality of rendering, and as far i can see, it will fix your bug. I can understand that you want to fully understand what's going on, but from my point of view with a fonts resource declared, fonts drawing in ENIGMA is far from being bad, and in any case it is not blocking !

399
True that on declared fonts you see less of the problem..

Could you give me an example with declared fonts with a problem ? I would like to test it also.

400
Darkstar2:
Read my previous message, and tell me if you have the bug with a fonts resource.

401
I've tested the test application from Darkstar2, and i've also the bug.  If i create a new project, and i use the following code in an object:

Code: [Select]
draw_set_color(c_white);
draw_text(50,50,"11111111111111111111111111");

I've the bug, BUT if i create a fonts resource, and i specify the fonts :

Code: [Select]
draw_set_color(c_white);
draw_set_font ( myfont);
draw_text(50,50,"11111111111111111111111111");

I don't have the bug. I tried many different fonts, and i didn't have the bug. So i don't know how ENIGMA draws text if the fonts type is not specified, but if you create a fonts resource, it seems you never have this bug.

402
Anybody want to volunteer testing this with onboard video or non AMD / NVIDIA card ?

Yes !

On the laptop Dell Precision M4700, with Windows 8.1 64 bits and Intel HD Graphics 4000, your application works flawlessly before and after the fix.

403
Announcements / Re: Timelines Implemented
« on: June 04, 2014, 02:12:58 am »
Sorlok, you have all my gratitude for your contribution. Thanks a lot !  (Y) ( I will test later :P ).

404
I would have used DX9 but DX9 is broken too, GENIUS, whoever tested it did not think it was necessary to hit F4 and see if full screen works.  oh well, My C++ skill set is not up to par to  fix it and never will :D  So until then I have to use OPENGL........ :P

Well, sometimes OpenGl can be broken too !  :D For example, if you want to use in Enigma multiple views with OpenGl, it doesn't work. But it works in DX9 !

405
What about trying in Linux with the same NVIDIA driver revision (337.88) if possible (if it's out even).

When i first installed Linux, first i've downloaded manually the latest drivers from the Nvidia website, and i've spent hours to figure out how to install them, as i had error messages. In the end i 'managed' to start the installation, but it screwed my system !  :o  >:( , so i had to manually uninstall these bloody drivers with command lines in 'emergency mode'. Then i managed to install older drivers with package manager. To conclude, i will not risk to install manually the latest drivers. Perhaps in the future when i will install again a new Linux version.

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 »