"Click Fest" Combat Engine -- timing IS Everything!

3

Index

Features on these Courses

Stats

839 visits, 1,424 views

Tools

Translations

This tutorial hasn't been translated.

License

This tutorial is licensed under CC BY-NC 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Published on 20 May, 2024. Last updated 28 Aug, 2024

Now that we understand the various gameplay states, let's write those into our "Event Sheet". Open this project's Event Sheet and add these eight (8) global variables. Here's what I've called mine.

  • reward = 100 -- benefits received from payments into the duel plus crowd betting.
  • silver = 100 -- grant your gamer some cash; OR integrate with your parent RPG.
  • gameTurn = 0 -- counts the combat rounds
  • blueScore = 0 -- records how many attacks were made during this duel.
  • redScore = 0 -- records how many attacks were made during this duel.
  • blueHitPoints = 100 -- Total Energy, hit points, or Stamina ( OR integrate from your parent RPG Adventure game.)
  • redHitPoints = 100 -- Total Energy, hit points, or Stamina ( OR integrate from your parent RPG Adventure game.)
  • victory = 0 -- duel ends when this condition is met.

I'm using W3Schools CSS as a project file. It is just as robust as BootStrap but thousands of bytes smaller! Doing so also avoids all those "hefty image" files which are replaced with just CSS management. The "txt_story" is a short narrative from my parent RPG -- Legends-of-Renown-Deeds.com. You'll no doubt replace it with one of yours. OR, you might consider a "Dynamic Story" introduction? (See this IGM with its freely available .capx and .c3p files.)

Blood Pit™ IGM Setup

Let's focus on the IGM setup. I have a drop-down list for "Combat Intensity" that the gamer must select ... Events #2-#5.

  • Until First Blood -- I've set this at 10%; you should set this to your game design. The first player to lose 10% of their hit points, loses the duel.
  • Until Defeated -- I've set this at 50%; again, set this percentage as you like. The first player to lose more than 50% of their hit points, loses the duel.
  • To the Death -- Does this need an explanation? I've set this at anything less than 4 remaining points. This gives a chance to revive a gamer's avatar if their hit points are still above "0" (zero).

Events #6-#7 require a duel "Registration Fee" payment. If the gamer pays the minimum amount, then the "Duel" button becomes active and changes its label.

Launch Blood Pit IGM

Be aware of the event sheet indentations. We want events triggered under the right conditions. The comments suggest several design options. Notice Events #11 and #12 randomly subtract 1-18 damage points. You should adjust this for your gaming system rules.

Now that you've studied these events, you can see that this IGM could be used for any combat encounter!

Increase the Game Turn Counter

  • 0 Comments

Want to leave a comment? Login or Register an account!