Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => Topic started by: Spellshaper on December 03, 2005, 02:01:00 am

Title: BM Battle System
Post by: Spellshaper on December 03, 2005, 02:01:00 am
--------------------------------------
The following is the copy of a post from me... I just decided to make an extra battle system thread because I
Title: BM Battle System
Post by: DJ Omnimaga on December 03, 2005, 04:17:00 am
wow sound interesting I neve rthough of doin that, this will make the battles even more challenging and fun :)smile.gif
Title: BM Battle System
Post by: Spellshaper on December 03, 2005, 04:27:00 am
QuoteBegin-xlibman+3 December 2005, 16:17-->
QUOTE (xlibman @ 3 December 2005, 16:17)
wow sound interesting I neve rthough of doin that, this will make the battles even more challenging and fun :)smile.gif
...and more complicated to program...
Title: BM Battle System
Post by: DJ Omnimaga on December 03, 2005, 04:43:00 am
that too :/
Title: BM Battle System
Post by: dragon__lance on December 03, 2005, 06:01:00 am
how will the layout of the Battle system work, like enemies on right, char on left. plus, will there be multiple chars u can fight with, or just one. And, wat size graphics do u plan?
btw,sounds good :thumb:google.gif
Title: BM Battle System
Post by: Spellshaper on December 03, 2005, 06:09:00 am
what I currently intend:

the battle starts with u on the right, enemies on the left, but randomly placed...
u will always act solitary, and you and the enemies can change position during battle... I
Title: BM Battle System
Post by: DJ Omnimaga on December 03, 2005, 06:11:00 am
cool! moving enemies :)smile.gif
Title: BM Battle System
Post by: Spellshaper on December 03, 2005, 06:15:00 am
well... what features will make it into BM will heavily depend on how fast it
Title: BM Battle System
Post by: dragon__lance on December 03, 2005, 08:31:00 am
sound good :)smile.gif
Title: BM Battle System
Post by: BCTurk on December 04, 2005, 03:28:00 pm
Very cool idea.  If you move, I assume the bar will lose some ground, so to speak.
Title: BM Battle System
Post by: Spellshaper on December 05, 2005, 12:05:00 am
QuoteBegin-BCTurk+5 December 2005, 3:28-->
QUOTE (BCTurk @ 5 December 2005, 3:28)
Very cool idea.  If you move, I assume the bar will lose some ground, so to speak.  

 now thatz somethin... :Dbiggrin.gif
hm, but that
Title: BM Battle System
Post by: DJ Omnimaga on December 05, 2005, 02:02:00 am
sound nice, kinda like FFT
Title: BM Battle System
Post by: BCTurk on December 05, 2005, 03:46:00 pm
That would work too, and maybe the farther they move, the less damage the attack does (less energy?)
Title: BM Battle System
Post by: Spellshaper on December 06, 2005, 02:48:00 am
good idea :)smile.gif
Title: BM Battle System
Post by: DJ Omnimaga on December 06, 2005, 03:08:00 am
indeed. As your level increase i guess you would be able to move further right?
Title: BM Battle System
Post by: Spellshaper on December 06, 2005, 03:20:00 am
hm... I guess not :Dbiggrin.gif
that would depend on how many points you spend on the speed attribute... :)smile.gif
Title: BM Battle System
Post by: dragon__lance on December 06, 2005, 01:02:00 pm
that sounds awesome :Dbiggrin.gif great work Spellshaper  :thumb:google.gif
Title: BM Battle System
Post by: Spellshaper on December 07, 2005, 04:11:00 am
QuoteBegin-dragon__lance+7 December 2005, 1:02-->
QUOTE (dragon__lance @ 7 December 2005, 1:02)
that sounds awesome :Dbiggrin.gif great work Spellshaper  :thumb:google.gif

 that
Title: BM Battle System
Post by: dragon__lance on December 07, 2005, 09:53:00 am
do u have a system allowed for combos so far? they always make the game more intresting
Title: BM Battle System
Post by: Spellshaper on December 07, 2005, 10:18:00 am
do u mean combos as enhanced attacks or combinations of different attacks?
Title: BM Battle System
Post by: dragon__lance on December 07, 2005, 10:28:00 am
i don't really care, both i guess. for instance, well nevermind, cause i guess u can't really have chain attacks in a rpg, but if it was an action game like Kingdom Hearts, u can have hit combos, the higher the combo, the more dmg u do. but in rpgs, i guess wat i mean is like casting fire, then do a slash, then it becomes fireslash :)smile.gif
Title: BM Battle System
Post by: Spellshaper on December 07, 2005, 10:41:00 am
hm... implementable, but would consume a lot of mem and processing time :Dbiggrin.gif
so I guess I won
Title: BM Battle System
Post by: katmaster on December 09, 2005, 07:22:00 pm
Hmmm, this looks pretty cool. In xLIB, right?
Title: BM Battle System
Post by: Spellshaper on December 10, 2005, 01:23:00 am
yep, I use xLib...

oh got a problem: my mother forbids me to use the comp... dunno how long that problem will "slow" me down, cause I
Title: BM Battle System
Post by: DJ Omnimaga on December 10, 2005, 02:47:00 am
ouch that sucks, sometimes parents can be stupid, I remember not being allowed to use my calc for weeks XP
Title: BM Battle System
Post by: Spellshaper on December 22, 2005, 08:07:00 am
Something I
Title: BM Battle System
Post by: DJ Omnimaga on December 22, 2005, 02:04:00 pm
I would suggest 16x16 unless you planned to have battles side scrolling like Illusiat series (I mean you see the floor at bottom and the char on it instead of viewing all of this in bird view)
Title: BM Battle System
Post by: Spellshaper on December 23, 2005, 02:52:00 am
uh... I don
Title: BM Battle System
Post by: Spellshaper on January 05, 2006, 06:26:00 am
Settled for 16*16 sprites...

I got a question:

Is there a way to extract the position of a number from a matrix other than
c1-->
CODE
ec1
:{0,->L1
:For(A,1,Y-dim
:For(B,1,X-dim
:If [A](A,B)=3
:{A,B->L1
:End
:End
c2
ec2
, assuming that this number exists only once inside of the matrix...

cause that
Title: BM Battle System
Post by: dragon__lance on January 06, 2006, 02:09:00 pm
y would u need to extract a number from a matrix?
Title: BM Battle System
Post by: BCTurk on January 06, 2006, 04:32:00 pm
Collision detection I assume.
Title: BM Battle System
Post by: Spellshaper on January 07, 2006, 01:34:00 am
exactly! :)smile.gif

so... anyone knows?
Title: BM Battle System
Post by: dragon__lance on January 07, 2006, 12:15:00 pm
still, y would u need collusion detection in battle system? unless the character moves, then just assign the char (x,y) variables like in walking engine?
on a side note: one solution would be to also make a string version of the matrix, then use the command instring(.
Title: BM Battle System
Post by: tenniskid493 on January 07, 2006, 12:28:00 pm
He has multiple characters moving around the screen in his battle engine and I'm assuming he's using this so they don't run into eachother.  I don't really have any ideas.
Title: BM Battle System
Post by: Spellshaper on January 08, 2006, 12:06:00 am
QuoteBegin-tenniskid493+8 January 2006, 0:28-->
QUOTE (tenniskid493 @ 8 January 2006, 0:28)
He has multiple characters moving around the screen in his battle engine and I'm assuming he's using this so they don't run into eachother.  

 That
Title: BM Battle System
Post by: dragon__lance on January 08, 2006, 07:24:00 am
ok, now i understand, here's one method u can use to get location of certain stuff. When u create the matrix used for battle, also create a string version of that matrix. For instance:
[[1,1,1,1]]
[[1,0,0,1]]
[[1,0,0,1]]
[[1,1,1,1]]
a string version could be "1111"+"1001"+"1001"+"1111"
if a number is over nine, just use a letter to represent it. Now when u want to find specific location of a certain number, just use instring(str1,"(object)",1. This will give the location in string of the object ur looking for. Now just convert that number into (x,y) coordinates of matrix. hope i helped ;)wink.gif
Title: BM Battle System
Post by: Spellshaper on January 08, 2006, 08:54:00 am
Yay, thx dragon__lance!


*startsexperimenting*