Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

The 20 Line Challenge / [DBPro] 2D Parallax Starfield

Author
Message
Richard Davey
Retired Moderator
21
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 1st Oct 2002 04:36
Welcome to the first 20 liner from the Darkforge!

Here we've got a classic demo effect from the yesteryear. I re-created this in DBV1.04 over 2 years ago and here we go again only this time in 16 lines, using types, much smoother and Pro handles twice the number of stars without breaking sweat. That's progress for you!



If anyone needs the code explained just shout!

Cheers,

Rich
"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
Rpg Cyco
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Australia
Posted: 1st Oct 2002 07:30
Hey,

I executed that code, but before I did, I added some code to show the FPS, and to my suprise, it ran at 59FPS, on my lump of onboard junk! Super cool ;D

l8ter

Rpg Cyco

http://www.rpgcyco.com - My Website & Forums
Specs: PIII - 866MHz, 128MB SDRAM, 8MB SiS 630, 17inch monitor, 18.6GB HDD 5400rpm, Win ME, DX8.1b, 56k Modem
Richard Davey
Retired Moderator
21
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 1st Oct 2002 13:11
If anyone cares I can do a version using memblocks instead of the "dot" command which will allow around 60x more stars than the version posted here.

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
Ignorator
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Germany
Posted: 4th Oct 2002 05:53
I do care.


Greetings,
the Ignorator
vivi
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 19th Dec 2002 16:41
Sweet..........nice

WHY WAIT FOR GAMES.......MAKE THEM COME TO YOU
>>>>>>>>>>>www.shark-software.20m.com<<<<<<<<<<<
n3t3r453r
21
Years of Service
User Offline
Joined: 8th Nov 2002
Location: Russia
Posted: 27th Dec 2002 14:25
Nice... But I fill that I've already seen such code in first version of Dark Basic.

Login to post a reply

Server time is: 2024-03-28 16:45:08
Your offset time is: 2024-03-28 16:45:08