Pardon the mess, Play My Code is in beta!
READY TO PLAY?CLICK TO LOG IN!
sign up - lost password
Forked from pacWord by lgshort
Please use one of these instead
Our games cannot run in your browser
YOU MUST BE SIGNED IN AT WWW.PLAYMYCODE.COM TO FAVOURITE THIS GAME.
JOIN PLAY MY CODE: CREATE, PLAY AND SHARE GAMES ONLINE NOW!
created: Fri Apr 6, 22:33
1 month ago
Tue Apr 10, 22:56
They serve as reminders about things, or you can temporarily comment out things which are not working or you don't currently need. You write special syntax at the beginning of the line, it is then ignored as though it wasn't there.
Writing // at the beginning of a line turns it into a comment. So, if you change the first line of this to:
//ghostcartoon.png (or, just delete this line)
The code will then work, as this is the line which is causing a problem.
There is a second way of writing comments also- write /* and */ at the beginning and end of some code. This is an easy way of commenting out a large amount of code, without having to do it line by line as you would if you used the method above.
/*in a game's code, this
entire block of text will be
ignored by the compiler, due to the
symbols I've left at the beginning and end*/
Sometimes we put code into games which are for diagnostic/testing purposes only, and you can use block comments to "turn off" this code when you release your game- so, it's disabled but you've still got it there if you need it in future.
Mon Apr 9, 11:12
comment what? i dont get it..
Sun Apr 8, 18:46
if you comment out the first line, the game works.
Sun Apr 8, 18:37
Fri Apr 6, 23:12
Enter new game's details:
Feel free to provide information on why the game should be reported, this will help us when looking at the game.
please explain why?
We will look into this, and anything inappropriate will be taken down.
© Studio Fortress 2011
By joining you are agreeing to our terms of service
Your account has been created, but you need to validate it before you can log in.
An email containing a validation link has been sent to your email address. Click the link to validate your account and log in. Please make sure to check your spam folder if it has not arrived.
PLEASE NOTE: a password reset link will be sent to the email address associated with your account. If it does not arrive, then please check your spam folder.
This link will be active for up to 24 hours.