TwoP (Mutliplayer fighter)

Hello! This is my first post here, and first [big] personal game on a game outside of school.

Download: https://github.com/J3698/TwoP/releases/download/v1.4.3/TwoP.jar

This is a two player local game. The goal of the game is to shoot/kill the other guy.

You have health, and you can be poisoned, set on fire, etc.
Thanks for any constructive feedback!

Might be funny to play, i love those kind of little game which i usually play with my brother and that you try to kill the other player, with simples fast paced fights. But i came across some issues
http://img15.hostingpics.net/pics/866979issue.png
, i got on the Windows task manager and the game acted like i didn’t release the key. So you might consider using a Java Library to handle keys events, so you won’t have any problem with it.

Also shooting this way is really weird, so whether you might consider shooting in the direction at which our rectangle is pointing at, or do not allow the player to make a complete rotation by putting this little rectangle into the ground.

Well what i also really like is the way you designed the health bar with opposite colors and that the two colors are random but well contrasted. But you might consider avoiding colors close to red because we can’t really see the fire in that case.

I didn’t really look at your code, but for the fire what you could do is instead of re creating new particles , is to re use the one that have expired, like a reset, this might fix a part of your lag though you have a few particles.

Anyway keep it up :wink:

[quote=“leSpace,post:2,topic:55209”]
I noticed that to :stuck_out_tongue: any suggestions for a good java library to fix that? I’m using awt KeyEvents, not sure what else to use

[quote=“leSpace,post:2,topic:55209”]
Yeah, even writing instructions for shooting is too complicated. It’s on the fix list :slight_smile:

[quote=“leSpace,post:2,topic:55209”]
Thanks for the suggestion. I’m making it so that instead of lots of particle system, the intensity of the fire gets scaled up, and there is an intensity limit, limiting lag.

[quote=“leSpace,post:2,topic:55209”]
Thanks for all the feedback! It’s sometimes hard to get feedback because it’s twoplayer / I need to work on things like instructions. Your positive feedback really cheered me up too! :smiley:

Some changes! You won’t be able to get them yet, much of the changes are internal.

-Files organized in packages
-Effects for players stored in a HashMap
-Effects have intensity
-Item drop support being added
-LOTS of other internal tweaks :slight_smile:
-Poison effect added, very rough though

For more in-depth change info read through commit descriptions!

From what I’ve seen in the screenshots and your explanation of the game, it’s looking pretty cool!

I can’t however seem to get past the first screen. I’m unable to press the “/” due to being on a Swedish keyboard.

I’m having the same issue as @meanhugh. I am also on a Swedish keyboard.

Other than that I agree with that the game seems like a cool little game that you should (totally!) port to Android and make it a match-based game! 8)

Next JAR I create I’ll make sure the “/” isn’t a part of the controls. Maybe , and . instead.

Added a UI! I’ve done a bunch of other things also, like changing the controls of player2, so the
“/” character is no longer an issue. How-To and options are just shells so far, but that will change :D.
-> https://github.com/J3698/TwoP/releases/tag/v1.2 <-

The button hit-boxes need some work :stuck_out_tongue:

Good progress! That font needs some touching up though, looks pretty jagged. How are you generating your font?

Yeah the font is less than meh :P. I’m using java.awt.Font. I’m not sure what I should do to fix the font issue. My friend found a way to use custom fonts, I might end up using that.

Remember to


((Graphics2D) g).setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
((Graphics2D) g).setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING, RenderingHints.VALUE_TEXT_ANTIALIAS_ON);

Thanks a bunch! Text is definitely starting to look less jagged looking.