Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (406)
games submitted by our members
Games in WIP (293)
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  
  Driver4K  (Read 3268 times)
0 Members and 1 Guest are viewing this topic.
Offline Ranger
« Posted 2010-02-11 21:12:19 »

Your gang is robbing the bank.  Pick up the money and drive it back to the safe house.
Upgrade your car at the shop.  Don't get busted by the cops!

http://www.java4k.com/index.php?action=games&method=view&gid=291

KEYBOARD CONTROLS
Arrow Keys or WSAD=Car Control
Ctrl=Hand brake
ESC=Restart

SCORES
$50,000=You're fired
$100,000=Good job
$150,000=Excellent job
$200,000+=Driver4K champion!

All / any comments very welcome and appreciated!  Smiley
Offline Ranger
« Reply #1 - Posted 2010-02-11 21:36:22 »

Ah!!!  I just edited the java4k page to try any get rid of the \' in the description, and now the applet has stopped working!  And I can't select that it is a pack200 applet anymore.  Anyone know how to fix this?

EDIT:  I uploaded the pack.gz file again and that seemed to fix it.  Cheesy
Offline Abuse

JGO Coder


Medals: 2


falling into the abyss of reality


« Reply #2 - Posted 2010-02-11 23:14:00 »

Haha, that's fun.

<100k first go.
192k 2nd go.

Difficulty feels just about right.

One question though - do upgrades continue to have an effect after the visible indicator is maxed out?
It sure felt like it - was hitting some ludicrous speed towards the end.

All it needs is some nice siren, crash and skidding sfx =)

Make Elite IV:Dangerous happen! Pledge your backing at KICKSTARTER here!
Games published by our own members! Check 'em out!
Try the Free Demo of Droid Assault
Offline Ranger
« Reply #3 - Posted 2010-02-11 23:34:31 »

Haha, that's fun.

<100k first go.
192k 2nd go.

Difficulty feels just about right.

One question though - do upgrades continue to have an effect after the visible indicator is maxed out?
It sure felt like it - was hitting some ludicrous speed towards the end.

All it needs is some nice siren, crash and skidding sfx =)

No, upgrades stop when the indicator is maxed out.  When you get a lot of police smashing into you, your speed can go a little crazy  Grin

If people enjoy this version, I'll look at making an Android version with sfx, traffic, ...
Offline Ranger
« Reply #4 - Posted 2010-02-14 01:44:59 »

Just wondering if anyone had beaten my best score of $230k?
Offline toasten

Junior Member





« Reply #5 - Posted 2010-02-17 22:42:03 »

The End is a bit irritating.
It just stops? No Message or anything?  Huh
No Possibility to Restart?  Huh
Offline h3ckboy
« Reply #6 - Posted 2010-02-17 23:18:01 »

The End is a bit irritating.
It just stops? No Message or anything?  Huh
No Possibility to Restart?  Huh
esc to restart.


maybe I am just worse than everyone else at high speed chases Tongue. cause I only got like 75000
Offline Nate

JGO Wizard


Medals: 81
Projects: 3


Esoteric Software


« Reply #7 - Posted 2010-02-18 01:19:22 »

Nope, can't do much better than $75k. Once the cops knock the cash around I don't feel like I have precise enough control to collect them from all over the place. :/

Offline Ranger
« Reply #8 - Posted 2010-02-18 04:19:31 »

No Possibility to Restart?  Huh
As h3ckboy mentioned, ESC to restart.

It just stops? No Message or anything?  Huh
Yep, I ran out of space for an end message (currently right on 4096 byte limit).  Dimming the screen at the end uses much less bytes.  I will look through the byte code again to see if I can squeeze out some more space.  Or I could remove something to put in an end message, like removing the labels on the buildings.
Offline h3ckboy
« Reply #9 - Posted 2010-02-18 11:18:08 »

dimming costs less than a simple drawString()?
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 438
Projects: 4


Hand over your head.


« Reply #10 - Posted 2010-02-18 13:46:43 »

dimming costs less than a simple drawString()?

you mean

java.awt.Graphics.drawString(java.lang.String, int, int)

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Projects: Revenge of the Titans, Titan Attacks, Droid Assault, and Ultratron
Offline h3ckboy
« Reply #11 - Posted 2010-02-18 13:59:29 »

you mean

java.awt.Graphics.drawString(java.lang.String, int, int)
yeah.

just curious, what else would I mean?
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 438
Projects: 4


Hand over your head.


« Reply #12 - Posted 2010-02-18 14:28:56 »

I'm trying to give you a hint about why it would be bigger in bytecode than a dimming effect...

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Projects: Revenge of the Titans, Titan Attacks, Droid Assault, and Ultratron
Offline Ranger
« Reply #13 - Posted 2010-02-18 20:58:22 »

Yep, the space mostly goes in the actual text (as drawString is already in my constant pool).  And then there's the fill rectangle I need to draw behind the text so you can actually read the text.  Darn 4K limit!  Roll Eyes
Offline h3ckboy
« Reply #14 - Posted 2010-02-19 11:28:32 »

I'm trying to give you a hint about why it would be bigger in bytecode than a dimming effect...
why because you are actually calling java.awt.Graphics.drawString(String,int,int). And that is more than anticipated when using drawString(String,int,int)?
Offline soothsayer

Senior Newbie


Projects: 1



« Reply #15 - Posted 2010-02-23 14:34:03 »

Great game. Cool

May I realized well that you used my physics? If so was it a big effort to figure out my code? I tried to give lot of explanation.
Offline Ranger
« Reply #16 - Posted 2010-02-23 21:10:15 »

Great game. Cool

May I realized well that you used my physics? If so was it a big effort to figure out my code? I tried to give lot of explanation.

Thanks!  I used Benedikt Bitterli's physics code.  Is that you?  If so, it was a fantastic article you did, thank you!  http://www.gamedev.net/reference/programming/features/verletPhys/default.asp
Offline DzzD
« Reply #17 - Posted 2010-02-24 02:57:43 »

nice game idea and very nice game !

but cannot manage to get a descent score....

Offline Ranger
« Reply #18 - Posted 2010-02-24 10:41:26 »

nice game idea and very nice game !

but cannot manage to get a descent score....

I assume you cannot make it over $50,000.  Can you let me know what you have the most trouble with?  Do you spin out all the time, or just can't get away from the cops?  Or does the car just not drive how you would expect it to?
Offline DzzD
« Reply #19 - Posted 2010-02-24 11:05:30 »

I assume you cannot make it over $50,000.  Can you let me know what you have the most trouble with?  Do you spin out all the time, or just can't get away from the cops?  Or does the car just not drive how you would expect it to?
car drive nice but even with maximum grip (and the speed to minimum), It is still hard to turn and feel very slicy, maybe you can increase the defaut grip to a higher value

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Browse for soundtracks for your game!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (76 views)
2013-05-17 21:29:12

alaslipknot (89 views)
2013-05-16 21:24:48

gouessej (119 views)
2013-05-16 00:53:38

gouessej (113 views)
2013-05-16 00:17:58

theagentd (125 views)
2013-05-15 15:01:13

theagentd (112 views)
2013-05-15 15:00:54

StreetDoggy (156 views)
2013-05-14 15:56:26

kutucuk (178 views)
2013-05-12 17:10:36

kutucuk (178 views)
2013-05-12 15:36:09

UnluckyDevil (186 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.152 seconds with 22 queries.