Friday, March 19, 2010
Tuesday, March 16, 2010
Update
I got the state machine in working order! Switch..cases are history! It'll be alot easier to organize everything now.
Well actually, I completed the FSMs about a week ago. Had other personal stuff to get out of the way before a hearty blog write-up.
With player handling out of the way, I've begun character design. I've never been good at art, but I do love drawing, hence I'll probably end up doing all the art me self (artists hugely welcomed tho). Here's what I've got so far:
(expects harsh criticism) ..anyway, I reckon I can animate him effectively..will have to wait and see.
Well actually, I completed the FSMs about a week ago. Had other personal stuff to get out of the way before a hearty blog write-up.
With player handling out of the way, I've begun character design. I've never been good at art, but I do love drawing, hence I'll probably end up doing all the art me self (artists hugely welcomed tho). Here's what I've got so far:
![]() | ![]() |
(expects harsh criticism) ..anyway, I reckon I can animate him effectively..will have to wait and see.
Friday, March 5, 2010
Finite State Machines
So..in order to get any sort of AI down, I'm going to need FSMs. This made me think about the spaghetti code I'd already constructed for the player.
Hence, I shall rewrite the player code so everything stems from FSMs. Could take awhile.
Hence, I shall rewrite the player code so everything stems from FSMs. Could take awhile.
Wednesday, March 3, 2010
Enemies, no hard-coding
I've been losing a bit of motivation because of a lack of art, but I've done alot of thinking about which area I should move on to next, and have decided on enemy AI.
My plan is to load data for every enemy on the screen using XML. Sprite file name, locations, actions, whatever I can think of. Their paths will be determined by possibly a small text/XML file with all their locations at different times.
I'll try implementing all this, and see how it turns out.
My plan is to load data for every enemy on the screen using XML. Sprite file name, locations, actions, whatever I can think of. Their paths will be determined by possibly a small text/XML file with all their locations at different times.
I'll try implementing all this, and see how it turns out.
Subscribe to:
Posts (Atom)

