Java-Gaming.org Hi !
Featured games (81)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (119)
games submitted by our members
Games in WIP (576)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Battle engine, I can't decide.  (Read 3266 times)
0 Members and 1 Guest are viewing this topic.
Offline SkyAphid
« Posted 2012-02-26 23:05:50 »

I'm torn on how to program this battle engine, because it's going to have to be fun enough to keep people playing seeing as most of my game will revolve around dungeon exploring and combat.

The dungeon exploring is generated and what-not in a similar way to Kevin Glass' dungeon generator.

When the player collides with an enemy object, he will be thrown into the battle state. Where the action takes place.

So, throw some ideas out. Right now I'm between real-time turn-based (like FFVII) or real-time action combat (Like KH, TWEWY)

“Life is pretty simple: You do some stuff. Most fails. Some works. You do more of what works. If it works big, others quickly copy it. Then you do something else. The trick is the doing something else.” ~Leonardo da Vinci
Offline Mads

JGO Ninja


Medals: 26
Projects: 3
Exp: 6 years


One for all!


« Reply #1 - Posted 2012-02-26 23:14:02 »

I think turn-based combat allows for more strategic gameplay, if you do it right.
You can have things as accuracy and fatigue, to help it.

Offline sproingie

JGO Kernel


Medals: 202



« Reply #2 - Posted 2012-02-27 00:50:57 »

I like pausable real time, the way BioWare RPGs do it.  Those actually use turns under the surface, just at single-second granularity
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline JESTERRRRRR
« Reply #3 - Posted 2012-02-27 02:38:21 »

If done right real time can be so addictive, but also become really repetitive. Unless this is avoided I prefer turn based, ff7 being my favourite.
Offline SkyAphid
« Reply #4 - Posted 2012-02-27 03:12:59 »

I'd like some original ideas thrown in too, because I want this to appeal to casual players too.

“Life is pretty simple: You do some stuff. Most fails. Some works. You do more of what works. If it works big, others quickly copy it. Then you do something else. The trick is the doing something else.” ~Leonardo da Vinci
Online Cero
« Reply #5 - Posted 2012-02-27 03:16:09 »

have a look at Star Ocean 2 and 3

you encounter enemies like Final Fantasy (not completely random, you see them, like FF13)
in battle mode its very dynamic and with running around

its great

Offline SkyAphid
« Reply #6 - Posted 2012-02-27 04:09:41 »

have a look at Star Ocean 2 and 3

you encounter enemies like Final Fantasy (not completely random, you see them, like FF13)
in battle mode its very dynamic and with running around

its great

It reminds me of the Persona 2's.
Hmm.
That's a brilliant idea!

“Life is pretty simple: You do some stuff. Most fails. Some works. You do more of what works. If it works big, others quickly copy it. Then you do something else. The trick is the doing something else.” ~Leonardo da Vinci
Offline Geemili

Senior Duke


Medals: 9
Projects: 1
Exp: 2 years


No Games Finished


« Reply #7 - Posted 2012-02-27 13:39:52 »

Also, one thing you could try is making really weak enemies be killed without you having to fight it. I have no idea how well that will work, but it would be a very nice thing to see.
Online theagentd
« Reply #8 - Posted 2012-02-27 15:11:21 »

Also, one thing you could try is making really weak enemies be killed without you having to fight it. I have no idea how well that will work, but it would be a very nice thing to see.
What, like this?
"A wild xxxxx appears!"
"It instantly explodes because of your intense stare."

Myomyomyo.
Offline Fokusas
« Reply #9 - Posted 2012-02-27 18:41:22 »

I think that way is reserved for Chuck Norris  Grin  Grin  Grin
Don't try to copy him or you will explode
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline UprightPath
« Reply #10 - Posted 2012-02-27 19:35:23 »

Hmmm, the 'Auto-battle' is sort of like in Earth Bound, where weak enemies run away, and are automatically defeated if you enter battle with them (Tends to be more of a level VS level thing).

Persona 2's movement was more of just a... Graphical effect than anything else. There wasn't an AoE system to it. The movement just happened so that it wasn't like many of the RPGs at the time, where you faced your enemies across the field and attacked, returning to where you were. I mean it was cool, but it was essentially just graphic element than a gameplay element.

Offline SkyAphid
« Reply #11 - Posted 2012-02-27 23:47:10 »

I love your ideas, thank you so much! I will start tonight on the graphics I will need (A lot of it is already done) and do the actual programming tomorrow perhaps. Depends on how tired I am after Track practice.

Here's how it's gonna work so far:

Player on left, enemies on right. Fight starts, and everyone's time gauges starts filling, and when it fills, you can select what you want to do. If it's an attack, he will run across the field to the enemy he's attacking, and they can do the same. However, they can't do anything unless their time gauge is full which is reset after commands are inputted.

If you collide with an enemy, in which generally engages a battle, and their level is laughable compared to yours, it will simply destroy them and throw some kind of generic message like, "You kick so much ass, they disintegrated in your presence."

Lol, any battle mechanic ideas?

“Life is pretty simple: You do some stuff. Most fails. Some works. You do more of what works. If it works big, others quickly copy it. Then you do something else. The trick is the doing something else.” ~Leonardo da Vinci
Offline UprightPath
« Reply #12 - Posted 2012-02-28 01:40:22 »

Hmmm, mechanics?

Hmm, why not do a combination of something "active" and something quazi-TBS.

Like, say you have 'radius' and 'line' based AoE. So, at the start of the battle, your opponents are arranged some how. You run in, hit 'em, changing the field. Hits can have a "knock-back" ability, that will move enemies slightly. AoEs are done from the current character position rather than 'moving to' enemies. Don't worry about movement costs or anything like that?

It'll give it a little bit of strategy, like "We need to knock them together to AoE nuke 'em", or "This enemy is healed by this AoE, so we need to knock it out of the area before we AoE".

Offline SkyAphid
« Reply #13 - Posted 2012-02-28 02:02:57 »

Hmmm, mechanics?

Hmm, why not do a combination of something "active" and something quazi-TBS.

Like, say you have 'radius' and 'line' based AoE. So, at the start of the battle, your opponents are arranged some how. You run in, hit 'em, changing the field. Hits can have a "knock-back" ability, that will move enemies slightly. AoEs are done from the current character position rather than 'moving to' enemies. Don't worry about movement costs or anything like that?

It'll give it a little bit of strategy, like "We need to knock them together to AoE nuke 'em", or "This enemy is healed by this AoE, so we need to knock it out of the area before we AoE".

Elaborate a bit more, I don't understand what you mean.

“Life is pretty simple: You do some stuff. Most fails. Some works. You do more of what works. If it works big, others quickly copy it. Then you do something else. The trick is the doing something else.” ~Leonardo da Vinci
Offline UprightPath
« Reply #14 - Posted 2012-02-28 02:26:41 »

Well, let's say you have a map. It'll be something of a "grid" of course. So, your character's start in some arrangement and your opponents start in some arrangement.

Attacks will have units (Characters/Enemies) run towards the targeted enemy and smack it.

Now, if you're not worrying about where enemies are, aside from how the attacks get animated (The running to the enemy stage) this should be everything.  Attacks will hit some predefined subset (Think like DQ where AoE spells hit the groupings listed in the enemy list), all enemies or a single enemy, regardless of where they are.

However, if you worry about placement, which can be fun, you can add fun stuff like directional AoEs and abilities that change enemy's positions (Such as Knock Backs).

So, let's assume we have three players and three enemies. The enemies are in a loose group, say in a row three units apart (The edge enemies will be six units apart). Your characters are arrayed five units apart in a row (So that the edge characters are ten units apart). If your edge characters can hit the edge enemies backwards, it'll put them in a triangle, and probably knock them so that they'll be closer than three units from the middle one.

Now, let's say that the middle character has an AoE that hits in a radius of 2.5 around a target enemy. After that knock back, it's liable that the AoE hits them. If they don't, they're not in range.

Now, let's say you can get a character to move to where one of the edge enemies were, and the other enemies didn't move during their turn. Then, if that character has a line AoE, he could hit the other two.

It's less "Strategy", because you should make it so that enemies can be defeated without worrying about position. But making it feel special that you managed to get this fantastic AoE combination.

If you need image examples, I'll try. Cheesy

Offline SkyAphid
« Reply #15 - Posted 2012-02-28 12:44:31 »

Well, let's say you have a map. It'll be something of a "grid" of course. So, your character's start in some arrangement and your opponents start in some arrangement.

Attacks will have units (Characters/Enemies) run towards the targeted enemy and smack it.

Now, if you're not worrying about where enemies are, aside from how the attacks get animated (The running to the enemy stage) this should be everything.  Attacks will hit some predefined subset (Think like DQ where AoE spells hit the groupings listed in the enemy list), all enemies or a single enemy, regardless of where they are.

However, if you worry about placement, which can be fun, you can add fun stuff like directional AoEs and abilities that change enemy's positions (Such as Knock Backs).

So, let's assume we have three players and three enemies. The enemies are in a loose group, say in a row three units apart (The edge enemies will be six units apart). Your characters are arrayed five units apart in a row (So that the edge characters are ten units apart). If your edge characters can hit the edge enemies backwards, it'll put them in a triangle, and probably knock them so that they'll be closer than three units from the middle one.

Now, let's say that the middle character has an AoE that hits in a radius of 2.5 around a target enemy. After that knock back, it's liable that the AoE hits them. If they don't, they're not in range.

Now, let's say you can get a character to move to where one of the edge enemies were, and the other enemies didn't move during their turn. Then, if that character has a line AoE, he could hit the other two.

It's less "Strategy", because you should make it so that enemies can be defeated without worrying about position. But making it feel special that you managed to get this fantastic AoE combination.

If you need image examples, I'll try. Cheesy

No, I see what you mean.

Hmm. I'll try and think of a way to implement it into what I have. I think I know how this will work.

“Life is pretty simple: You do some stuff. Most fails. Some works. You do more of what works. If it works big, others quickly copy it. Then you do something else. The trick is the doing something else.” ~Leonardo da Vinci
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Longarmx (41 views)
2014-10-17 03:59:02

Norakomi (33 views)
2014-10-16 15:22:06

Norakomi (26 views)
2014-10-16 15:20:20

lcass (30 views)
2014-10-15 16:18:58

TehJavaDev (59 views)
2014-10-14 00:39:48

TehJavaDev (60 views)
2014-10-14 00:35:47

TehJavaDev (50 views)
2014-10-14 00:32:37

BurntPizza (66 views)
2014-10-11 23:24:42

BurntPizza (38 views)
2014-10-11 23:10:45

BurntPizza (80 views)
2014-10-11 22:30:10
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!