ID:172368
 
Does anyone know of a demo which shows how to create a magic system, or battle system that includes magic?

Thank You very much
You need to specify more than that... do you have an existing battle system? Is it turn-based or real time? How do you want spells to work, exactly? Are they basically missiles, or do they "magically" affect the target without having to be shot through the air? Can they be dodged, blocked, or avoided in anyway? Are there different types of spells? What useful categories can you break them into? (Target on self, or target on enemy; damage, heal, or poison; etc.)

And that's just for starters. Magic is complicated, even virtual magic. =P

I did a search of the hub for demos on the subject, but they're all crap. And they're all basically modified projectile demos, too. So if you specify exactly what you want here, maybe someone will be kind enough to help you on your way with it. =)
In response to Crispy
i am sorry, i wasn't thinking. i've been trying to make a magic system for a while and i failed. im just a tad bit fusterated.

I am loking for a Magic system for a turn based video game. i have a battle system, but it couldn't hurt to glance at anothers code.

thank you and sorry
In response to Redslash
More details, please? I was editing my post while you were responding, so you might have missed some of the things I said. Read it over again and answer each of the questions and any other useful ones you can think of - you'll get better help that way. =)
In response to Crispy
I would like a Magic system that works like every turn based rpg, such as dragon warriors or final fantasy. i can't get an more specific than that.
In response to Redslash
Not every turn-based RPG has the same magic system, you know. Far from it. =) And you CAN get a lot more specific than that. Try taking every single question I wrote and take at least two sentences to answer it.

From your reference to Final Fantasy, I can imagine some of what you mean, but others may not have the same luxury.

Is this something like what you meant?

1. It's a player's turn. They can choose to do a few things, one of which is cast a spell.

2. If they choose to cast a spell, let them choose from a list which spell they want to cast. This may include things like "Fireball" (does fire damage to a target), "Heal" (heals a target), and so on.

3. They then get to pick a target. This could be themselves, an ally, or an enemy, but it must be within the designated range of the spell.

4. The spell is cast, with appropriate effects and eye candy.

How much of that is what you want? And don't just say "yes, that's perfect", because it isn't. You need to have SOME originality in your magic. =P
In response to Crispy
http://developer.byond.com/hub/Ghaleon/RandomCombatWithPvP


i belive this is what you want.

~Godz~
In response to Godz
thats a great demo, but they don't have magic... oh well