Looking for feedback on the implementation of game mechanics

Hey guys,

I read the guidelines to posting and I think...? This goes here? If not, I apologise to the mod who'll undoubtedly have to move the topic. Domo.

My name is Daniel, I am a designer from England and I graduated from a Games Design course in May last year and I'm looking at building a portfolio. Basically, I had an idea when playing a PS Vita game called Soul Sacrifice about how well it could translate into a turn based RPG. So I chose RPG Maker VX Ace to try and work up a demo, which is the engine I used to build my simple RPG for my degree.

Problem is, I'm not a programmer. My course mainly taught us design and we became familiar with UDK which uses Unreal Script for adding bits and bats. So my Ruby skills, which I believe the code for this engine has been derived from, is very poor. Also, I'm colour blind so my art skills are really poor as a result. At least they were in UDK, using red and green lines to move objects on the X and Y axis in the view ports was really difficult, just like trying to find volume and light boxes that also used red/green lines.

Having read that and hoping you're still with me, I'm looking at under-going a project but only after seeking feedback into the plausibility and implementation of game mechanics which I don't think come as part of the engine. Some key game mechanics I need to introduce are all within the battle system. I think these key mechanics were first on the list.

Saving and Sacrificing​

  1. During battle HP can increased by saving a monster, or MP can be gained by sacrificing them.
  2. When an enemy's HP drop's to 0, the player gets to choose whether they save or sacrifice the enemy.
  3. When the player makes their choice, the enemy sprite disappears from the battle and the player gains MP or HP equal to 20% of the monsters health.
  4. The player also gains XP in relation to monsters saved/sacrificed.
The Effect of Save/Sacrifice​
 ​
  1. When an enemy is saved or sacrificed, the player gains karma points which can increase their evil/good meter.
  2. The total level of the good/evil meter must equal 99 at the maximum. This means a player can have 49 good and 50 evil at the most.
  3. The good/bad meter has a knock on effect to the player. If they level up from saving a monster, they will increase agility, HP and defense. If the player levels up by sacrificing a monster, then they increase their MP, physical and magical attacks.
In essence, these are the guidelines to the system I'm trying to implement. Once I know how complicated it will be, I can then start to make preparations in regards to recruiting help. 

Thank you very much guys, I appreciate all help and time given.
Going to move this to RGSS3 Script Requests, as you're asking about HOW to implement these things, and not just talking about the design of the mechanic.


I suspect a lot of it COULD be done just through battle events and damage formula, but I suspect you'll need at least some tweaking of scripts.
What you want to do can be done. A lot of it can be done using eventing (which still requires programming logic - it just hides the syntax), some of it may require actual scripting. Scratch that - I'm almost sure it will require scripting because of the way the game handles the battle logic when the last enemy is killed. I don't think you can event your way around that.

Ruby is a strange animal. It's not a terribly difficult language to learn, and you will learn Object Oriented techniques and methodology if you put a bit of time into it. RGSS 3 isn't exactly Ruby, but it's close (essentially it's a subset of Ruby).

The more involved with game design you get, the more programming knowledge will help you - even if you aren't the one actually writing the code. You've already settled on RPG Maker to start, so learning the language would be a good step. You've got a lot of examples already in the base program: just open the script editor and you can see the code for a whole slew of classes on the sidebar. I've got to say it's clean code, well documented, follows standard style formats, and is just plain a good source of stuff to learn from.

Either go through some online tutorials or get a book or two on Ruby: the 'pickaxe' book by Thomas and 'The Ruby Programming Language' published by O'Reilly  (co-authored by the creator of the language) are two I have that have served me well. Once you've got your feet wet, trace out the battle system - it's all there in the sidebar scripts. Draw a diagram for class inheritance, trace the method calls out, and go from there. I'm a strong believer that reading good code is a good way to learn to write your own (it doesn't eliminate the need for you to write your own though ;p).

If you do take the time to learn Ruby (and it isn't much more difficult than UDK), you'll be able to take most of what you learned to any other OO language, like C++, Java, or Python. The concepts are almost all the same, you're just learning different syntax (and style in the case of Python). After a language or two you'll be able to pick up almost any engine and be good to go with it, so your portfolio can start to show some variety. At the very least you'll be able to communicate with your coders/developers better.

Original thread: https://forums.rpgmakerweb.com/threads/looking-for-feedback-on-the-implementation-of-game-mechanics.26228/