The Daily Click ::. Forums ::. Klik Coding Help ::. Spread Value Annoyance
 

Post Reply  Post Oekaki 
 

Posted By Message

MBK



Registered
  07/06/2007
Points
  1578

VIP Member
19th June, 2009 at 02:31:52 -

How can I keep it from switching the spread values around each time I add a new instance to TGF's level editor?
When it changes values on me like that (backwards from how it should work), the position of the walls get messed up each time I add a new one.
Then I have to go back and re-position all of them. This will truly be a royal pain in the arse when it comes time to start making levels.


 
Click Me! http://www.create-games.com/project.asp?view=main&id=1444

http://www.mediafire.com/download.php?aoo1dnnlq5i

Blood of the Ancient One, Seen only as Shadow, Faster than Lightning, Fierce as the Greatest Dragon, Nearly Invisible, Floating in a Dream, Entered through the Demon Door, Destroyer of Evil in a Realm with a Red Sky Scarred, Who could I be ?

Pixelthief

Dedicated klik scientist

Registered
  02/01/2002
Points
  3419

Game of the Week WinnerWeekly Picture Me This Winner!You've Been Circy'd!VIP MemberI like Aliens!Evil klikerThe SpinsterI donated an open source project
19th June, 2009 at 03:09:46 -

condition: whatever
action: spread "1" in value A of object "wall"
action: set value A of object "wall" to (number of object "wall" - value A of object "wall")

 
Gridquest V2.00 is out!!
http://www.create-games.com/download.asp?id=7456

MBK



Registered
  07/06/2007
Points
  1578

VIP Member
19th June, 2009 at 05:30:30 -

Should it be in the same event or in a different event?
I've entered it in just like you said, but it still messes up when I add another instance of the wall to the Games Factorys level editor.

Does referring to more than one alterable value in an object affect its ability to use that little trick?
The reason I ask is because I'm also using an alterable value B to deal with the walls visual layering.

... Is there any chance that you could look at the source? .. it's on my project page.


Edited by MBK

 
Click Me! http://www.create-games.com/project.asp?view=main&id=1444

http://www.mediafire.com/download.php?aoo1dnnlq5i

Blood of the Ancient One, Seen only as Shadow, Faster than Lightning, Fierce as the Greatest Dragon, Nearly Invisible, Floating in a Dream, Entered through the Demon Door, Destroyer of Evil in a Realm with a Red Sky Scarred, Who could I be ?
   

Post Reply



 



Advertisement

Worth A Click