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.


Topics - Lemon Pie

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. :D 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!  :)  (Y)


2
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;
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

3
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! =]

4
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?

5
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  :o



(ENIGMA on the left, Game Maker on the right)


Speed-wise I got a 10-30 times increase in ENIGMA over GM :D
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..  :v:
I can't wait to see how far the ENIGMA project goes! Great work so far guys!  (Y)



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