Problem with walking

Started by Mr Flibble, Fri 27/08/2004 23:33:01

Previous topic - Next topic

Mr Flibble

Firstly I want to apologise. This seems like such a simple problem, but I can't find a solution. It really baffles me. I read here, BFAQ, Google and (of course) the manual.

I have created a room. I set a walkable area that runs right the way around the floor. I make sure the character starts in the middle of the area.

But the problem is, he can't walk. I threw in some interactions, and they were fine, but walk mode isn't working.

I have an extremely simple control system at the minute.
Code: ags

function on_mouse_click(int button) // called when a mouse button is clicked. button is either LEFT or RIGHT
Ã,  {
Ã,  if (IsGamePaused()==1) // Game is paused, so do nothing (ie. don't allow mouse click)
Ã,  Ã,  {
Ã,  Ã,  }
Ã,  else if (button==LEFT) 
Ã,  Ã,  {
Ã,  Ã,  ProcessClick(mouse.x,mouse.y,GetCursorMode());
Ã,  Ã,  }
Ã,  else // right-click, so cycle cursor
Ã,  Ã,  {Ã,  Ã, 
Ã,  Ã,  SetNextCursorMode();
Ã,  Ã,  }
Ã,  }


The default from the empty game, in fact.

I was confused, so I started a new game, but used the template with Roger et al, and it worked perfectly.

Now either I'm, doing something really stupid, or...actually thats the only option.
I made sure I had not confused Walkable Areas with regions or something like that. I changed the colour of the area, just in case, and a whole pile of other things.

So, what can I do? Should I start a new file and hope the fault goes away or something?

Once again I apologise if this is a stupidly easy thing.
Ah! There is no emoticon for what I'm feeling!

TheJBurger

Sounds interesting...

The only thing that I can think of right now is that the walk cursor is the problem. Make sure the Walk Cursor (0) is enabled and that you're using it.

Also you might want to check your character speed and everything.

If you still have the problem press the "~" key to find out what's happening in your script.

Goot

Go to general settings. Make sure 'automatically move character is walk mode' is checked. It probably isn't for some weird reason. Also, maybe you're using a different cursor mode which has somehow ended up with the walk picture. Oh, and make sure that guy is the player character.

Edwin Xie

Quote from: Goot on Sat 28/08/2004 06:44:06
Go to general settings. Make sure 'automatically move character is walk mode' is checked. It probably isn't for some weird reason. Also, maybe you're using a different cursor mode which has somehow ended up with the walk picture. Oh, and make sure that guy is the player character.

Goot, Correction, it was actually:
"DON'T automatically move character in walk mode"

and make sure that is NOT checked.
Moving at superhigh speed getting to the planet called Earth. But it is boxed in white......thing.....

Mr Flibble

#4
Thanks, He is the player character and it is the walk cursor, but I will try the general settings. I'm also going to specifically enable walk mode.
Then run a script to check if its actually on.

EDIT: It was the don't walk in walk mode thing. Thats a stupid option IMO. Well, stupid to be on by default.

Sorry to take up space here, I know CJ pays for these out of his own pocket.
Ah! There is no emoticon for what I'm feeling!

Scummbuddy

Quote from: Mr Flibble on Fri 27/08/2004 23:33:01
I read here, BFAQ, Google and (of course) the manual.
when we say search for your answer, we don't mean google for it, just use the search function of the forums.
;D
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

monkey0506

HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA!!!!!!!!! Uhmuhguh!!!!!!!! Uhmuhguh!!! Ah... Flibble, you're hilarious.

meagain

Also, I just checked the empty game template, and Don't automatically move character in Walk mode is NOT checked by default...

Mr Flibble

Ah! There is no emoticon for what I'm feeling!

SMF spam blocked by CleanTalk