tinythumb

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

screenshot

Comments17

caranha
caranha23 Apr 2012, 13:56
Hey MME, it is not running in my windows machine :-/ I will try from my linux box tomorrow.
dem024 Apr 2012, 20:15
Same thing with me, crashes instantly
My Milked Eek
My Milked Eekauthor24 Apr 2012, 20:33
Are we allowed to bugfix? Can you run it from the command line and post or pm me the stack trace?
TellusE24 Apr 2012, 21:25
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)
Chtulhu24 Apr 2012, 21:28
Same for me. It crashes on windows.
My Milked Eek
My Milked Eekauthor24 Apr 2012, 21:43
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
My Milked Eekauthor24 Apr 2012, 21:43
Also, thanks for the heads up :D
jfroco25 Apr 2012, 01:13
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!!!
jfroco25 Apr 2012, 01:14
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
johnfn25 Apr 2012, 03:48
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
My Milked Eekauthor25 Apr 2012, 18:29
I found a pc from which it isn't working! Rejoice!
Ovno27 Apr 2012, 12:56
Just pops up then disappears.

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

Other games by @my-milked-eek

Found a bug?
Tell us on Discord