Rock-Paper-Scissors!

Hi everyone! I’m new on this forum and I wanted to show you what I’ve recently made! It’s a little rock-paper-scissors game, now featuring just two colors and retro feel! ;D

It’s my first game and I want to know what do you think! :slight_smile:

Pics:

http://dl.dropbox.com/u/44303246/Games/Rock-Paper-Scissors/01.png

http://dl.dropbox.com/u/44303246/Games/Rock-Paper-Scissors/02.png

How to play:

-Move with W, S, A, D.
-Select with SPACE.
-Return with ESC.

Play it here! (Loads in a few seconds)

Hello! your game works fine here.

Nice!

Oh! I forgot to say that it’s my first game! :slight_smile:

Hi. I’m a total noob to game making myself.

I really like the way it looks. I think you did a great job of making it look retro. Maybe you should make the controls clear on the game it’s self, as it’s not clear unless reading this thread. I think I would have prefered pressing r to select rock, and pressing p to select paper and pressing s to select scissors.

Is that the frame rate displayed in the top corner? Isn’t that a bit fast? I thought games were supposed to be like 60 frames per second. It took quite a while to load, and it used up a lot of my processing power. As I say I’m new to this so for all I know it’s ok to have frame rate that fast.

Mac OSX Snow Leopard running Safari 5.1.2. Cannot advance past the flashing Press SPACE to begin no matter where I click or press.

Thanks! :smiley: Well, I thought about using letters to select rock, paper and scissors but then I realised: what about random? xD So I decided to use A-D instead.

And about the fps… there are two ways :1- Fixed time step(fixed about 60fps) and 2-Variable time step (depending on how fast your computer is)

Take a look at this thread it might help you: http://www.java-gaming.org/topics/game-loops/24220/view.html

I’m having that issue too, only happen in the applet…don’t know why…I’ll try to fix it!

The font style reminded me on really old Gameboy games. I like your game, keep it up :]

That’s a common issue. How do you add your components and your listeners?

Really great game btw. Runs smoothly at 2000FPS. I beat the computer easily ;D

Hey! I don’t know what do you refer with components(i’m a noob yet xd) and about the listeners I have them on the main class and I add them on the start() method. The inputs are pretty dirty I think, I should have used a separate class or something ;D

WOW! :o You have fucking great machine! Jaja It’s easy to win , but watch out… it’s easy to loose too! :smiley:

Thanks for playing :slight_smile:

Thank you for playing! I really love the style of that old game boy games! :smiley:

So you add the listeners directly onto the applet and do you draw in the paint method of the Applet too or on a separate Component?
By components I mean like the java.awt.Component/javax.swing.JComponent classes.

And heh, it’s an i7 2600K (hyperthreaded quad-core) with a GTX 580 and 16GB of RAM ;D

Noo, everywhing happens in a canvas and then I add that in the Applet class! So nothing is happening in the applet, it just loads the game D: (I don’t know if this is the best way to do it)

Are you adding the listeners to the applet or the canvas? Also make sure to call:


canvas.requestFocusInWindow();

I’m adding the listeners to the canvas. So I’ve to add that on the applet? That will auto-focus the window?