Controlling animation; start and stop character.
Blitz3D Forums/Blitz3D Beginners Area/Controlling animation; start and stop character.
| ||
Hi, I can make the legs move but I seem to have to set continuous animation loop, or stop animation exclusively. Milkshape animated entity. I tried the animate command with a movement key link but it only stops and does not start. How is movement animation started and stopped on command? Any input? Gerald |
| ||
- http://www.blitzbasic.com/Community/posts.php?topic=100268#1182709 - http://www.blitzbasic.com/Community/posts.php?topic=94440#1084358 |
| ||
Nice tutorial, Kryzon! :) |
| ||
Hi, I'm an if/then beginner but I'll try to desipher this. It is not in the book at all. Thanks, Gerald |
| ||
Updated the tutorial a bit to HOPEFULLY make it easier for you. I used to be the same as you, but I have learned ALOT from the Blitz veterans. Here's the tutorial. Read the comments that begin with ";" & hopefully you'll understand much easier! Good luck with your training & I hope this helps! Kirby_Animation_Tutorial.bb: Sincerely, ~GF |
| ||
Hi, I got a simple switch to work. Load 2 main characters (guns) have one animated 1,30,0,0 and the second not animated 0,20,0,0. Then in the movement code (if keydown(up_key) then hideentity/showentity). This works, the moving entity shows when moving and the nonmoving entity shows when not moving. Just needed to set show/hide for the characters. thanks Gerald |
| ||
Good job, @gerald! :) |