NOOO! I found a glitch in my game PLEASE HELP!
BramHoddssd
Member Posts: 414
In my game your only way of moving is by using your grapple hook (I used the demo by ORBZ). For each level you have a max number of swings you can take. It's suppose to be when you touch a block, you start grappling from it. Then when you release your finger, the grappling hook disappears, just like ORBZ demo. BUT i have it so when "touch is released" it changes the variable 'swings' to 'swings-1'. That works except when i touch the block then move my finger to the side so it's not touch the block then release it doesn't change the swing variable. I want it to work no matter where I release my touch, not only if it's still touching the block my guy was swinging from! And I can't make it change the variable when I first touch the block for reasons to hard to explain. I hope you can visualize what I just said and help me out.
Comments
You could change your logic so it just says "while touch is released and touch is inside" set swings to SWINGVARIABLE
OTHERWISE
swing is false
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left