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

1546
Where are the other files? This is only the main file? You probably didn't create a directory when you saved the game, people continue to make this mistake. When you save with the GMX format you have to create a folder and save the game in that folder, since LGM unlike Studio lets you save the projects anywhere you like.

1547
Issues Help Desk / Re: IDE tranparency flag issue
« on: April 26, 2014, 04:55:55 PM »
No you got the right place to post bugs!  (Y)

What format did you save the game in?

1548
Issues Help Desk / Re: Some issues from a new member
« on: April 26, 2014, 04:55:22 PM »
That is a known bug of the Library Maker, place the jar directly next to lateralgm.jar, it needs JoshEdit in its class path.

1549
Issues Help Desk / Re: Page issues with GAMES tab at site
« on: April 26, 2014, 04:53:36 PM »
Yes our EDC is currently half broken Josh was working on letting people upload games to the site but never finished.

1550
Programming Help / Re: Does ENIGMA support command-line args ?
« on: April 26, 2014, 04:52:57 PM »
That's possible but you have to interpret the command line yourself, we are not and never will build anything that forces that on all games.

http://enigma-dev.org/docs/Wiki/Parameter_string
http://enigma-dev.org/docs/Wiki/Parameter_count
http://enigma-dev.org/docs/Wiki/Environment_get_variable

1551
General ENIGMA / Inheritance Fixes
« on: April 26, 2014, 04:55:02 AM »
So I have finally got around to fixing the remaining inheritance issues, mainly event_inherited now works inside all events including alarms, collisions, et all, I also fixed the No More Health event from firing more than once, it behaves as GM8.1 and Studio now. I also fixed the debug warnings in an empty game. I did these changes with the help of Josh, and he approves them as well. I have tested several individual cases to ensure that the fixes work, that none of the old behavior has broken, and that no new issues have arisen. I also tested on several EDC games and some of your individual games that you all have sent me over a period of some time.

To test these changes you can pull from master, or simply download the new Portable ZIP. If you encounter any issues as a result of these changes please notify me immediately and I will fix them right away.
http://enigma-dev.org/docs/Wiki/Install:Windows

I will also take time to respond to the rest of your bug reports later today.

1552
General ENIGMA / Re: LateralGM 1.8.5
« on: April 25, 2014, 05:30:32 PM »
We'll see egofree, I am so swamped right now I can't even respond to posts. But yes the find and replace shit needs worked out, I'll get to it, eventually.

1553
Tips, Tutorials, Examples / Re: Particle system (object orient)
« on: April 24, 2014, 03:03:33 PM »
There is a much easier way to do this until the feature is added, save your game as an EGM and then open the archive with 7zip and copy and paste the scripts into your EGM. You can also do the same with the GMX format. You just can't do it with GMK because it is one huge binary file.

1554
Proposals / Re: Some ideas from a new member
« on: April 24, 2014, 03:49:16 AM »
I already have plans to add importing/exporting resources to LGM, it has just been posted to our tracker.
https://github.com/IsmAvatar/LateralGM/issues/109

Also, execute_string is specifically related to ENIGMA, and our new compiler will be capable of doing it. However, there has been interest in a LUA extension for ENIGMA.

And also, welcome! :)

1555
Developing ENIGMA / Inheritance
« on: April 24, 2014, 03:46:45 AM »
* This post is for Josh, stay the fag out of it.

I have a couple of questions I need you to answer, I wrote everything the way you told me to, but there are a couple of things you did not consider. Please answer these questions so that I may continue working tomorrow and have most of it done by the time you get home.

1) How do I rewrite events.res?
Code: (YAML) [Select]
alarm: 2
        Group
: Alarm
        Name
: Alarm %1
        Mode
: Stacked
        Sub Check
: {alarm[%1] = (int)alarm[%1]; if ((alarm[%1] == -1) or (alarm[%1]--)) return 0; }
I rewrote that subcheck to look like this.
Code: (YAML) [Select]
Sub Check: { alarm[%1] = (int)alarm[%1]; return !((alarm[%1] == -1) or (alarm[%1]--)); }Also how should the following be rewritten.
Code: (YAML) [Select]
keypress: 9
        Group
: Key Press
        Name
: Press <%1>
        Type
: Key
        Mode
: Stacked
        Super Check
: keyboard_check_pressed(%1)

2) I had to make the non-stackable event base sub check methods virtual for event_parent since that is what the iterator is cast to in ENIGMA_events.
Code: (C++) [Select]
   for (instance_event_iterator = event_nomorehealth->next; instance_event_iterator != NULL; instance_event_iterator = instance_event_iterator->next) {
    if (((enigma::event_parent*)(instance_event_iterator->inst))->myevent_nomorehealth_subcheck()) {
      ((enigma::event_parent*)(instance_event_iterator->inst))->myevent_nomorehealth();
    }
      if (enigma::room_switching_id != -1) goto after_events;
    }
   
    enigma::update_globals();
This is what the virtual subchecks look like in event_parent, and yes I know inline virtuals are redundant, see the next question.
Code: (C++) [Select]
inline virtual bool myevent_draw_subcheck() { return false; }Also, why do we bother duplicating the subcheck code for every instance when it has to go through this many steps? Why not just write all the subcheck code that's needed for every instance to event_parent?

3) I had to write the grouped event bases like event_perform for now, are you alright with this?
Code: (C++) [Select]
// Grouped event bases
      void myevent_alarm()
      {
          if (myevent_alarm_0_subcheck()) {
            myevent_alarm_0();
          }
          if (myevent_alarm_1_subcheck()) {
            myevent_alarm_1();
          }
      }

1556
Off-Topic / Re: Environment Variables are Windows Only
« on: April 23, 2014, 03:57:54 PM »
lel, you're, but still

1557
Issues Help Desk / Re: Are particles working in ENIGMA? Not for me !
« on: April 23, 2014, 02:52:12 PM »
TheExDeus, yes I can, Direct 9.0 does not draw anything in this particular example, not the particles, not even the text.

1558
Off-Topic / Re: Environment Variables are Windows Only
« on: April 23, 2014, 02:50:24 PM »
Do you know how easy it is for Linux daz? It's about 50% simpler than a chdir()

1559
Issues Help Desk / Re: Are particles working in ENIGMA? Not for me !
« on: April 23, 2014, 04:09:19 AM »
No look closely the m is fucking up for me, where as the number 1 is fucking up for you. Which is wierd, but it's doing it in D3D9 for both of us.

Anyway, draw_self is documented.
http://enigma-dev.org/docs/Wiki/Draw_self

For some reason it is listed on the Sprite Functions page.
http://enigma-dev.org/docs/Wiki/Sprite_Functions

1560
Off-Topic / Environment Variables are Windows Only
« on: April 23, 2014, 03:40:25 AM »
Well I was recently fixing the environment_get_variable function for SuperRiderTH the old version was really messed up. But anyway, I just wanted to check Studio's manual for lols, and well...

Quote from: YoYoGames
NOTE: This is a Windows only function.
http://docs.yoyogames.com/source/dadiospice/002_reference/miscellaneous/environment_get_variable.html

Apparently YYG doesn't know that Unix invented environment variables, and is pretty much one of the biggest reasons Windows has them.
https://en.wikipedia.org/wiki/Environment_variable

Quote from: Wikipedia
They were introduced in their modern form in 1979 with Version 7 Unix, so are included in all Unix operating system flavors and variants from that point onward including Linux and OS X. From PC DOS 2.0 in 1982, all succeeding Microsoft operating systems including Microsoft Windows, and OS/2 also have included them as a feature, although with somewhat different syntax, usage and standard variable names.

I think this is the epitome of why their logic is so flawed.