Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (480)
Games in Android Showcase (110)
games submitted by our members
Games in WIP (547)
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  
  Pang 4K  (Read 4606 times)
0 Members and 1 Guest are viewing this topic.
Offline rdcarvallo

Senior Member


Projects: 5
Exp: 15 years


2D Java games forever!


« Posted 2005-01-12 02: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 Coder


Medals: 2


pixels! :x


« Reply #1 - Posted 2005-01-12 03: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
Online kevglass

JGO Kernel


Medals: 152
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #2 - Posted 2005-01-12 03: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! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Serethos

Junior Member




Java games rock!


« Reply #3 - Posted 2005-01-12 06: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

Senior Member


Projects: 5
Exp: 15 years


2D Java games forever!


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

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

Thanks!

Offline Malohkan

Senior Member




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


« Reply #5 - Posted 2005-01-12 15: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

Junior Member




Java games rock!


« Reply #6 - Posted 2005-01-12 16: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

Junior Member




Hoping to become a Java Titan someday!


« Reply #7 - Posted 2005-01-12 17: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

Senior Member


Projects: 5
Exp: 15 years


2D Java games forever!


« Reply #8 - Posted 2005-01-12 18: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

Junior Member




Java rocks!


« Reply #9 - Posted 2005-01-13 07: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! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline rdcarvallo

Senior Member


Projects: 5
Exp: 15 years


2D Java games forever!


« Reply #10 - Posted 2005-01-13 12: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

Senior Member




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


« Reply #11 - Posted 2005-01-13 15: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

Junior Member





« Reply #12 - Posted 2005-01-13 19: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");
}
Online kevglass

JGO Kernel


Medals: 152
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


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

Can we have a webstart please bob?

Kev

Offline rdcarvallo

Senior Member


Projects: 5
Exp: 15 years


2D Java games forever!


« Reply #14 - Posted 2005-01-17 01: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

Senior Member




Java games rock!


« Reply #15 - Posted 2005-01-17 13: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
Online kevglass

JGO Kernel


Medals: 152
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #16 - Posted 2005-01-17 14: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

Senior Member


Projects: 5
Exp: 15 years


2D Java games forever!


« Reply #17 - Posted 2005-01-17 22: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

Senior Member




Java games rock!


« Reply #18 - Posted 2005-01-18 06: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 Knight


Medals: 5
Projects: 7


games4j.com


« Reply #19 - Posted 2005-01-21 13: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]
  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.

atombrot (23 views)
2014-08-19 09:29:53

Tekkerue (22 views)
2014-08-16 06:45:27

Tekkerue (21 views)
2014-08-16 06:22:17

Tekkerue (12 views)
2014-08-16 06:20:21

Tekkerue (19 views)
2014-08-16 06:12:11

Rayexar (57 views)
2014-08-11 02:49:23

BurntPizza (37 views)
2014-08-09 21:09:32

BurntPizza (29 views)
2014-08-08 02:01:56

Norakomi (36 views)
2014-08-06 19:49:38

BurntPizza (66 views)
2014-08-03 02:57:17
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

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!