ENIGMA Development Environment
Website is in read-only mode due to a recent attack.

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

2461
Announcements / Shader Resources
« on: August 27, 2013, 04:31:04 AM »
Shaders are now available as a resource and can be used. They are compatible with Game Maker's and can currently only be saved and loaded under EGM, GMK does not support them. GMX format will be finished soon enough I have a lot on my plate.



Youtube Video: https://youtu.be/cZixbLHaroI

WARNING! You have to update in order to use them, and you must update both LateralGM, the plugin, and ENIGMA using git in order to use them, if you update only one of these then the others will break. If you have installed using the Windows ENIGMA Portable you are advised to redownload as bug fixes have been applied to those of you with MinGW issues and it also now contains an ini settings file to control checking for java and other things. Automatic updating will be available at a later point in time.

The shader functions are all documented and available on the Wiki.
https://enigma-dev.org/docs/Wiki/Shader_Functions

Currently only GLSL shaders are supported, but the function API is tailored for glsl programming and can currently only be used in OpenGL. The Game Maker version of the functions are simply wrapped around each graphics systems implementation so that there can exist an API which caters to only one shading language. These shaders can greatly help improve the performance of your games by offloading strenuous work onto the GPU where they properly belong, unlike Game Maker we also provide you the option to dynamically compile and link shaders at runtime as shaders are properly intended and encouraged by hardware manufacturers to be used.

There is a nice website for scripting and seeing real time results of shaders as well, they also have many example shaders.
http://www.kickjs.org/example/shader_editor/shader_editor.html#

There is the GLSL sandbox as well which I thought was very cool.
https://www.shadertoy.com/

2462
Yes, I would like to state again in case anyone is not aware if you update from git or use the new LateralGM, the opposite will break, so if you get the new LGM the engine will break, if you update from git, LGM will break. If you update anything you must do a full update of the software, we are looking into providing an interface for auto updates.

2463
Issues Help Desk / Re: Mouse over event
« on: August 26, 2013, 10:08:49 PM »
You guys, there is the mouse enter and mouse leave event.

2464
This is an error caused by Polygonz, please wait till he comes he implemented it only for Windows, and it shouldn't be compiling on Linux.

I'll have him fix it pronto.

2465
General ENIGMA / Re: Compiling from source
« on: August 26, 2013, 04:37:40 AM »
Hrm, after fixing that cubes demo, I decided to start implementing the shader resources...
Code: [Select]
Calling `mingw32-make.exe eTCpath="null"`
mingw32-make.exe -j 3 -C CompilerSource
Access denied - .
File not found - -NAME
File not found - -AND
File not found - !
File not found - -NAME
mingw32-make.exe[1]: *** No rule to make target `.eobjs/----------', needed by `../compileEGMf.dll'.  Stop.
mingw32-make.exe[1]: Entering directory `C:/Users/Owner/Desktop/ENIGMA/enigma-dev/CompilerSource'
mingw32-make.exe[1]: Leaving directory `C:/Users/Owner/Desktop/ENIGMA/enigma-dev/CompilerSource'
mingw32-make.exe: *** [ENIGMA] Error 2
Populating communication buffer. This may take a while on large files...
Now I am a getting the same exact error :P

2466
Off-Topic / Re: Introductions
« on: August 26, 2013, 04:03:36 AM »
Hello there ben! I seen your contributions to the Wiki, and that is awesome, I really appreciate that, I think one thing we can really provide with the Wiki project is for widespread and freely available documentation on the subject of Game Maker/ENIGMA and is part of the projects goal. Glad to have you aboard!  :)

2467
General ENIGMA / Re: Compiling from source
« on: August 25, 2013, 05:57:28 PM »
Did you say you already have Msys installed Harri? Polygonz I am thinking it might be the same issue as with frogg. Give us your full environment path that is set Harri.

2468
General ENIGMA / Re: Compiling from source
« on: August 25, 2013, 04:32:15 PM »
Harri, no, that is not what he meant, he meant use the mingw from inside the zip folder and just copy it to C:\ and set environment variable.

But this again, is all fucking MinGW's fault for no longer distributing Mysys. Harri, can you give us the output of gcc --version?

2469
General ENIGMA / GMK 820 Will Not Be Supported
« on: August 25, 2013, 03:30:55 AM »
I have made the definitive choice to never support GMK 820, why? Because it does not even properly version itself. GMK 820's are GMK's exported from GayMaka: Stupido that version themselves as 810 but remove settings such as F4 for fullscreen and other options, and without the proper format version, it is impossible for me to tell whether or not to skip these bytes when reading the GMK.

To be honest, I am surprised at all anyone was even able to load these GMK's into GM81 exported from Studio. Studio is exporting crazy corrupt GMK's this way, and no comprehensive GMK reader would be able to read Studio's files. I would not export your games from Studio that way, they did just drop this feature too, and from what I can tell it was very buggy.

But anyway, in this screenshot you can see me looking at a GMK in a binary file viewer to check the version number, the version number is the second set of 4 bytes inside the file, but it also recurs throughout GMK.

See, look at the last part of the file is the resource tree...


The GMK format was horrible, that is why YoYoGames switched to an XML based format, GMX. So I will just finish my GMX reader and everybody can just be happy, GMK 820 isn't needed anyway when I finish GMX it will be able to export to any version of GMK specified.

2470
Hey it's cool dude I don't give a shit, but I think it has a scroll thingy is why ^_^

2471
General ENIGMA / Re: Warnings
« on: August 24, 2013, 10:50:28 PM »
https://github.com/enigma-dev/enigma-dev/pull/352

Merge that joystick and exe fix polygonz, enigma.exe now needs settings.ini for which the code is this...

Code: [Select]
[MAIN]
setupcompleted=1
checkforjava=0
redirectoutput=1

Delete the file called compiled, and you can set that to 1 there if you already set up ENIGMA. I've uploaded the new zip already.

2472
General ENIGMA / Re: Warnings
« on: August 24, 2013, 10:07:16 PM »
Idk plionz, GMX stores boolean true as -1 :P

2473
General ENIGMA / Re: Warnings
« on: August 24, 2013, 09:52:19 PM »
Yes we do need to do some warning cleanup you already know that slows down compiling, lots of them are probably my fault I have been ignoring quite a few. But what do you mean the plugin is passing -1's?

2474
Hey intygamer, we got a tag that mades code just type [] around code like quote with [] around it.

We also have one that does syntax highlighting. Uhm, your issue is with GTK, I am not on Linux so I do not know, anyway, just turn off your widget system and comment out that get_string call.

2475
Announcements / Re: LateralGM Update
« on: August 24, 2013, 06:00:10 PM »
intygamer, I still needa make em a ratio of your display resolution tho :P

Edit: I have fixed the Game Info and Settings bug with them not opening once and for all, the frames should also open instantly now.

Edit 2: I have now fixed EGM's not being loaded from command line and made them double clickable as well.