ShitBricks

Hello!
I made a fun game called “ShitBricks” (for lack of a better name).
I will probably stop developping, so what’s a better time to put it out there :stuck_out_tongue:

Hope you like it :wink: I did not use any libraries. Pure Java power!

Try it out @: www.damnesia.tk
www.damnesia.tk/Stream.php

: D
Really cool and addicting!

Would like some music and SFX though, but I know that stuff can be hard to find if you can’t make it yourself…

Great work!

Exception in thread “Thread-11” java.util.ServiceConfigurationError: javax.imageio.spi.ImageTranscoderSpi: http://www.damnesia.tk/META-INF/services/javax.imageio.spi.ImageTranscoderSpi:2: Illegal configuration-file syntax
at java.util.ServiceLoader.fail(Unknown Source)
at java.util.ServiceLoader.fail(Unknown Source)
at java.util.ServiceLoader.parseLine(Unknown Source)
at java.util.ServiceLoader.parse(Unknown Source)
at java.util.ServiceLoader.access$200(Unknown Source)
at java.util.ServiceLoader$LazyIterator.hasNext(Unknown Source)
at java.util.ServiceLoader$1.hasNext(Unknown Source)
at javax.imageio.spi.IIORegistry.registerApplicationClasspathSpis(Unknown Source)
at javax.imageio.spi.IIORegistry.(Unknown Source)
at javax.imageio.spi.IIORegistry.getDefaultInstance(Unknown Source)
at javax.imageio.ImageIO.(Unknown Source)
at resource.ResourceManager.loadImage(ResourceManager.java:81)
at resource.ResourceManager.(ResourceManager.java:23)
at tk.damnesia.entity.Player.(Player.java:30)
at tk.damnesia.main.GameCanvas.initialize(GameCanvas.java:95)
at tk.damnesia.main.GameCanvas.run(GameCanvas.java:148)
at java.lang.Thread.run(Unknown Source)

Thats weird. I’ve never had that one ever. Ive had quite some people test it and it ran fine for them aswell. It failed loading the image it seems. Did you try refreshing the page(if you ran the applet)

Very addictive!

Awesome title, but I got the same error as Apo. Using Java 7 on Windows 7. Apo, what Java version were you using?

This is the code where it loads the image.

private static BufferedImage loadImage(String string){
		BufferedImage bi = null;
		try{
		bi = ImageIO.read(GameCanvas.class.getResource(string));
			
		if(GameCanvas.applet){
			bi = ImageIO.read(new URL("http://damnesia.tk/images.png"));
		}
			
		}catch(IOException e){
			e.printStackTrace();
		}
		return bi;
		
	}

it supposively fails @ bi = ImageIO.read(new URL(“http://damnesia.tk/images.png”)); (line 81 of my ResourceManage class.)
I’d really like to know how to fix this error for some of you.

You don’t need to use the URL way, the getResource way works already, since it didn’t throw an exception :wink:

Whoops (such a moron sometimes). Ive had some trouble loading the image in :stuck_out_tongue: I replaced the jar file. Is it fixed now?

Nope, still same error :confused:

It works nice, and the game is fun for a while.

However the blinking background hurts my eyes!

Maybe if you don’t spend so much time on 9gag you could have free time to add some sounds :stuck_out_tongue:

LOL @ the name.
OP, are you an aussie by any chance?

where is my “fuck yeah!”?!

One does not simply leave 9gag and code some sounds :wink:

OKay, so desktop ver doesn’t submit score to leaderboard?

Desktop version does work with highscores ;). about the sounds, I’ll add something I made on ableton a few ago when i come on my pc. nothing spectacular, but something is better than nothing, right,? :smiley:

I challenge you to play the Sega Megadrive version of “Strider” and then watch this longplay of the (horrible) Commodore Amiga port.

I don’t think I have to be any more specific. Sometimes nothing is better than something :confused:

Well, I had a song in like a week ago. but I removed it soon afterwards due to the longer loading times etc.

Same error as Apo,

Downloaded version gave:

Exception in thread "Thread-3" java.lang.IllegalStateException: Component must have a valid peer at java.awt.Component$FlipBufferStrategy.createBuffers(Component.java:3843) at java.awt.Component$FlipBufferStrategy.<init>(Component.java:3817) at java.awt.Component$FlipSubRegionBufferStrategy.<init>(Component.java:4358) at java.awt.Component.createBufferStrategy(Component.java:3699) at java.awt.Canvas.createBufferStrategy(Canvas.java:166) at java.awt.Component.createBufferStrategy(Component.java:3623) at java.awt.Canvas.createBufferStrategy(Canvas.java:141) at tk.damnesia.main.GameCanvas.run(GameCanvas.java:193) at java.lang.Thread.run(Thread.java:680)

OS X
Java 1.6.0