Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (604)
Games in Android Showcase (171)
games submitted by our members
Games in WIP (654)
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  
  SonicRacer4k  (Read 4596 times)
0 Members and 1 Guest are viewing this topic.
Offline Markus_Persson

JGO Wizard

Medals: 16
Projects: 19

Mojang Specifications

« Posted 2005-01-05 06:01:46 »

4kb java racer! =D

Click to Play

[the following was moved here from the j4k thread in general discussion:]

I'll release the source once it's "done". I'm running desperately low on space though, so I'm not sure how much more I can tweak this, so it might be "done" fairly soon.

The lack of frame decorations is an "intentional bug". It's supposed to go into fullscreen mode, but when it fails you're left with a frameless window stuck in the upper left corner.

I'll try tweaking it into something more gamelike, with better physics and perhaps not lawsuit-prone stolen graphics.

Oh, and it doesn't run at the same speed on all computers.. no space to add timing code. =/

Play Minecraft!
Offline weston
« Reply #1 - Posted 2005-01-05 07:29:49 »

oh my, that is insane Grin

for(int i = 1; i > 0; i++)
     System.out.println(i+" cups of java downed");
Offline jojoh

JGO Knight

Medals: 5
Projects: 7

« Reply #2 - Posted 2005-01-05 07:55:56 »


Worked really well on my machine, no doubt one of the best 4K games ever! Very nice feel in the ctrls. Only thing is that it is a bit too easy to stay on the road. I was going flat out from start to finnish. I would like to see the speed going even faster (insane fast, Yeah!), so that it would be more difficult to get a "perfect run". Guess it could just be that my machine is too slow...

Congrats, really good work!

Spec: Java 1.4, WinXP, 1.8GHz, ATI Mobile Radeon 7500

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline JoC

Junior Devvie

I love YaBB 1G - SP1!

« Reply #3 - Posted 2005-01-05 08:50:57 »

Really nice, worked like a charm on my MacOSX at work.
Offline KONI

Junior Devvie

Java games rock!

« Reply #4 - Posted 2005-01-05 11:17:55 »

no problem here, really great game.
Offline desertrock

Senior Newbie

« Reply #5 - Posted 2005-01-05 11:23:57 »

works great! cool game!

mobile p4 2.4 | geforce 440 go | 512 mb | winxp
Offline jbanes

JGO Coder

Projects: 1

"Java Games? Incredible! Mr. Incredible, that is!"

« Reply #6 - Posted 2005-01-05 12:10:23 »

Great job, Markus! That's both technically impressive and fun to play. In the true tradition of 4K games though (insert evil laugh) how about...

- Can you make Sonic step more in beat with his speed? He seems to be floating.

- Is there a possibility of competing players? If that doesn't work, how about a time limit that you're trying to beat? You can decrease the time limit every lap the player takes.

- And chance of sound? Maybe the fast tapping of feet, and the screeching of tire like shoes?


Java Game Console Project
Last Journal Entry: 12/17/04
Offline princec

« JGO Spiffy Duke »

Medals: 556
Projects: 3
Exp: 16 years

Eh? Who? What? ... Me?

« Reply #7 - Posted 2005-01-05 14:14:13 »

Mental! Could definitely do with sound tho'

Cas Smiley

Offline jojoh

JGO Knight

Medals: 5
Projects: 7

« Reply #8 - Posted 2005-01-05 15:27:12 »

Noticed one small "feature": When the game is loaded, it sits there nicely waiting for the player to press a button. The time displays 0:00. So when you are mentally prepared to have a go at it, you press a key. I noticed that the game "secretively" counted up the whole time without displaying it, so the time goes from 0:00 to 9:28 Shocked (or however long time it takes to get mentally prepared).

I also noticed some similarities to Brackeens games at:

Have you been using his book? If so, did you like it? I have actually ordered it but still waiting for it to make it through the toll customs...

Offline Markus_Persson

JGO Wizard

Medals: 16
Projects: 19

Mojang Specifications

« Reply #9 - Posted 2005-01-05 15:36:34 »

Ooh, thanks for the nice feedback. =)

I'll try adding sound, but I don't know how realistic that is.. Other things I'll fix for sure, though.

Jojoh: Actually, the code is based on my old doom applet.

Play Minecraft!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline bitshit

Junior Devvie

Java games rock!!

« Reply #10 - Posted 2005-01-08 15:03:23 »

Ow yeah! I just love those raycasted games! They remind me of the old days when games where still fun and the only deadline I had was getting my homework done Wink

....too bad multiplayer ain't a option in 4K  Tongue

PS: Johjo, Brackeen's book doesn't cover raycasting topics. You can find a nice raycasting tutorial over here:
Offline jojoh

JGO Knight

Medals: 5
Projects: 7

« Reply #11 - Posted 2005-01-10 14:16:38 »

bitshit: Thanks for the link. Hadn't seen that before. Quite good theory.
Doom applet framerate was quite impressive. >90 fps. There is plenty of CPU cycles left for bots there Markus, and maybe to make window a bit larger?

SonicRacer is also soo smooth that it would be interesting to see if a 800*600 version wouldn't have good enough framerate as well.

I was going to get the Brackeen's book for H/W acc of, so I hope I get use for it anyway, if I don't get any other ideas instead. 4k could be stealing my attention...

Offline pin_kushn

Senior Newbie

Java games rock!

« Reply #12 - Posted 2005-01-11 15:32:53 »

This java game newbie loved what you achieved with 4k.  Can't wait to see the source!
Offline Markus_Persson

JGO Wizard

Medals: 16
Projects: 19

Mojang Specifications

« Reply #13 - Posted 2005-01-12 10:06:43 »

I ran out of free time, so I haven't been able to improve Sonic Racer 4k yet. =/

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

SHC (37 views)
2015-08-01 03:58:20

Jesse (24 views)
2015-07-29 04:35:27

Riven (44 views)
2015-07-27 16:38:00

Riven (24 views)
2015-07-27 15:35:20

Riven (27 views)
2015-07-27 12:26:13

Riven (18 views)
2015-07-27 12:23:39

BurntPizza (39 views)
2015-07-25 00:14:37

BurntPizza (48 views)
2015-07-24 22:06:39

BurntPizza (33 views)
2015-07-24 06:06:53

NoxInc (40 views)
2015-07-22 22:16:53
List of Learning Resources
by gouessej
2015-07-09 11:29:36

How Do I Expand My Game?
by bashfrog
2015-06-14 11:34:43

List of Learning Resources
by PocketCrafter7
2015-05-31 05:37:30

Intersection Methods
by Roquen
2015-05-29 08:19:33

List of Learning Resources
by SilverTiger
2015-05-05 10:20:32

How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21 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‑
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!