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.

Code Snippets / Falling - The Game

Author
Message
Whisper Wind
21
Years of Service
User Offline
Joined: 5th Apr 2003
Location:
Posted: 7th Jan 2004 08:01 Edited at: 7th Jan 2004 08:01
Hi everyone! The code is a small remake of that game where you fall down and dodge the platforms. Includes random platform generation and simple level progression. Has power-up and power-down collectables scattered throughout the level. Anyway, have fun with it and enjoy! You are free to use it all.
Xanatus
21
Years of Service
User Offline
Joined: 15th Mar 2003
Location: Germany
Posted: 7th Jan 2004 10:51
the code is missing something

spooky
21
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 7th Jan 2004 13:40
Not bad! Very similar to 20 line challenge version: http://www.thegamecreators.com/?m=forum_view&t=17828&b=11

@Xanatus - due to bug in forum code you have to do a 'view source' on the code and cut 'n' paste. This is because output is messed up when using the < character immediatley followed by another character. If Whisper Wind put a space after it it would have been ok. Really need Rich to sort this out (very simple in PHP!).

Boo!
Xanatus
21
Years of Service
User Offline
Joined: 15th Mar 2003
Location: Germany
Posted: 7th Jan 2004 16:23 Edited at: 7th Jan 2004 17:46
yeah, its realy simple:

$text = str_replace("<","& lt;",$text);
$text = str_replace(">","& gt;",$text);

or easier use <pre> or <code> or <plain> to disable all html tags.

John H
Retired Moderator
21
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 7th Jan 2004 22:38
Grr AIM Does this as well, I hate those darn > and <

I dont think you can use backslashes ("\") in code either.

RPGamer


We need help! Email us! join@eternaldestinyonline.com
Kain the Second
20
Years of Service
User Offline
Joined: 9th Jan 2004
Location:
Posted: 10th Jan 2004 03:22
bloody cheap! just shows the logo! lol

Login to post a reply

Server time is: 2024-04-28 04:20:15
Your offset time is: 2024-04-28 04:20:15