Game Development Community

New PSK Tutorial

by Phillip O'Shea · in TGB Platformer Kit · 10/03/2008 (3:02 pm) · 8 replies

There has been a few questions on how to add new states to the animation behavior. I have added a quick tutorial over on the PSK TDN page showing how you go about adding a "shoot" state to the actor.

I will try to find time to add to is, as I don't explain the inner workings of the states themselves, but I hope that it is pretty simple to understand.

Thanks guys!

About the author

Head of Violent Tulip, a small independent software development company working in Wollongong, Australia. Go to http://www.violent-tulip.com/ to see our latest offerings.


#1
10/04/2008 (7:14 am)
Thanks, I appreciate it greatly.
#2
10/04/2008 (1:50 pm)
Nice Phil! Good job!
#3
10/04/2008 (3:01 pm)
Hey, thanks! I was wondering how to do this without using the 'action' state.
#4
10/04/2008 (3:38 pm)
Thanks a bunch Phil!
#5
10/06/2008 (2:20 am)
Thank you Phil !
#6
10/29/2008 (9:41 am)
Thank you it has been most useful.
#7
05/25/2009 (7:05 am)
Would it be possible to have actors running 2 parallel state machines? One state machine for the actor's movement (run, jump, slide, etc); and one state machine for the actor's action (melee, shoot, push, etc). Depending how many actions the actor has, it might not be entirely worth it, but it might make for simpler and fewer states. ...Just a thought.
#8
07/14/2009 (8:43 pm)
The shoot and jump shoot tutorial is not complete. The last part doesnt say where to add the code for the keybind and I have no idea what the key is defaulted to. I've tried every key on my keyboard and it doesnt work.