Charas-Project

Game Creation => Requests => RPG Maker Programming => Topic started by: swordsman on January 24, 2006, 07:09:47 PM

Title: real time combat
Post by: swordsman on January 24, 2006, 07:09:47 PM
Is it possible to have good a real-time combat engine. A Blurred Line had a bad one as a minigame. The only way it was really bad was that when an enemy attacked you they had to tred on you (event overlap I think).

I have tried x and y coordiates for hero and enemies, it's so complicated that it doesn't work. Just incase you didn't know I mean combat like in Dragon Ball Z: Legacy of Goku and the GBA Zeldas.

I am also new to the forum, hello  :)  :D

Please say if you don't understand.

Is A Blurred Line's real time combat the best RMK 2003 can do?
Title:
Post by: WarxePB on January 24, 2006, 07:35:42 PM
The system you're describing is called an ABS - Action/Adventure Battle System. It's one of the easiest custom battle systems that can be done in the RM2K/3 engines, although an experienced coder can do wonders with it.
For some more information about them, look at GW (http://gamingw.net) for tutorials, and around the Games forum for some examples of games using ABS systems.
Title:
Post by: Moosetroop11 on January 24, 2006, 09:48:27 PM
Ask Meiscool.
Title:
Post by: blaze_shinigami on January 24, 2006, 09:49:35 PM
Quote
Originally posted by Moosetroop11
Ask Meiscool.


Title:
Post by: drenrin2120 on January 24, 2006, 09:57:52 PM
I've seen some awesome ABS's, Meiscool's being one of them. I recently played a Zelda fangame, got it off of one of GC's Affiliate sites. But it was perfect. If A Blurred Line's ABS was sketchy as you said, than don't worry, much better can be done.
Title:
Post by: Noobpwner on January 24, 2006, 10:27:30 PM
Quote
Originally posted by drenrin2120
I've seen some awesome ABS's, Meiscool's being one of them. I recently played a Zelda fangame, got it off of one of GC's Affiliate sites. But it was perfect. If A Blurred Line's ABS was sketchy as you said, than don't worry, much better can be done.


Hey you made ghosts of heart lake!  I like that game I folowed your link to download it! its good!!!!!! Im workin on some games at the moment to  :jumpin:
Title:
Post by: Meiscool-2 on January 25, 2006, 12:00:10 AM
I played a blured line, as it was recommened to me by Ace, and yes, that system sucked. Far more can be done, but you need to know a large ammout of basics about coding, varibles, and cords to make it work.

Basic sword system:

Make an event called enemy one.

Make an event called enemy one tracker, set it to parallel process, and have it make two varibles. One being the X cord of event Enemy one, and the other being the Y cord.

Now, make a common event in the database and name it sword attack or something like that. I assume that you already know how to use key input, so that will save me time of explaining. Set whatever key you want to the sword, and when you press the key, have it set your X and Y cord to two varibles called Sword X and Sword Y. Then, you'll have to do the rest by brain. If your character is facing up, then you'll have to subtract one from the Y cord to make it seem like it's attacking right in front of you. If your hero is facing left, you subtract one from Sword X, and if he's facing right you add one to Sword X. If he's facing down, you add one to Sword Y.

Now, set it to see if your Sword X equals the Enemy X Varible, and the Sword Y equals the Enemy Y. If that happens, then you subtract whatever number you want from the enemy's health (Which will be a varible) . Then, on the event called Enemy one, make a page where if it's health is 0 or less, it dies.
Title:
Post by: swordsman on January 25, 2006, 03:14:25 PM
Thanks for your posts. I have found some usefull tutorials at GW that should help me. I am making a game called MAN, check my homepage soon for updates on it, I am called Lvondas there.

Meiscool, thank you for you post for basic sword attack, I should get some progress now. However there is one small problem, I don't wan't to attack dumb enemies that don't know how to fight me back. I have tried On touch (event,hero) to set off the enemy's attack but it attacks me so often they is no way I can win any fight. Will I have to use the same method for enemies attack?