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

Proposals / Re: Urgent! A way to scale collision masks.
« on: August 14, 2013, 10:58:14 pm »
jimn, the issue is he thinks large images are the results of his games not being able to properly load into LateralGM the IDE. I am attempting to resolve this correctly with my implementation of the GMX format, which should hopefully solve his problem.

General ENIGMA / Java Plugin Freezing Explanation
« on: August 14, 2013, 10:56:11 pm »
I just want to explain to everyone, why it is that some of you may have had problems with the plugin freezing while loading.

I have currently been building the newest LateralGM jars targeting Java 7. When I made this change several months ago, the compilation speeds of LateralGM and its general performance drastically improved. But a new issue arose.

You see we use JNA which is a noobs wrapper to JNI for goobers too lazy to do shit themselves. JNA is used for native callbacks to our compiler library, or compileEGMf, extension may vary depending on platform. This means when I have been compiling LGM for 1.7 the boobs on 1.6 and 1.5 have been running into a freeze at plugin loading, for whatever reason, by they a macfag on an OS that can't even handle running the correct Java version, and no I don't mean PowerPC's, I mean MacOS Lion, gregfags computer.

I will from now on target Java 6 when compiling LGM, but no lower, as I do not want to force the slow lagginess of Java 5 back onto everyone.

General ENIGMA / Re: GMX Support
« on: August 14, 2013, 04:55:59 pm »
Yes that is exactly what I meant Harri, I wrote our shaders to let you attach multiple shaders to a shader program so you can reuse them etc, and dynamically load compile and link them at runtime, as shaders are encouraged to be used. But Studio preloads and compiles all shaders for you, and does not provide anyway of creating them dynamically at runtime, there is no shader_create() and no shader_loader(), we need to give this some serious thought about how we are going to abstract them, because Josh has already agreed that our internal shaders should be CG and CG should be ENIGMA's primary shading language, you know, Unity3D, PS3 and Xbox, mobile, all that with CG.

I think it would be better if you could select if it is vertex or fragment shader just like you can select if its HLSL or GLSL.
Nope, not even that Harri, they should just be like regular scripts, there is no need for there to even be an option, this is just another perfect example of YoYo's inability to properly abstract shit.

PS: I don't use Studio either, I have the free version to test anomalies between our engines.

General ENIGMA / Re: GMX Support
« on: August 14, 2013, 03:34:20 pm »
Nothing, there's no problem Harri, just thought it wierd, what they don't get is if they would make them individual scripts, a fragment shader could be used with two different shaders programs.

General ENIGMA / Re: GMX Support
« on: August 14, 2013, 11:22:02 am »

Can anyone say, shader what the fuck?

Proposals / Re: Urgent! A way to scale collision masks.
« on: August 14, 2013, 10:00:46 am »
Well, it is good enough for now Josh, as LateralGM is really meant to be for GMK and older Game Maker versions. GMX is something we will much better support from a new IDE. Also, it needed to load them all anyway Josh, so that the GMX could be saved into GMK.

Here is my progress now...

Also I want to warn everyone about trying to import old GMK's into Studio, basically, you shouldn't try because it is a disaster. The thing couldn't even properly import loading the old Mark Overmars FPS tutorial, and you may in fact seriously damage your game.

General ENIGMA / Re: Proper working directory and output messages
« on: August 14, 2013, 09:56:53 am »
1) Still don't think I am lumping issues here, but ok I'll just remove the profanity part of it, since you agree to keep it out of the error messages, the votes still stand though because everyone voted based on working_directory.

2) You can literally point the finger straight at me, I promise you, not one single person will manage to fuck it up Josh. I find it surprising you are worried about that, when the IDE itself with the Java threads was causing a race condition which could have led to hard drive failure on someones PC. If slojanko who is 12 can load a game with models and make an FPS Josh, I am pretty sure the kids can manage the fucking working_directory :P Even worse than that though, you'd rather set them loose on their on User acccount subdirectory, temp is AppData under user accounts on Windows, your argument about file_find_ and file_bin_open applies there too, they could very easily have too many escape sequences and fuckin delete their whole user account. Besides, anyone who doesn't make regular backups of their game, is also a motherfuckin retard.

3) I agree with that, just keep it out of the fuckin error messages, I don't give shit bout the code really.

General ENIGMA / GMX Support
« on: August 13, 2013, 09:58:13 pm »
Just a little side note to everyone, I am implementing GMX support to LateralGM, you will be able to save and load Game Maker Studio projects in a few days...

However, some options may be cleared, this feature in LGM is really only for downgrading your project to GMK. My documentation of the format can also be found on the Wiki.

if I was you I would check out the EDC in the meantime, noone even noticed the cool games I found that work the same as Game Maker, including Minecraft!

For the minecraft one though make sure you update through git as I had to commit a fix to ds_grid initializing and filling with 0 when created, otherwise the game will load and you'll just see a bunch of yellow blocks :P

It won't be long for me to fix networking though, I just need to finish up this GMX stuff with LGM before I can start something else, here is my progress from one day so far...

Just give me a couple of days.

Proposals / Re: Collapsible Script
« on: August 13, 2013, 06:45:06 pm »
Haha, yes Asher, I myself would like the feature as well, I am too busy with making the basics work for now though like adding GMX support. But yes we need some more advanced stuff like that in the script editor.

General ENIGMA / Re: Default Font Glyph
« on: August 13, 2013, 05:24:20 pm »
Hey hey hey you guys, you'll never guess what I discovered. While I was sitting here writing up GMX loading for LGM, I discovered the new GMX format actually stores a .png of each font resource, it looks like the equivalent of drawing a floor/wall with font_get_texture in ENIGMA, just all the characters organized alphabetically on a transparent background. Or just like that font texture a few posts up from mine. Except theirs is white and not black like ours.

intygamer, I am sorry, thats my fault, I renamed that function to net_send_raw, son of a gun, I tested it too before I committed it, I'll have to fix those, I am busy adding GMX to LGM right now, then I'll get right on it.

Proposals / Re: Urgent! A way to scale collision masks.
« on: August 13, 2013, 12:07:02 pm »
I have already seen his one super large project, I am outlining the GMX reader in LGM right now, don't know if I will be successful at it or not, but I'd rather focus on getting that and that should solve his woes since Studio dropped GMK exporting.

This is what I have so far today of the GMX format working...

General ENIGMA / Re: Proper working directory and output messages
« on: August 13, 2013, 09:42:22 am »
Also, to add to this
Code: [Select]
workDir = new File(LGM.class.getProtectionDomain().getCodeSource().getLocation().toURI());LateralGM, whoever wrote that code, assuming IsmAvatar, uses source directory as working directory as well, in fact all of LGM does. The argument about it being unsafe is asinine, if you can manage to fuck something up with that working directory as a source directory, you are a retard, and you shouldn't be programming, you should be fucking shot.

No Josh, apparantly your not supposed to kill threads that way, and why Java has 0 support for it. That however is a c thread but I still think you need to implement an interrupt in this case checking our update loop for a flag, and we would need a callback implemented for compileEGMf even still for it to kill the game. So what do I do?

Now also, I am sitting here looking at your compiler source code trying to figure out why ENIGMA plugin is only syntax highlighting OpenGL functions, etc. but none of the extra GML functions. I think I might know why, definitionsModified is only parsing SHELLmain.cpp for one...
Code: [Select]
  if (f.is_open()) {
    res = main_context->parse_C_stream(f, "SHELLmain.cpp");

Now, is it because its not looking in the namespace enigma_user or what? Tell me how I can fix this and I will. I have already double checked to make sure the plugin is calling this after it already compiled a game, obviously, otherwise it wouldn't work XD Should I add a call to handle_namespace from JDI?

Also, I tried to modify the eyaml settings file for the plugin to add a check box for "Emulate Working Directory For Run and Debug" but your shit sucks Josh.