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.

2D All the way! / I Need Help with Puzzle Game

Author
Message
iron programmer
15
Years of Service
User Offline
Joined: 10th May 2008
Location: payying taxz to mi keety? (paying taxes)
Posted: 27th May 2008 18:32 Edited at: 2nd Jun 2008 17:42
@IanM
Please don't lock this.

@The Rest of the Forum
I'm trying to create a puzzle game where when the character moves the enemy moves in the opposite direction. There are trees which the goblin cannot pass through. The goal is to get the goblin trapped in against a tree so the player can come up behind it press the spacekey to swing his sword to destroy it.

Here is the code I've got:



Whenever the player presses a directional button (arrow key) the enemy and the character disappear.

What's wrong with it?

mi keety tot mi gramer?
iron programmer
15
Years of Service
User Offline
Joined: 10th May 2008
Location: payying taxz to mi keety? (paying taxes)
Posted: 27th May 2008 18:54
Dude, thanks. This is the SECOND time you've helped me.
TDK
Retired Moderator
21
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 28th May 2008 10:34
You are supposed to use the 'Code' button to put code into a code box - not the italics button!

You can use the Edit button to edit your post.

TDK_Man

Login to post a reply

Server time is: 2024-05-04 07:14:45
Your offset time is: 2024-05-04 07:14:45