Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  Pang 4K  (Read 3555 times)
0 Members and 2 Guests are viewing this topic.
Offline rdcarvallo

Sr. Member
**

Posts: 300


2D Java games forever!


« on: 2005-01-11 21:04:21 »

This is my entry for the j4k comp

Is based on PANG! a game made by capcom.

http://www.dcc.uchile.cl/~rcarvall/j4k/2005/Pang4K.jar

 to run: java -cp Pang4K.jar Game1

Any feedback is welcome!

Offline oNyx

JGO Kernel
*****

Posts: 2943
Medals: 5


pixels! :x


« Reply #1 on: 2005-01-11 22:52:20 »

LOL Grin

It rawks! Smiley

> Any feedback is welcome!

The controls suck. Y'know there are some funky keyboard layouts where 'z' and 'y' are the other way 'round. Why not just cursors+ctrl? (You can of course use both control schemes at the same time).

弾幕 ☆ @mahonnaiseblog
Offline kevglass
« League of Dukes »

JGO Kernel
*****

Posts: 5214
Medals: 49


Mentally unstable, best avoided.


« Reply #2 on: 2005-01-11 22:52:42 »

Pang - what a classic. This is really neat.  Love it!

Feedback:

1) Graphics flicker alot here, not sure why.
2) The block that you shoot from is too small, makes it easy not to get hit.

Kev

Games published by our own members! Go get 'em!
Offline Serethos

Sr. Member
**

Posts: 302


Java games rock!


« Reply #3 on: 2005-01-12 01:06:41 »

very sweet game, run smoothly.
but you should really consider to change the controls, because as a german user i had some problems with the 'z' key ...
Offline rdcarvallo

Sr. Member
**

Posts: 300


2D Java games forever!


« Reply #4 on: 2005-01-12 07:21:35 »

Onyx, Serethos: The controls are updated.
Kevglass: The block has grown 4 pixels   Shocked

Thanks!

Offline Malohkan

JGO Neuromancer
****

Posts: 1108
Medals: 1


while (true) System.out.println("WOO!!!!");


« Reply #5 on: 2005-01-12 10:07:28 »

Woo I like it!  How does it run anti-aliased?

Admin and Game Developer at
GameLizard.com
Play Rimscape!    |    Play Conquer!
Offline KONI

Jr. Member
**

Posts: 61


Java games rock!


« Reply #6 on: 2005-01-12 11:42:32 »

Really great game, although a lot of flickering for the balls...and I am running on a P4 2.8 with a Geforce 6800 GE.
Offline dranonymous

Sr. Member
**

Posts: 394


Hoping to become a Java Titan someday!


« Reply #7 on: 2005-01-12 12:15:33 »

Very well done!  Great simple addictive gameplay.  Smiley

I noticed some flicker as well.  Level 2 had 'ghosting' a bright purple ball with a darker ball behind it.  Not sure if it was intentional or not.

I'll try on my Mac,  Cool, and let you know how things go there.

Regards,
Dr. A>
Offline rdcarvallo

Sr. Member
**

Posts: 300


2D Java games forever!


« Reply #8 on: 2005-01-12 13:25:12 »

I have no problems of flickering on my machine(AthlonXP 2600+, GeForce5600, WinXP Pro, Java  1.4.2_05)

Which OS are you using?

I'll try a version with double instead of int for calculations.

dranonymous: maybe  two balls of the same size.
Offline ap_kelly

Full Member
**

Posts: 194


Java rocks!


« Reply #9 on: 2005-01-13 02:56:56 »

I too noticed flickering an ghosting of the balls after level 1, are the graphics double buffered? I also noticed that you can't close the window by clicking the X button in the top corner (on windows).

calling this method on your JFrame should be enough

frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

I also noticed that you haven't obsfucated your code, if you do that using one of the free tools like yGuard, you'll save even more space, so can add extra features.

Andy.

Games published by our own members! Go get 'em!
Offline rdcarvallo

Sr. Member
**

Posts: 300


2D Java games forever!


« Reply #10 on: 2005-01-13 07:43:44 »

ok,

 I've done two new versions..

http://www.dcc.uchile.cl/~rcarvall/j4k/2005/Pang4Kfba.jar
to run: java -cp Pang4Kfba.jar Game3
http://www.dcc.uchile.cl/~rcarvall/j4k/2005/Pang4Ktba.jar
to run: java -cp Pang4Ktba.jar Game4

Both versions have antialiasing and a bigger window.
fba: Frame Based Animation
tba: Time Based Animation

I reached the limit with the tba version. It's time for optimisation. (Only using javac -g:none)

Is the flickering still happening??
Offline Malohkan

JGO Neuromancer
****

Posts: 1108
Medals: 1


while (true) System.out.println("WOO!!!!");


« Reply #11 on: 2005-01-13 10:45:39 »

I played until level 30.  I saw no flickering ever.  The game was always totally smooth.  It looks very nice anti-aliased Smiley  After about level 20 I stopped getting any power ups which made the game get kinda boring after that.  I played 30 straight levels without losing a life, then quit.  Looking good!  The difficulty needs to speed up faster I think.

EDIT: only played time based

Admin and Game Developer at
GameLizard.com
Play Rimscape!    |    Play Conquer!
Offline weston

Sr. Member
**

Posts: 367



« Reply #12 on: 2005-01-13 14:14:02 »

I would have expected the opposite, but the time based version is quite smooth and the frame based version flickers a lot. Fun game though!

for(int i = 1; i > 0; i++)
{
System.out.println(i+" cups of java downed");
}
Offline kevglass
« League of Dukes »

JGO Kernel
*****

Posts: 5214
Medals: 49


Mentally unstable, best avoided.


« Reply #13 on: 2005-01-16 11:08:36 »

Can we have a webstart please bob?

Kev

Offline rdcarvallo

Sr. Member
**

Posts: 300


2D Java games forever!


« Reply #14 on: 2005-01-16 20:04:38 »

Quote
Can we have a webstart please bob?

Kev


Has come the time to learn Webstart!! Cheesy

Hey! i'm not Bob Angry  My name is Rafael Wink

Thanks for the feedback to all.
Offline K.I.L.E.R

JGO Strike Force
***

Posts: 764
Medals: 1


Java games rock!


« Reply #15 on: 2005-01-17 08:29:08 »

Dude, the game runs or at least feels jerky.

I enabled the OpenGL pipeline and it seemed a bit smoother but I'm guessing that the game needs work in the controls and graphics department. Wink

Otherwise it's quite nice.

Vorax:
Is there a name for a "redneck" programmer?

Jeff:
Unemployed. Wink
Offline kevglass
« League of Dukes »

JGO Kernel
*****

Posts: 5214
Medals: 49


Mentally unstable, best avoided.


« Reply #16 on: 2005-01-17 09:26:38 »

Thats quite interesting.. cause I'm running on a 733 with with 256 meg of ram and its smooth. At work on the 500 with 512 meg with onboard graphics (old) its also smooth.

Whats ya spec, I wonder whats doing it? Could be a timer issue.

Kev

Offline rdcarvallo

Sr. Member
**

Posts: 300


2D Java games forever!


« Reply #17 on: 2005-01-17 17:08:57 »

Hi,

 Here is the Webstart Version!

http://www.dcc.uchile.cl/~rcarvall/j4k/2005/Pang4K.php

I returned to use AWT Frame (no [X] to Close) press Esc!

With Swing 4300+ Bytes
With AWT   4200+ Bytes
Signed JAR 5700+ Bytes ( I know that my entry will not be 'webstartable')

I need to rip those extra bytes from the jar version. But where to begin?
 
 Rafael

Edit: This version is a bit more hard.. (more gravity and more balls)
Offline K.I.L.E.R

JGO Strike Force
***

Posts: 764
Medals: 1


Java games rock!


« Reply #18 on: 2005-01-18 01:04:50 »

A64 3000+, 1GB RAM, nForce 3 and a Radeon 9700 Pro.

Vorax:
Is there a name for a "redneck" programmer?

Jeff:
Unemployed. Wink
Offline jojoh

JGO Ninja
***

Posts: 554
Medals: 6


games4j.com


« Reply #19 on: 2005-01-21 08:04:42 »

Runs smooth and no flicker. Difficult level feels quite right as well. Webstart didn't work first time around. Second time it started OK.

Very well done!

Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.113 seconds with 21 queries.