The Daily Click ::. Forums ::. Klik Coding Help ::. I wanna make a manual path movement... but how??? (tgf)
 

Post Reply  Post Oekaki 
 

Posted By Message

Joshua M.



Registered
  01/06/2004
Points
  1999
25th September, 2004 at 07:47:19 -

Hi,

I'm creating a level editor for no reason, but I somehow really want to put in path nodes. Now, I use mouseclicks to put nodes there, and spread a value of the current amount of those. But the active object then it walks the wrong way, reversed. How can I fix this?

 

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
25th September, 2004 at 09:26:21 -

Multiply the value by -1 and add the number of nodes to the value (assuming you spread a value of 0)

 
n/a

Noyb



Registered
  31/05/2004
Points
  1117

VIP Member
25th September, 2004 at 19:43:00 -

Wrong topic. Sorry.

Image Edited by the Author.

 
"Omg. Where did they get the idea to not use army guys? Are they taking drugs?" --Tim Schafer on originality in videogames

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
26th September, 2004 at 07:05:54 -

What's wrong with it? I demand an explanation!

 
n/a

Joshua M.



Registered
  01/06/2004
Points
  1999
26th September, 2004 at 14:43:38 -

Huh? I don't get it...

Ermm.. So I first do
[on press space]
spread value 0
add value("Counter 1") to Value A

[always]
set value Counter 1 = Amount of nodes * -1

Pressing space makes the puppet walk. But it still walks the wrong direction...

 

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
26th September, 2004 at 15:24:57 -

No, set the spreaded value to Value A * -1, not the counter.

 
n/a

Jack Galilee



Registered
  02/12/2002
Points
  990

VIP Member
27th September, 2004 at 08:59:51 -

Always trust the monkey

 
The only thing better than winning gold in the paralympics is not being retarted

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
28th September, 2004 at 22:28:14 -

He's a fake, why do you think he's got that fox avatar?

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
29th September, 2004 at 14:20:09 -

Because I have STOCKS in foxes?

 
n/a
   

Post Reply



 



Advertisement

Worth A Click