PT
Developer Forums
Register
Login
Code Snippets
->
Falling - The Game
<
1
>
W
Whisper Wind
Joined:
5th Apr 2003
Location:
Posted:
7th Jan 2004 8: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.
X
Xanatus
Joined:
15th Mar 2003
Location:
Germany
Posted:
7th Jan 2004 10:51
the code is missing something
S
spooky
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!).
X
Xanatus
Joined:
15th Mar 2003
Location:
Germany
Posted:
7th Jan 2004 16:23
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.
J
John H
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
K
Kain the Second
Joined:
9th Jan 2004
Location:
Posted:
10th Jan 2004 3:22
bloody cheap! just shows the logo! lol