Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

simple ABS with no script, just series of events?

Hello, I need to learn how to make a ABS system without using a script just a series of events. Does not matter if its VX or XP because i got both.
I would like to know how to:
1.spawn like 3 npc enemies and if 1 dies it respawns like a couple of seconds at a random tile
2.make them only do 1 damage and for the players weapons 1~2 damage
3.if they touch you, you die or when wearing armor which should be change permiters hp+1(samething it breaks and you hp stays to the perimiter of 1,this includes a shield for a certain armor)
4.spawn random chest per certain number of steps.
5.Throwing weapons(like lets say a spear you throw it it goes 7 tiles in the direction the players facing.)
6.random item in the chests including a npc that nullifies your attacking abilities(Including armors and weapons)
7.When the chest gives you armor, and it would know what type of armor your wearing i think its conditional Branch? but lets say a Steel armor which should add perimiter hp+1, Power Steel Armor add 1 more point to attack, Gold Armor that equips a shield icon sprite showed, Adds Perimiter Hp+1 and Special powers to weapons.


Basically I am going for a game like ummm "Super ghouls and ghosts"(it is a owned title by nintendo). If you played it you should kind of get what I am saying. If you could help me I would gladly appreciate it and Put you in credits for you help. If you want money sorry I broke. If you do have a script easily understandable to those with no knowledge of scripting like me, I would gladly use it and add you to the credits.

Edit: Found a event created ABS
 

Kipe

Member

First, I recommend you learn the basics variables and switches before even attempting this. Then become acquainted with setting variables to certain things, such as Hero X and Hero Y.

With that said, I won't cover all of the requests. Once you learn how to utilize variables set to X and Y locations, then all of that will be easy enough.

1.spawn like 3 npc enemies and if 1 dies it respawns like a couple of seconds at a random tile
First create the three enemies. Each should have two pages; one blank, and one with a visible sprite.
The Precondition on the blank page should be (if) Enemy 1 Dead = ON.
or (if) Enemy 2 Dead = ON, for the second enemy.
etc.

First Event (Parallel Process)
Conditional Branch if Enemy1 HP <=(less than or equal to) 0
Set Event Location: Enemy 1 (000, 000)
Control Switch: Enemy 1 Dead = ON
Conditional Branch if Enemy2 HP <=(less than or equal to) 0
Set Event Location: Enemy 2 (000, 000)
Control Switch: Enemy 2 Dead = ON
Conditional Branch if Enemy3 HP <=(less than or equal to) 0
Set Event Location: Enemy 3 (000, 000)
Control Switch: Enemy 3 Dead = ON

Second Event (Parallel Process)
Precondition Switch: (if) Enemy 1 Dead = ON
Control Variable: Respawn Tile X Random No. (1-xxx)
xxx = the width of your map
Control Variable: Respawn Tile Y Random No. (1-xxx)
xxx = the height of your map
Wait: 100 Frames
Set Event Location: Enemy 1 (Variable, Variable)
The variables are specified above
Control Switch: Enemy 1 Dead = OFF

edit: In fact, just put the above event commands within the first page of the enemy 1 Event.

Third Event
Basically a copy of the second event, with changes. It's in another event, because the second event uses a wait command, which would hault the respawn time of another enemy (in case two enemies happened to die at once)

4.spawn random chest per certain number of steps.
Set a variable to the operand Steps
Conditional Branch (if) Variable: Steps = 50
Control Switch Spawn Chest = ON
Your treasure chest event would contain multiple pages. The first would be blank, and the second would have the precondition (if) Spawn Chest = ON

Making a simple ABS; without a HUD, only minimal enemy AI, and without all of the fancy numbers... with events, isn't too difficult. But it does take a good understanding of variables, switches, and conditional branches.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top