New to java, new to game dev, new game! Pacman duel - 2 player game

Hi all,

I wanted to explore java a bit so I decided to create a game (what better way to learn right).

Enter Pacman duel - to any die-hard Pacman fans out there, sorry for butchering it a little.

This is a 2 player game… player 1’s keys are the arrow keys and player 2’s are the WASD keys.

I’d like to say that I really enjoyed creating it, didn’t really know if what I was doing was the right way to do it but was fun anyway. :slight_smile:

http://tinyurl.com/aajc36

Haha cool. Don’t see many 2 player games around.
When I get the chance I want to create a two player game.

I didnt have any1 to play wiht so I jsut played both.

was kinda hard to do both.

good game

you may wan tot write an ai for the other player.

and have an option.

Yeah I tried playing player 2 = left hand and player 1 = right hand.

But it was way too hard!

My brain doesn’t split that way, I wonder if females are more successful doing that since they are supposed to be better multi-taskers in general.

ai would be awesome, but not as fun as playing with an actual person sitting there beside you. worth a think though.

any other suggestions that would make the game more interesting? power-up ideas? maybe submit your own maps and have the high-score tables per map? etc ideas?

I found an error i think. I was playing by myself, and some how near the end of the game my pac man couldn’t die. Did I pick something up that made him invulnerable? The health bar was all the way down, I thought it was at zero.

Hope that helps.

Other than that the game is fun.

nah, there’s no invulnerable power up… just a bug I can’t track down… I think the death state is being overridden by a move state before I process the states (make sense?), anyway, I’ll find it one day :slight_smile:

Just updated the controls so that you don’t have to be spot on when you turn. So now when you press a key, and if you can’t move in that direction straight away, it will remember the intended movement and move in that direction when an opening is available.

Makes the game a bit more fun I think, you don’t get those ‘stuck’ moments any more.

BTW your game is awesome.

[quote]but not as fun as playing with an actual person sitting there beside you.
[/quote]
I agree. but maybe you could have an optionwhe you start the game. for example:

AI
HUMAN

or something like that. so that ppl like me who are loners can have a (real) go.