FoonLudum Dare ExplorerLD26 → Project Status: Abandoned

Project Status: Abandoned

By crazynate

View on Wayback Machine

CategoryRankScoreCount
Graphics3412.94
Theme3523.07
Innovation5511.60
Overall5532.00
Fun5531.73
Coolness180024

Comments

pvwradtke 2013-05-01 01:19

Couldn't get it to run on Linux. Got a black screen. Maybe the code can't find the resources?

pvwradtke 2013-05-01 01:52

Not able to run on windows 7 as well. Too bad :(.

brainslugs83 2013-05-01 01:54

@pvwradtke: Linux has a case sensitive file system right? I bet he's using a different case to load the resources than what the files are actually named. Maybe you could try running it from a FAT32 partition? (Like a thumb drive?)

brainslugs83 2013-05-01 01:56

Ran fine for me on windows 7 x64 -- but it ran way too fast -- are you not timing your logic loop? And you can also jump forever (just hold down the up key) -- or maybe that's intentional (flying robots?), can't really tell since the animation happens way too fast on my machine.

brighterorange 2013-05-01 01:57

Works ok for me! Boy is that gravity strong! :)
You should make your own kind of music, but my advice on platformer physics: keep (x, y) coordinates and (dx, dy) velocity. Every frame update dy += 0.5 or something to simulate gravity. Left and right arrow keys just add or subtract from dx, staying within some max velocity limits. Jumping just sets dy += 10 (or whatever) if on the ground.

stqn 2013-05-01 02:35

Just opens a black window with openjdk7 on linux. I like the screenshot though.

Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
Caused by: java.lang.IllegalArgumentException: input == null!
at javax.imageio.ImageIO.read(ImageIO.java:1388)
at com.crazynatestudios.project.AbandonedGame.<init>(AbandonedGame.java:45)
at com.crazynatestudios.project.AbandonedApp.main(AbandonedApp.java:61)
... 5 more

crazynate 2013-05-01 07:15

@pvwradtke and @stqn: Are you running the jar file in the same directory that the data and graphics folders are in? The resources it's trying to load are in those folders.

@BrainSlugs83 When I attempted to add any timing it ran too slow on my computer to test and I'm still trying to learn how to properly configure that. And I ran out of time to implement an actual jumping condition since I was too busy trying to fix collision so the up key really just changes the y velocity for collision testing purposes.

@Tom 7 setting up velocity was actually one of the few things that I did that worked, though since I didn't get jumping fixed I hadn't set a max velocity for the y direction yet since I didn't know how I should tune it.


If it would make it easier for everyone to test, should I/would it be acceptable for me to upload an updated version where you can adjust a thread sleep value so it doesn't run too fast?

zatyka 2013-05-02 03:09

It ran fine for me on Windows 8. There wasn't much to it unfortunately, but I liked the graphics style. I hope you keep with it and create the game you wrote about (it sounds pretty interesting).

stqn 2013-05-17 14:05

@CrazyNate: yes, running java -jar LD26.jar from its directory, where graphics and data are located. I just tried again and same error.