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

Pages: 1 [2] 3 4 ... 197
Oh boy, I can't really say without seeing how the "jumping" is done. I am also not that familiar with our collision systems, just never worked on them much. It might be helpful to post the relevant actions or code you are using to make the jumps.

Yeah, is that in the object that isn't drawing? Strange, and it's exactly what I've encountered before. Basically what I did is make all the general drawing functions go into a single vertex buffer before being sent to the GPU (this is called batching and GameMaker: Studio now does the same thing, it's faster this way). But if you change the drawing color, texture, or draw a shape of a different stride (any kind of a state change) it has to "flush" that vertex buffer to the GPU, as in actually draw the contents of the vertex buffer, clear it and start over.

Anyway, I basically just never added a check to draw the vertex buffer I think if no state change ever occurs, i.e. you draw a few things but never change the texture or color. That was a mistake and should be fixed in ENIGMA if I am truly remembering correctly. I could be wrong, I may have actually added such a check or it may just be malfunctioning in some other way.

One other thing you can try is to draw a circle in place of setting the drawing color to white.

Announcements / Re: Official ActionMaker Release
« on: September 05, 2017, 01:56:58 AM »
Thanks guys, I try my best, and we will hopefully have more updates soon on many good things to come!

I think this might actually be a bug I introduced in ENIGMA. The problem is that you are probably not drawing anything else. Try to add draw_set_color(c_red); directly after the players drawing code or add the following if you were using the default drawing:

Code: (EDL) [Select]

If that fixes it then that should confirm the bug I think exists. Basically when I introduced the global batching system I don't think I made it flush itself if there isn't any state change at all. I keep randomly hitting this issue myself.

Announcements / Official ActionMaker Release
« on: August 30, 2017, 02:13:07 AM »
I wanted to update everyone on something I've been working on lately. Still investigating more ENIGMA related things, I set out to learn Vue.js and created an action library editor along the way.

ActionMaker is a pure HTML5 application that uses Vue.js and native form elements for the front-end. It can handle both LateralGM's LGL format and GameMaker's LIB format. I've actually tested conversion of LateralGM's score library to LIB and got it to load in GMS 1.4.

You can checkout the repo on GitHub and visit the live version right now!

There are still some kinks to be worked out, but here is a list of known issues:
* Clipboard actions currently do not work in Chrome and are buggy in Firefox.
* Firefox seems to have a GTK3 issue on Linux which makes the buttons really big and breaks the layout.
* Saving LIB files does not work in any browser except Firefox because it is the only browser which supports the "image/bmp" MIME for canvas.toBlob() and bmp is the mandated image format for LIB files by GameMaker.
* I have not even tested Safari, but I'd be interested to know how that goes for anyone.

Here are some tips:
* Mark Overmar's old library editor does not let you edit official libs which are defined by having a library id less than or equal to 999. ActionMaker does not have this restriction, but if you want to also edit LIB files in the old library editor, then you should set an appropriate library id.
* LGL uses 24x24 pixel icons packed together into a single texture, and when saving to this format, ActionMaker will crop any images you provided to 24x24 while packing them.
* LIB uses 32x32 pixel icons but only the top-left 24x24 area is actually visible, the rest is the transparency color. What ActionMaker will do is crop the image to 32x32 and provide a default black transparency color if your image is only 24x24 or smaller.

Off-Topic / Re: Merry Fuckmas!
« on: December 31, 2016, 08:53:01 AM »
Well fuck you and a fucky new year too.

General ENIGMA / Re: Some stupid question
« on: November 14, 2016, 11:35:15 AM »
That's not a stupid question fervi, we actually talked about doing it before. SDL is an abstraction layer/API. I think in one of fundies forks he even has an SDL platform, but he stopped using ENIGMA. I think GameMaker uses SDL for a lot of its windowing stuff too. Being realistic, SDL would not bring much to the table when we already have native Win32, it's just better to use that directly that another layer in between (Josh argues this and it's true when it comes to performance). Being practical even more, our windowing code between Windows, Mac, and Linux is so convoluted and inconsistent that having a single SDL platform would solve all of those problems. The joystick codes could have been written a single time in ENIGMA. So I am not ruling out the potential for ENIGMA to just dump all of its platform code and use a single SDL platform. That would be one way to address a lot of those issues but SDL really should have been used from the beginning. It's really just a big tradeoff.

Off-Topic / Re: Happy Halloween!
« on: November 02, 2016, 10:51:05 PM »

Yes and the fix is available here:

It should be in the new portable ZIP on GitHub too.

Issues Help Desk / Re: LateralGM don't like me :(
« on: September 27, 2016, 05:37:39 PM »
Yeah those were pull requests I gave you I am sorry. I would have to go use the command line to dig up the commits that were used for the actual merge on GitHub.

Anyway, do you have another platform to try ENIGMA on for the time being fervi? I really don't know how to work around this issue. The reason it crept up is because JDI has poor support for templates and other things and we keep using them in various parts of ENIGMA and something must have changed in newer GCC's or another and it's bringing out crashes in the compiler. Even worse is that only people on Linux are having the problem and nobody has reported it on Windows. I am going to try to nag Josh enough into tracing down the bug this weekend.

Issues Help Desk / Re: Function essentially asking for 1.5 arguments?
« on: September 27, 2016, 05:27:05 PM »
First, I can not reproduce this on the latest master version on Windows 10 with the above code. This must be specific to Linux and may be more of our string problems.

Don't be confused, the issue is actually very simple. So recently I noticed min/max argument counts was incorrect in the syntax checker. Believe it or not, I actually did fix it.
The reason it now appears broke in this case is due to our incompatibilities with C++11 strings. Because ord actually takes std::string in ENIGMA it is causing issues.

To work around this until I figure out more about your problem, you can go into the following file and set the variable to 0 instead of SIZE_MAX. Then save the file and reopen ENIGMA. However, after this the minimum argument count will be screwed up for other functions, but it will at least let you compile.

Issues Help Desk / Re: LateralGM don't like me :(
« on: September 27, 2016, 02:01:08 AM »
No you do it this way fervi:

Code: [Select]
java -jar -Djna.nosys=true lateralgm.jar
Also please try reverting one of my commits that I am suspicious of:
Code: [Select]
git revert -m 1 5b99151173b1dad9acb059f9e99a75974801d42b
Another thing to try is making a backup of "enigma-dev/ENIGMAsystem/SHELL/Universal_System/Extensions" and then deleting everything in that "Extensions" folder and starting ENIGMA with no extensions.

Issues Help Desk / Re: LateralGM don't like me :(
« on: September 25, 2016, 11:23:49 PM »
Yeah it's becoming super common on Linux now fervi and we are really having a hard time diagnosing it.

Code: [Select]

Stack: [0x00007f1bb44a6000,0x00007f1bb45a7000],  sp=0x00007f1bb45a2a20,  free space=1010k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  []  jdip::read_qualified_definition(jdi::lexer*, jdi::definition_scope*, jdip::token_t&, jdip::context_parser*, jdi::error_handler*)+0x66
C  []  jdip::context_parser::handle_scope(jdi::definition_scope*, jdip::token_t&, unsigned int)+0x13b9
C  []  jdip::context_parser::handle_class(jdi::definition_scope*, jdip::token_t&, int)+0x920
C  []  jdip::read_type(jdi::lexer*, jdip::token_t&, jdi::definition_scope*, jdip::context_parser*, jdi::error_handler*)+0x87

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  com.sun.jna.Native.invokePointer(JI[Ljava/lang/Object;)J+0
j  com.sun.jna.Function.invokePointer(I[Ljava/lang/Object;)Lcom/sun/jna/Pointer;+6
j  com.sun.jna.Function.invoke([Ljava/lang/Object;Ljava/lang/Class;Z)Ljava/lang/Object;+486
j  com.sun.jna.Function.invoke(Ljava/lang/Class;[Ljava/lang/Object;Ljava/util/Map;)Ljava/lang/Object;+262
j  com.sun.jna.Library$Handler.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+316
j  com.sun.proxy.$Proxy0.definitionsModified(Ljava/lang/String;Ljava/lang/String;)Lorg/enigma/backend/EnigmaDriver$SyntaxError;+20
j  org.enigma.backend.EnigmaSettings.commitToDriver(Lorg/enigma/backend/EnigmaDriver;)Lorg/enigma/backend/EnigmaDriver$SyntaxError;+30
j  org.enigma.EnigmaRunner$
v  ~StubRoutines::call_stub

The stack trace to me shows its always occurring in syntax checking. Which is weird because I don't think syntax checking is even run at startup. Did you happen to change any definitions in the ENIGMA Game Settings frame?

Can you try running with the following flag on java -jar lateralgm.jar?
Code: [Select]

Issues Help Desk / Re: LateralGM don't like me either :(
« on: September 25, 2016, 11:09:36 PM »
Can you open git-bash and copy and paste the terminal to pastebin or something? Maybe you installed something that changed the environment path, I want to see it. I don't know how ENIGMA could just break sitting on your laptop for a period of time.

Works in Progress / Re: Croky
« on: September 25, 2016, 12:58:22 PM »
Hrmph can you a full copy of the output log from building the game? I'm stumped because I don't know much about that cross-compiler as fundies built it.

Pages: 1 [2] 3 4 ... 197