Game Development Community

Frozen Particles and Players

by Cinder Games · 06/04/2006 (12:16 pm) · 12 comments

Well i've been doing more work on my battle system. setting it up for overlapping character/enemy turns similiar to how things are done in the grandia series.

the battle is in semi-real time, with pausing in time for characters commands. everything except the active character freezes in place while characters are making their decisions. so when the command is made it appears as though it was an instant decision making process.

Oh, of course the camera is exempt from freezing.. so it's free to move around as needed.

This allows you to make better desicions. You're able to see enemies on an attack approach to you or your buddies. in a later step i'll make it where you can cancel attacks of enemies.


I've got particles and shapebases under my time freezing control :) I may work on other objects, but anything that's derived from gamebase should be able to be frozen just as easily.


4 frozen fireball engulfed enemies
img167.imageshack.us/img167/7618/screenshot024000026ev.jpg

Seriously.. That HAS to hurt
img194.imageshack.us/img194/6748/screenshot020000013ls.jpg

Fire Bad! Fire BAD!
img403.imageshack.us/img403/4180/screenshot023000055st.jpg

Now it seems i have combo magics :)
img403.imageshack.us/img403/220/screenshot023000032lz.jpg


As i stated, all characters pause in ther tracks... even if they are in the air :)



I use ALOT of schedules for this system so i had to write sorta a schedule wrapper to keep track of all active scheduels and stop them and restart them when i do my ActionPauses.

when restarting them, it will of course start back with whatever time remaining it had when it was stopped.


Anyhow that's enough for now. Any questions?

#1
06/04/2006 (12:43 pm)
This looks very cool. Will you be releasing this when you're done?
#2
06/04/2006 (12:44 pm)
Releasing... code? or a game?
#3
06/04/2006 (12:46 pm)
I really like those fire particles.
#4
06/04/2006 (12:50 pm)
img436.imageshack.us/img436/5636/fire14ms.pngYeah, i use three custom drawn fire particles that look crappy like this. It looks pretty decent with some smoke.
#5
06/04/2006 (4:36 pm)
Cool, and exactly what I'm doing in my game too! (freezing, that is). I love the way frozen smoke looks..
#6
06/04/2006 (5:44 pm)
Outstanding, very nice job.
#7
06/04/2006 (6:18 pm)
here's another cool shot
img172.imageshack.us/img172/3999/moreffects2th.jpg
#8
06/04/2006 (6:42 pm)
You know showing _screenshots_ to exemplify scene freezing is rather futile ;P
#9
06/04/2006 (6:43 pm)
:P yeah, it's kinda pointless huh? I got movies too, anyone wanna see em?

Contact me on AIM, Ramen Sama
or Yahoo Ramensama@yahoo.com
#10
06/10/2006 (2:45 am)
Mr. Ramen

How did you get to script 99 hit combos? do you have 99 different animation and executed them one after another? by button combination? did you use setActionTHread? How is this could be done?


Thanks,
#11
06/10/2006 (1:08 pm)
It's just simply a timer. if the monster is hit more then once in a 2 second window, it becomes a combo and the timer resets.
#12
06/16/2006 (12:32 pm)
nice! you got the grandia 2 style battle system going there eh? any chance of making this a resource someday?