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  
  Driver4K  (Read 2664 times)
0 Members and 2 Guests are viewing this topic.
Offline Ranger

Sr. Member
**

Posts: 340
Medals: 1



« on: 2010-02-11 15: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

Sr. Member
**

Posts: 340
Medals: 1



« Reply #1 on: 2010-02-11 15: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 Kernel
*****

Posts: 1866
Medals: 5


falling into the abyss of reality


« Reply #2 on: 2010-02-11 17: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 =)
Games published by our own members! Go get 'em!
Offline Ranger

Sr. Member
**

Posts: 340
Medals: 1



« Reply #3 on: 2010-02-11 17: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

Sr. Member
**

Posts: 340
Medals: 1



« Reply #4 on: 2010-02-13 19:44:59 »

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

Jr. Member
**

Posts: 56



« Reply #5 on: 2010-02-17 16:42:03 »

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

JGO Kernel
*****

Posts: 1645
Medals: 4



« Reply #6 on: 2010-02-17 17: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 Neuromancer
****

Posts: 1062
Medals: 30


mooooo


« Reply #7 on: 2010-02-17 19: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

Sr. Member
**

Posts: 340
Medals: 1



« Reply #8 on: 2010-02-17 22: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

JGO Kernel
*****

Posts: 1645
Medals: 4



« Reply #9 on: 2010-02-18 05:18:08 »

dimming costs less than a simple drawString()?
Games published by our own members! Go get 'em!
Offline Riven
« League of Dukes »

JGO Kernel
*****

Posts: 5866
Medals: 255


Hand over your head.


« Reply #10 on: 2010-02-18 07: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
Offline h3ckboy

JGO Kernel
*****

Posts: 1645
Medals: 4



« Reply #11 on: 2010-02-18 07: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 Kernel
*****

Posts: 5866
Medals: 255


Hand over your head.


« Reply #12 on: 2010-02-18 08: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
Offline Ranger

Sr. Member
**

Posts: 340
Medals: 1



« Reply #13 on: 2010-02-18 14: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

JGO Kernel
*****

Posts: 1645
Medals: 4



« Reply #14 on: 2010-02-19 05: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

JGO n00b
*

Posts: 19



« Reply #15 on: 2010-02-23 08: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

Sr. Member
**

Posts: 340
Medals: 1



« Reply #16 on: 2010-02-23 15: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

JGO Kernel
*****

Posts: 2134
Medals: 16



« Reply #17 on: 2010-02-23 20:57:43 »

nice game idea and very nice game !

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

Offline Ranger

Sr. Member
**

Posts: 340
Medals: 1



« Reply #18 on: 2010-02-24 04: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

JGO Kernel
*****

Posts: 2134
Medals: 16



« Reply #19 on: 2010-02-24 05: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]
  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.133 seconds with 23 queries.