sky_ssr said: I want to make the actor drag and throw only one time in a specific area when the actor leaves the area, the actor wont be able to touch again, Thanks
sky_ssr said: I want to make the actor drag and throw only one time, then the actor will not be able to be touched again
Thats not what im looking for, what im looking for is there is a red line crossing the screen, when i drag the actor across the line, the actor wont go, the actor will go pass that line only when you throw it
sky_ssr said: Thanks for helping but I don't understand abt self.hitredline, (I can't find hit) how to get it do I create a new attribute, if yes what kind
Thanks for replying Eminem but i want my actor to be able to throw only in the left area but when the actor passed the redline, the actor cant be touched
sky_ssr said: Thanks for replying Eminem but i want my actor to be able to throw only in the left area but when the actor passed the redline, the actor cant be touched
Comments
for your question look at this
http://gamesalad.com/game/1774
Thanks
http://gamesalad.com/forums/topic.php?id=13752
Watch the welcome to gamesalad video, the working with attributes one, making actors and other beginer ones.
You need to get an understanding of how the software works
make an integer attribute once released change integer to 1
then it wont be able to be touched released
if i understand your question correctly
and for the draggable code put it in an integer of 0
Here
Thx
Thanks
So make a rule that says
If actor x > than line x
Set Boolean value to 1
Otherwise
Set Boolean value to 0
Then in your throwing code add a rule that checks on that value.
Or better yet just add a rule that checks if the actor x is lower than the line x
This is all assuming your throwing from left to right and the line splits the screen in the middle.
Hope that helps