Menu

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.

Show posts Menu

Messages - sorlok_reaves

#16
General ENIGMA / Animated GIFs
December 14, 2014, 03:00:25 AM


So I've written a GIF parser from scratch. It loads each GIF image into its own sub-image, just like GM does. This can be used with image_load(), which would otherwise assume it was a PNG and crash.

I need to do a bit of cleanup before submitting a pull request (it's super slow right now), but I wanted some feedback first. Is this something you guys want? It's only 500 lines of code, so it shouldn't clutter much.

Thoughts?
#17
General ENIGMA / Re: Busy busy, like a bee
December 13, 2014, 05:26:05 AM
It seems that the subsystem flag is only passed in during the "Compile" phase.

        ifeq ($(GMODE), Compile)
                override LDFLAGS += -static-libgcc -Wl,-subsystem,windows
        endif


I tend to use "Run", and then just copy the binary, because then the user is playing the same binary that I test. (This was very helpful with Sad Little War-Bot, which had a bug that only appeared with -O2 or higher, so I just distributed the Debug build.)
#18
General ENIGMA / Re: Busy busy, like a bee
December 09, 2014, 07:51:18 AM
Well, I'm happy to test any changes you want in cross-compiled mode. I just don't know that much about Windows compiling in general.
#19
General ENIGMA / Re: Busy busy, like a bee
December 09, 2014, 04:36:49 AM
@Robert: It's maybe because I use "None" instead of "Windows Widgets"?
#20
General ENIGMA / Re: Busy busy, like a bee
December 08, 2014, 12:42:59 PM
Quote from: TheExDeus on December 08, 2014, 11:20:45 AM
Why did you have ffi and pthreads .dll's externally? Did you use threading? OpenAL also didn't have to be external. You maybe didn't build using >Build button either?

I liked the game. Later levels with all the fancy explosions looked like a bullet hell game.

Windows complains if it can't find them. Nope, I don't use threading (although I think OpenAL does?)

I'll try "Build" ---it'd be great if these libraries were compiled in! Thanks for the advice.
#21
General ENIGMA / Re: Busy busy, like a bee
December 08, 2014, 12:42:12 PM
Quote from: edsquare on December 08, 2014, 06:41:29 AM
Parse error: syntax error, unexpected '}', expecting ',' or ';' in /home/ludum/public_html/compo/wp-content/plugins/compo2/preview.php on line 282  :(

Any way congrats!

Weird..... site's down, I guess.
#22
General ENIGMA / Re: Busy busy, like a bee
December 08, 2014, 04:32:20 AM
Glad you liked it! Yeah, there's a lot of balance issues; the cacti are definitely OP.

I think you can only vote if you also entered the compo? Not sure about it. Also, thanks for testing that it worked!
#23
Developing ENIGMA / Re: Switch to C++11?
December 08, 2014, 04:21:07 AM
Maybe this is related to that "Makefile override" syntax bug I found recently? Although that's usually the opposite problem (ONLY the -std=c++11 flag is noticed).
#24
General ENIGMA / Re: Busy busy, like a bee
December 08, 2014, 04:07:55 AM
The game is up! Have a look; I'll be putting a proper video and such in the "Completed Projects" page later, but for now here's the LD page:
http://ludumdare.com/compo/ludum-dare-31/?action=preview&uid=28370

Once again thanks to everyone who made this possible, including all the devs here and the ENIGMA user base in general.
#25
General ENIGMA / Re: Busy busy, like a bee
December 06, 2014, 07:29:38 PM
Thanks for the encouragement, everyone! I'll check in when I can.
#26
General ENIGMA / Busy busy, like a bee
December 06, 2014, 02:58:34 PM
Hey all,

Just a quick check-in: this weekend I'm (currently in the middle of) doing the Ludum Dare! Thought I'd try it out with ENIGMA as the engine. Don't expect too much, but I thought some of you might be interested:

http://ludumdare.com/compo/2014/12/06/tiny-pockets/
#27
Looks like it's supposed to be in libc6-dev. I assume you have the equivalent installed on Fedora?

apt-file find /stropts.h
libc6-dev: /usr/include/stropts.h


#28
Quote from: Robert B Colton on December 05, 2014, 01:45:57 AMWhat exactly do you have it set to sorlok?

2G on Linux. Also, as far as I am aware, I am using a 64-bit JVM:

java version "1.7.0_65"
OpenJDK Runtime Environment (IcedTea 2.5.3) (7u71-2.5.3-0ubuntu0.14.04.1)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)
#29
Quote from: Robert B Colton on December 05, 2014, 12:11:58 AM
TKG didn't have enough memory allocated for the JVM "java.lang.OutOfMemoryError: Java heap space" as indicated by output_log.txt

You can modify this from the command line parameter when launching LGM, on Windows you can also just edit the command in settings.ini

idecommand="java -jar -Xms256m -Xmx1000m"

Bump up the -Xmx value.

Good catch! My -Xmx value is already way up there for Iji. :P
#30
How strange...  there should be a log with the actual error somewhere (maybe someone else on the forum know where?)

Your version of LGM is up-to-date, right? And you are using my aus_alpha1 branch in my fork of ENIGMA? (Although that shouldn't matter for loading the project.)