Dude using Behavior Velocity
seir
Member Posts: 8
HI ALL.
I am newbie but with the help of tutorial and your comments I could understand (a few) about the GS work and is very interesting.
Now, How I can know the position of Actor.X when I use Behavior Velocity over it?
I used the debugger for watch the Actor.X value, but this data no change and I need know this valor for controller other variables.
also I think capture this data with a new var: Game.Virtual_X (text) the Actor.X, but only capture in a first instance the actor pos X, no the next update.
Thank for you help!
Comments
The Log Debugger is great if you are trying to capture a moment in time ("what is the position of this actor right NOW?"). But to watch a changing value, you need to use a DisplayText behavior. Similarly, Change Attribute changes something ONCE. Constrain Attribute will continually change one attribute to the value of another.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Thank you tatiang,
All Right... I erase all this block, and rewrite step to step the code, and OK.
I used Constrain Attribute Behavior, for capture Actor.x using a var game.posx, and aften send this data to display Text Behavior.
Is probable that I used a Behavior in a bat position... and the other is that when selected the Display Text Color no changed the color. If you text color and background color is for default white ... is a few ... jejeje... well. newbie XD
Now, I read about use of tables and I see only two or three command, humm do you know if exist a list of command and description for work with table , for example I watch about tablesearch(...) command, but I can't find help about the use of parameters. The same with text use : "\n", concat, etc.
If you can help me newly, I thank you so much!
The answer is that table information is in various places. There are good tutorial videos if you Google tables gamesalad and the newer features such as tablesearch() are explained in this video and its thread:
http://forums.gamesalad.com/discussion/comment/452312/#Comment_452312
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User