Hello folks.
I wonder if someone could help me once more?
I am searching for an quite unusual battle system script.
Collition / Bump to attack like "Ys series". Anyone that could help me with that?
Thanks in advance.
-- MuisicWizard
You're going to have to explain how you want the system to work in detail.
So like you "bump" into an enemy and you and the enemy auto-attacks each other? and this goes on until one dies or you walk away?
You could event that as you'd probably show the enemies into the map as events anyway...
So you want to be able to run around and hurl explosives at targets, break barrels and walls, and interact with NPC's by burning them alive?
@MusicWizard
The term you are looking for is ABS (Action Battle System). Searching for this in the master script list on the wiki will yield a few different results that you could use.
depends on which Ys game (can't watch the vid)... There was a Ys game that employed a collision style of battle, which is basically you collide with an enemy then you both start taking hits... The others are yeah, ABS.
You could do it via events... You could like make the enemies running on parallel process, move them, check if player is in range, if yes do the battle sequence, if not then ignore...
You could event this, but coming from playing the game just now, I can tell you that it wouldn't be an accurate representation of the system.
In essence, you just run your character into enemies and deal damage to them as long as you are pushing, but there's more to it.
If you just run into an enemy head on, you will take damage. You need to graze the enemy from the sides of their graphic, relative to which way they're facing(up/down or sideways) in order to deal damage to them without taking damage yourself. And you and your enemies take more damage when run into from behind.
Bosses worked under differing principles, such as having fireballs, waves, and other attack patterns out on the field that you needed to dodge or navigate before being able to run into them to deal damage. And then it would repeat.
That being said, this would require a pixel movement system, some way of defining safe and unsafe hitboxes on enemies, and defining combat areas at the very least.
..So yeah, this probably isn't as simply made as one might think.