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.
Pages: 1
1
Off-Topic / I would just like to say...
« on: December 08, 2013, 12:55:17 am »
that ENIGMA/LGM has become a really great program.
The development team here has truly done an amazing job; it's come a very long way since I first tried it out.
Anyways, keep up the great work, guys!


Anyways, keep up the great work, guys!


2
Issues Help Desk / Re: Ever since the newest Java update...
« on: February 08, 2013, 02:18:45 am »Point is, compiling ENIGMA.exe is trivial, albeit not something Linux ought to do. Downloading a zip file from GitGub and packing in some files? That's trivial and something the server ought to be doing.
Excuse my newbiness but how exactly does one compile ENIGMA for Windows? I've been trying with Code::Blocks for the past few days to no avail...
The search bar held no helpfulness on the matter... Of course I could just be an idiot.
3
Issues Help Desk / Re: Ever since the newest Java update...
« on: February 01, 2013, 11:12:05 pm »On the other hand, I've always preferred LGM be called directly by name rather than by wildcard, but alas, butting heads with the writer of ENIGMA.exe, I won't win unless I write it myself.Glad I could help.
Anyway, thanks for letting us know. We should have it fixed sometime soon. In the meantime, running LGM directly is a valid solution, provided you have already run ENIGMA.exe successfully once in the past.
4
Issues Help Desk / Ever since the newest Java update...
« on: January 30, 2013, 03:52:07 pm »
Ever since I updated Java to the newest iteration (which, I'm pretty sure, fixed the massive security issues) I've been getting this error when I attempt to start ENIGMA;
System Specs;
http://pastebin.com/2Prz7csa
Code: [Select]
Checking configuration
Scouring for Java
java version "1.7.0_11"
Java(TM) SE Runtime Environment (build 1.7.0_11-b21)
Java HotSpot(TM) Client VM (build 23.6-b04, mixed mode, sharing)
Calling `java -jar l*.jar`
Error: Unable to access jarfile l*.jar
Press any key to continue . . .
LateralGM starts up fine when if I execute the JAR directly. I've tried moving ENIGMA to the root & redownloading & such, but it still pops up with this error.System Specs;
http://pastebin.com/2Prz7csa
5
Issues Help Desk / Re: Hi there, I am new to ENIGMA
« on: January 19, 2013, 06:12:32 pm »
Your variable needs a semi-colon during the initialization in the create event. Your initializing it script local, rather than object local.
6
Issues Help Desk / Re: A few quick questions
« on: January 17, 2013, 12:10:35 pm »1) Not at the moment. Possibly not ever; chances are, the thing you were using it for in GM is no longer required in ENIGMA. Nine times in ten, that function is used to check if room instance creation code has set a variable already. In ENIGMA, the room creation codes are executed after the object creation codes.Ahh ok. I was only going to use it for testing question 3 (if no one could give a definite answer), so no harm to me.
Quote
2) You have the entirety of OpenGL at your disposal; I would encourage you to write an Ogre system to replace the main graphics system (in ENIGMA, the graphics system is interchangeable). If you don't want to, you can either include C++ sources in the ENIGMA engine directly, or modify and rebuild the DLL to hijack ENIGMA's classes instead. Stop in on the IRC on a quiet day and one of us would be happy to help you integrate such a system.I'd love to write a 3d engine for ENIGMA, or to help write one, however, the only programming language I know is GML... And, thus, I would only really be helpful in testing it, & not much else.
3) Those DLL's are what we'd call a "hack"; last I checked (this may have changed in the meantime), they work by dismissing GM's own DirectX context, replacing the context in the window with their own. That fundamentally will not work in ENIGMA since the windows are named differently. However, a modification should be relatively easy. Again, feel free to stop in on the IRC if you are interested in making such a modification.
If you have the source to those DLLs, I don't mind walking you through installing them in ENIGMA from here in this topic, either.
7
Issues Help Desk / A few quick questions
« on: January 16, 2013, 04:17:14 pm »
3 quick questions:
1) Is there an equivalent to if (variable_local_exists('var')){} that will work in ENIGMA?
2) Are there any GM 3D graphics DLLs (like Ultimate3D or GMOgre) known working in ENIGMA?
3) Assuming that we have a game tweaked to compile in ENIGMA, but uses a DirectX DLL built for GM for 3D (like Ultimate3D), would that game likely work correctly? (On Windows, of course)
Thanks! =]
1) Is there an equivalent to if (variable_local_exists('var')){} that will work in ENIGMA?
2) Are there any GM 3D graphics DLLs (like Ultimate3D or GMOgre) known working in ENIGMA?
3) Assuming that we have a game tweaked to compile in ENIGMA, but uses a DirectX DLL built for GM for 3D (like Ultimate3D), would that game likely work correctly? (On Windows, of course)
Thanks! =]
8
Issues Help Desk / file_exists() doesn't work in Linux???
« on: April 30, 2012, 11:55:36 pm »
I have a program file that ran perfectly A-OK in ENIGMA under Windows using the file_exists() function, but when I switched over to Linux to test it (was curious to see how it would run) both ENIGMA (during compilation) & LGM (when I went to check the code itself in the editor) reported file_exists() as a function that does not exist.
Is this a bug in ENIGMA for Linux, or has file_exists() not been implemented yet for Linux?
Is this a bug in ENIGMA for Linux, or has file_exists() not been implemented yet for Linux?
9
General ENIGMA / ENIGMA VS Game Maker (Speed & Graphics)
« on: April 26, 2012, 08:37:30 pm »
I made a project in Game Maker that would draw a Mandelbrot Set fractal (depending on a few parameters). I ported the project to ENIGMA to test speeds of ENIGMA vs GM.
Visually this is what happened

(ENIGMA on the left, Game Maker on the right)
Speed-wise I got a 10-30 times increase in ENIGMA over GM
I was able to render a fractal in ENIGMA at 50 iterations per x,y coordinate about 10 times in the time it took for GM.
Anyways..
I can't wait to see how far the ENIGMA project goes! Great work so far guys!
The Mandelbrot Set script in GML for anyone who may want it:
Visually this is what happened


(ENIGMA on the left, Game Maker on the right)
Speed-wise I got a 10-30 times increase in ENIGMA over GM

I was able to render a fractal in ENIGMA at 50 iterations per x,y coordinate about 10 times in the time it took for GM.
Anyways..

I can't wait to see how far the ENIGMA project goes! Great work so far guys!

The Mandelbrot Set script in GML for anyone who may want it:
Code: [Select]
////////////////////////////
//Mandelbrot set algorithm//
////////////////////////////
draw_set_color(c_black) //sets drawing color to black
draw_rectangle(0,0,room_width,room_height,false) //draws 'background'
screen_refresh(); //refreshes screen
xx = 0; //starting x point
yy = 0; //starting y point
Iteration = global._Iterations; //Maximum Iterations (Number of times it will redraw)
MinReal = global._MinReal; //Minimum Real Number (Smallest, Negative)
MaxReal = global._MaxReal; //Maximum Real Number (Largest, Positive)
MinIm = global._MinImaginary; //Minimum Imaginary (Smallest Imaginary, Negative)
MaxIm = MinIm+(MaxReal-MinReal)*room_height/room_width;
//Maximum Imaginary (Largest Imaginary, Depends on Others)
RealFac = (MaxReal-MinReal)/(room_width-1); //Real factor
ImFac = (MaxIm-MinIm)/(room_height-1); //Imaginary Factor
cReal = MinReal + xx *RealFac; //C real start value
cIm = MinIm - yy * ImFac; //C Imaginary start value
for (yy = 0; yy <room_height; yy+=1)
{
cIm = MaxIm-yy*ImFac; //New C Imaginary value
for(xx = 0; xx<room_width; xx+=1)
{
cReal = MinReal+xx*RealFac; //New C Real value
zReal = cReal; //Z Real value
zIm = cIm; //Z Imaginary value
isTrue = true;
for (i=0; i<Iteration; i+=1)
{
zR2 = sqr(zReal); //New z[Real]^2
zIm2 = sqr(zIm); //New z[Imaginary]^2
if (zR2+zIm2>4) //if the 2 numbers are inside the fractal's limits
{
isTrue = false; //sets isTrue to false
if argument0 = true //if you want to draw a background color
{
draw_set_color(make_color_hsv(zR2*(5*i),0,i*10)) //makes a color
draw_point(xx,yy) //draws the color at the point
}
break;
}
zIm = 2*zReal*zIm+cIm; //New z[Imaginary]^2
zReal = zR2-zIm2+cReal; //New z[Real]^2
}
if (isTrue) //if the point should draw
{
if argument1 = true //if you want to draw inside the fractal image
{ //makes a pretty color for the inside of the fractal
draw_set_color(make_color_rgb(abs((i*zR2)*255),abs((i*zIm2)*255),abs((i+zR2*zIm2)*255)))
}
else draw_set_color(c_white) //else the color is white
draw_point(xx,yy) //draws a pixel at XX,YY w/ color
}
}
screen_refresh(); //refreshes the screen so you can see the fractal creating itself
//Putting the refresh here is faster than after a pixel is drawn.
sleep(1); //sleeps for 1 millisecond. Allows you to
//keep control of the window while drawing in GM
}
keyboard_wait();
Pages: 1