tinythumb by My Milked Eek

[raw]
made by My Milked Eek for LD23 (COMPO)
Hi everyone,

Second entry. Tried my hand at an RPG. Although it doesn't seem like a lot, it is a whole lot of an improvement over my previous entry.

Be advised that the jar is 20MB. This is because of music included. If people don't want to download that much, I'll make a musicless distribution. Now, it's time for bed.

Thanks to
My girlfriend for her patience,
Caranch for tech and moral support

Feedback

caranha
23. Apr 2012 路 13:51 UTC
Hey MME, it is not running in my windows machine :-/ I will try from my linux box tomorrow.
dem0
24. Apr 2012 路 20:10 UTC
Same thing with me, crashes instantly
馃帳 My Milked Eek
24. Apr 2012 路 20:23 UTC
what
馃帳 My Milked Eek
24. Apr 2012 路 20:28 UTC
Are we allowed to bugfix? Can you run it from the command line and post or pm me the stack trace?
azurenimbus
24. Apr 2012 路 21:02 UTC
Also not working on my Mac :( Will come back to check later. Or you can let me know if you fixed it: azurenimbus@gmail.com or @azurenimbus on twitter.
TellusE
24. Apr 2012 路 21:20 UTC
As requested, sir:

Tue Apr 24 23:23:35 CEST 2012 DEBUG:MAIN - Starting application.
Tue Apr 24 23:23:35 CEST 2012 INFO:Slick Build #274
Tue Apr 24 23:23:35 CEST 2012 DEBUG:start game
Tue Apr 24 23:23:35 CEST 2012 INFO:LWJGL Version: 2.8.2
Tue Apr 24 23:23:35 CEST 2012 INFO:OriginalDisplayMode: 1920 x 1080 x 32 @60Hz
Tue Apr 24 23:23:35 CEST 2012 INFO:TargetDisplayMode: 352 x 288 x 0 @0Hz
Tue Apr 24 23:23:36 CEST 2012 INFO:Starting display 352x288
Tue Apr 24 23:23:36 CEST 2012 INFO:Use Java PNG Loader = true
Tue Apr 24 23:23:36 CEST 2012 INFO:Controllers not available
Tue Apr 24 23:23:36 CEST 2012 DEBUG:GAME - Initializing game states.
Tue Apr 24 23:23:36 CEST 2012 DEBUG:INTROGAME - Initializing
Exception in thread "main" java.lang.RuntimeException: Resource not found: /resources/spritesheets/intro.png
at org.newdawn.slick.util.ResourceLoader.getResourceAsStream(ResourceLoader.java:69)
at org.newdawn.slick.opengl.InternalTextureLoader.getTexture(InternalTextureLoader.java:169)
at org.newdawn.slick.Image.<init>(Image.java:196)
at org.newdawn.slick.SpriteSheet.<init>(SpriteSheet.java:129)
at org.newdawn.slick.SpriteSheet.<init>(SpriteSheet.java:115)
at org.newdawn.slick.SpriteSheet.<init>(SpriteSheet.java:102)
at net.mymilkedeek.ludum.tinythumb.states.IntroState.init(IntroState.java:28)
at org.newdawn.slick.state.StateBasedGame.init(StateBasedGame.java:171)
at org.newdawn.slick.AppGameContainer.setup(AppGameContainer.java:390)
at org.newdawn.slick.AppGameContainer.start(AppGameContainer.java:314)
at net.mymilkedeek.ludum.Main.main(Main.java:25)
Chtulhu
24. Apr 2012 路 21:23 UTC
Same for me. It crashes on windows.
kratorspore
24. Apr 2012 路 21:24 UTC
Crashes on launch on OSX
馃帳 My Milked Eek
24. Apr 2012 路 21:38 UTC
that's odd, I'll test it on other machines (only have a linux and a windows here and they both run the game) tomorrow at work, it works on my machines (fresh download from the googlecode) so I'll see what the issue is (if it's recreatable)
馃帳 My Milked Eek
24. Apr 2012 路 21:38 UTC
Also, thanks for the heads up :D
jfroco
25. Apr 2012 路 01:08 UTC
Hi,

Same error here:

C:\Users\jfroco\Downloads>java -jar tinythumb.jar
Tue Apr 24 22:07:19 ART 2012 DEBUG:MAIN - Starting application.
Tue Apr 24 22:07:19 ART 2012 INFO:Slick Build #274
Tue Apr 24 22:07:19 ART 2012 DEBUG:start game
Tue Apr 24 22:07:19 ART 2012 INFO:LWJGL Version: 2.8.2
Tue Apr 24 22:07:19 ART 2012 INFO:OriginalDisplayMode: 1366 x 768 x 32 @60Hz
Tue Apr 24 22:07:19 ART 2012 INFO:TargetDisplayMode: 352 x 288 x 0 @0Hz
Tue Apr 24 22:07:20 ART 2012 INFO:Starting display 352x288
Tue Apr 24 22:07:20 ART 2012 INFO:Use Java PNG Loader = true
Tue Apr 24 22:07:20 ART 2012 INFO:Controllers not available
Tue Apr 24 22:07:20 ART 2012 DEBUG:GAME - Initializing game states.
Tue Apr 24 22:07:20 ART 2012 DEBUG:INTROGAME - Initializing
Exception in thread "main" java.lang.RuntimeException: Resource not found: /reso
urces/spritesheets/intro.png
at org.newdawn.slick.util.ResourceLoader.getResourceAsStream(ResourceLoa
der.java:69)
at org.newdawn.slick.opengl.InternalTextureLoader.getTexture(InternalTex
tureLoader.java:169)
at org.newdawn.slick.Image.<init>(Image.java:196)
at org.newdawn.slick.SpriteSheet.<init>(SpriteSheet.java:129)
at org.newdawn.slick.SpriteSheet.<init>(SpriteSheet.java:115)
at org.newdawn.slick.SpriteSheet.<init>(SpriteSheet.java:102)
at net.mymilkedeek.ludum.tinythumb.states.IntroState.init(IntroState.jav
a:28)
at org.newdawn.slick.state.StateBasedGame.init(StateBasedGame.java:171)
at org.newdawn.slick.AppGameContainer.setup(AppGameContainer.java:390)
at org.newdawn.slick.AppGameContainer.start(AppGameContainer.java:314)
at net.mymilkedeek.ludum.Main.main(Main.java:25)

But after decompressing the jar and running:

C:\Users\jfroco\Downloads>java -jar tinythumb.jar
Tue Apr 24 22:07:19 ART 2012 DEBUG:MAIN - Starting application.
Tue Apr 24 22:07:19 ART 2012 INFO:Slick Build #274
Tue Apr 24 22:07:19 ART 2012 DEBUG:start game
Tue Apr 24 22:07:19 ART 2012 INFO:LWJGL Version: 2.8.2
Tue Apr 24 22:07:19 ART 2012 INFO:OriginalDisplayMode: 1366 x 768 x 32 @60Hz
Tue Apr 24 22:07:19 ART 2012 INFO:TargetDisplayMode: 352 x 288 x 0 @0Hz
Tue Apr 24 22:07:20 ART 2012 INFO:Starting display 352x288
Tue Apr 24 22:07:20 ART 2012 INFO:Use Java PNG Loader = true
Tue Apr 24 22:07:20 ART 2012 INFO:Controllers not available
Tue Apr 24 22:07:20 ART 2012 DEBUG:GAME - Initializing game states.
Tue Apr 24 22:07:20 ART 2012 DEBUG:INTROGAME - Initializing
Exception in thread "main" java.lang.RuntimeException: Resource not found: /reso
urces/spritesheets/intro.png
at org.newdawn.slick.util.ResourceLoader.getResourceAsStream(ResourceLoa
der.java:69)
at org.newdawn.slick.opengl.InternalTextureLoader.getTexture(InternalTex
tureLoader.java:169)
at org.newdawn.slick.Image.<init>(Image.java:196)
at org.newdawn.slick.SpriteSheet.<init>(SpriteSheet.java:129)
at org.newdawn.slick.SpriteSheet.<init>(SpriteSheet.java:115)
at org.newdawn.slick.SpriteSheet.<init>(SpriteSheet.java:102)
at net.mymilkedeek.ludum.tinythumb.states.IntroState.init(IntroState.jav
a:28)
at org.newdawn.slick.state.StateBasedGame.init(StateBasedGame.java:171)
at org.newdawn.slick.AppGameContainer.setup(AppGameContainer.java:390)
at org.newdawn.slick.AppGameContainer.start(AppGameContainer.java:314)
at net.mymilkedeek.ludum.Main.main(Main.java:25)

It worked!!!
jfroco
25. Apr 2012 路 01:09 UTC
Sorry the second log should be:

C:\Users\jfroco\Downloads\tinythumb>java net.mymilkedeek.ludum.Main
Tue Apr 24 22:11:03 ART 2012 DEBUG:MAIN - Starting application.
Tue Apr 24 22:11:03 ART 2012 INFO:Slick Build #274
Tue Apr 24 22:11:03 ART 2012 DEBUG:start game
Tue Apr 24 22:11:03 ART 2012 INFO:LWJGL Version: 2.8.2
Tue Apr 24 22:11:03 ART 2012 INFO:OriginalDisplayMode: 1366 x 768 x 32 @60Hz
Tue Apr 24 22:11:03 ART 2012 INFO:TargetDisplayMode: 352 x 288 x 0 @0Hz
Tue Apr 24 22:11:03 ART 2012 INFO:Starting display 352x288
Tue Apr 24 22:11:03 ART 2012 INFO:Use Java PNG Loader = true
Tue Apr 24 22:11:03 ART 2012 INFO:Controllers not available
Tue Apr 24 22:11:03 ART 2012 DEBUG:GAME - Initializing game states.
Tue Apr 24 22:11:03 ART 2012 DEBUG:INTROGAME - Initializing
Tue Apr 24 22:11:03 ART 2012 DEBUG:MAINGAME - Initializing
Tue Apr 24 22:11:04 ART 2012 DEBUG:done looping
Tue Apr 24 22:11:04 ART 2012 DEBUG:EVENT : 320 1952
johnfn
25. Apr 2012 路 03:43 UTC
My error seems to be that lwjgl isn't in my classpath. Perhaps you should include that jar or give some way to set up lwjgl? I downloaded the lwjgl.jar file and placed it in the same directory as your jar, but it still didn't work for some reason.
馃帳 My Milked Eek
25. Apr 2012 路 18:24 UTC
I found a pc from which it isn't working! Rejoice!
Ovno
27. Apr 2012 路 12:51 UTC
Just pops up then disappears.

Drop me a comment once you've sorted it and i'll come back.
Valeour
28. Apr 2012 路 13:10 UTC
Couldn't run. Win7 x64, just opens and closes. :(
PabloAM
28. Apr 2012 路 13:13 UTC
I will come back when the game works (On windows) :)