Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (539)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (603)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Pong - Evolution  (Read 4797 times)
0 Members and 1 Guest are viewing this topic.
Offline CodeBunny

Senior Devvie


Medals: 4
Projects: 3



« Posted 2012-02-18 13:45:49 »

As a break from another project, I've put together a Pong remake. It's not all that complex, but it's got single player and two player modes, basic pong, and "challenge mode" gameplay where the arena has complex terrain.

Here are some pics:





Anyway, check it out!

http://www.minds-eye-games.com/projects/games/pong/

BEWARE: Challenge Mode gets much, much harder.
Offline roland
« Reply #1 - Posted 2012-02-18 14:03:32 »

Very nice  Grin

How do you switch the applet to fullscreen? (code in lwjgl) I need to put this in my applet.

The challenge modes are awesome. You could have a lock system which means you have to beat each challenge before moving onto the next. It would make it more interesting in my opinion.
And you should definitely add powerups!

When you win a point, maybe you could slow the ball down a bit when it has spawned, sometimes its hard to get to it in time if you aren't paying attention (or did you do it this way on purpose?  Wink)

I also like that spinning 3d effect thing.
Offline elamre
« Reply #2 - Posted 2012-02-18 14:16:42 »

Nicely polished game! Smiley

Only it would be fun to have some different challenges, Instead of making blockades only(maybe something where there are 2 balls or so?)

Also i second rolands idea, let the ball go a little bit slower in the beginning. I lost 2 points before i could even hit the ball :|

My projects:
Tower Defence!]http://www.java-gaming.org/topics/iconified/25690/view.html]Tower Defence! [lll.......] 30%!
Lightsnakerider! [llllll....] 60%!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline CodeBunny

Senior Devvie


Medals: 4
Projects: 3



« Reply #3 - Posted 2012-02-18 14:24:05 »

Thanks, I glad you like it!

The speed of the ball was intentional. It just took way too long for the ball to move from one side of the arena to the other if it was significantly slower. Right now, it starts at a certain speed and then slowly accelerates up to double that.

There are a lot of ways in which I could add additional features, but since I made this game to take a break from a bigger, cooler game, I really want to get back to that. They are good ideas, though, and I might come back to it later.
Offline CodeBunny

Senior Devvie


Medals: 4
Projects: 3



« Reply #4 - Posted 2012-02-18 14:31:02 »

How do you switch the applet to fullscreen? (code in lwjgl) I need to put this in my applet.

Well, if you can put the LWJGL Display on an AWT Canvas with Display.setParent(), if you want to make the Display fullscreen you just call:
1  
2  
Display.setParent(null);
Display.setFullscreen();


To go back to the applet view, just call:
1  
2  
Display.setFullscreen(false);
Display.setParent(parent);
Offline kappa
« League of Dukes »

JGO Kernel


Medals: 81
Projects: 15


★★★★★


« Reply #5 - Posted 2012-02-18 15:30:15 »

How do you switch the applet to fullscreen? (code in lwjgl) I need to put this in my applet.

Well, if you can put the LWJGL Display on an AWT Canvas with Display.setParent(), if you want to make the Display fullscreen you just call:
1  
2  
Display.setParent(null);
Display.setFullscreen();


To go back to the applet view, just call:
1  
2  
Display.setFullscreen(false);
Display.setParent(parent);

The other thing you need to remember for smooth fullscreen switch using the above code is not to set a Display.setDisplayMode();
Offline dishmoth
« Reply #6 - Posted 2012-02-18 15:38:34 »

I'll third the idea that the ball is way too difficult to hit at the start of a point.  First time I started the game, I'd lost a point before my fingers had even reached the keys, which doesn't endear me to the game.  At least start the ball at the far end of the court.

Aside from that, I think it's a really slick bit of work (with fantastically cool music).  Maybe 'challenge mode' could be more prominent though - it's very entertaining, but a bit too easy to overlook.

Simon

P.S. I'm not sure that 'Pong' is a great title to use.  It guarantees that if the game ever becomes popular, it will cease to exist.

Offline R.D.

Senior Devvie


Medals: 2
Projects: 1


"For the last time, Hats ARE Awesome"


« Reply #7 - Posted 2012-02-18 16:22:17 »

Nice Game! I like the effect in the background of the game. So much i had to try it myself Cheesy It took some time but it's so simple but looks awesome! Another thing is the blend effet when moving von one screen to another, ho did you do that? With a special blend mode?
Offline roland
« Reply #8 - Posted 2012-02-18 18:40:42 »

Thanks for the fullscreen switching info CodeBunny and kappa  Smiley

The speed of the ball was intentional. It just took way too long for the ball to move from one side of the arena to the other if it was significantly slower. Right now, it starts at a certain speed and then slowly accelerates up to double that.

You shouldn't slow down the speed of the ball because you are right, it's a good speed already. But for a period of 1 second or so after the ball has spawned, you could make it move at half velocity/increase the ball's position by half the velocity. Or just halve the velocity then multiply it by 2 after the second has passed (or interpolate it so it doesn't suddenly double in speed)  Grin

Offline CodeBunny

Senior Devvie


Medals: 4
Projects: 3



« Reply #9 - Posted 2012-02-18 21:22:21 »

Nice Game! I like the effect in the background of the game. So much i had to try it myself Cheesy It took some time but it's so simple but looks awesome! Another thing is the blend effet when moving von one screen to another, ho did you do that? With a special blend mode?

Thanks! Glad you like. I was very please with how it turned out, too.

For the fade effect, I just use additive blending and render a white quad over the entire view. I switch worlds when it becomes fully opaque.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline ra4king

JGO Kernel


Medals: 356
Projects: 3
Exp: 5 years


I'm the King!


« Reply #10 - Posted 2012-02-18 22:18:46 »

Really well polished game, the graphics were smooth and eye-catchy and the background music was very fitting! Apparently I suck at pong or this is too hard because the computer beat me on easy mode...10 to 0 Cry

Offline ReBirth
« Reply #11 - Posted 2012-02-19 03:20:01 »

Wow nice pong that I've played ever. Lose in 4-10.
I happened to have frame skipping several times and slowdown for about 1-2s on my lappy.

Offline CodeBunny

Senior Devvie


Medals: 4
Projects: 3



« Reply #12 - Posted 2012-02-19 14:36:36 »

You experienced slowdown/frame skipping?  Undecided This is easily the most lightweight game I've ever made, so I'm not sure what's up with that... Can you run my other game, Micron, alright?
Offline ReBirth
« Reply #13 - Posted 2012-02-20 02:25:42 »

I downloaded once (micron) but forget where I place it. Will try it.

Offline Canownueasy

Junior Newbie




There's no place like localhost


« Reply #14 - Posted 2012-02-21 01:37:31 »

Really nice graphics!!! But the computer is too hard. Clueless
Offline jonjava
« Reply #15 - Posted 2012-02-25 17:39:13 »

Hahaa! After a 1-7 disadvantage I came up to win 10-9! I found the computers weakness! :)

Looks very polished. Nice game.

Offline jammas615

Junior Devvie


Projects: 1



« Reply #16 - Posted 2012-02-28 20:05:17 »

Very nicely made, and well polished.

Offline mike_bike_kite

Senior Devvie


Medals: 1
Projects: 2



« Reply #17 - Posted 2012-02-29 09:15:00 »

I'm sure it's fine but ...

I tried to run the applet on my XP machine and it came up with the warning "Java has discovered application components that could indicate a security concern". Why would I get this with an applet? Also does the full screen mode work with the applet?

Arcade swarm
Board Chess - Checkers - Othello
Offline CodeBunny

Senior Devvie


Medals: 4
Projects: 3



« Reply #18 - Posted 2012-02-29 15:02:51 »

That happens with most LWJGL applets. I haven't signed my jars.  Roll Eyes

I'm not trying to hack your computer, honest.
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

rwatson462 (30 views)
2014-12-15 09:26:44

Mr.CodeIt (20 views)
2014-12-14 19:50:38

BurntPizza (42 views)
2014-12-09 22:41:13

BurntPizza (76 views)
2014-12-08 04:46:31

JscottyBieshaar (37 views)
2014-12-05 12:39:02

SHC (51 views)
2014-12-03 16:27:13

CopyableCougar4 (49 views)
2014-11-29 21:32:03

toopeicgaming1999 (115 views)
2014-11-26 15:22:04

toopeicgaming1999 (105 views)
2014-11-26 15:20:36

toopeicgaming1999 (31 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!