XaiJu
godspeak
godspeak

patreon


Godspeak's Extra Spanking Tutorials #5

Damage Tracking

Okay, so this particular tutorial was a special request, but I feel that it's an essential one! A lot of spanking games have a system in place to track the state of the player's backside and react accordingly, that's what we'll be making today!

The start file can be found here: Project Start Download 

If you take a perusal through the images, you'll see that some stuff has been added. We have a custom IconSet file, found under /img/system, a set of butt images under /img/pictures, and a some additional expressions for our PC under /img/faces. This is all we will need to build our damage tracker and make the player able to see it in game!

First off, let's head into the database and states tab and change the maximum number of states to 16. We will need these later.

So now we're going to create our 6 states for the 6 different levels of pain we can have. I have unblemished, tingly, stingy, sore, throbbing, and bruised. Here's what they should look like. The only thing that changes is the name and the icon.

Now that that's done, let's head on over to our common events. We need a way for the game to constantly monitor a variable which we will establish, but is there a way to do that in RPG Maker? Yes there is! If we create a common event with the Switch set to Parallel, it will run all the time, neato! 

Once that is done, we need to set up a series of nested conditional branches to check and act for each level of pain. This will be based on a new variable called PC Pain.

Now we should fill each of these out. What we'll need to do is apply the correct state for that particular pain level and remove all the rest.

Technically, this is done now. All we have to do to change the player's bottom state is activate the switch we specified above at the beginning of the game and add to the PC Pain variable, but that's not quite enough bells and whistles for me! Our first order of business is changing the player's portrait in the menu to reflect a level of pain appropriate to what their bottom must look like. We can do that in this common event we've just created. For every if section, we change the player's image to a face that we think is appropriate. Don't forget, we're gonna need a gender check here, and a check to make sure they are dressed!

For the specific faces to use, I just thought of what a person might look like if they were under that amount of duress for each one. We're almost done, let's make it so the player can look in the mirror and see how badly their butt has been reddened! I created the following event on top of the bathroom sink tile in the player's bathroom.

Let's set the switch for the status event in the beginning of the game.

Now all we have to do to make the whole thing work is to add pain to the player. So let's do that!

The game will now register that a spanking hurts and update everything accordingly. 

And that's all there is to it! Let's playtest. Aaand it looks like everything works! That's it for this round of tutorials everyone, but your challenges are not over! We have a system that allows the player to take damage, but how do we recover it? Maybe you want to have an overtime reduction of pain, or maybe you just want healing items? What you implement is up to you, but keep in mind that the PC Pain variable is an integer, so it can go into the negatives. Don't let it do this, because it will break everything!

Good luck, have fun, and I hope you will message me with what you guys make! And for the last time for maybe a while,

Happy Eventing!

Final Project Download 

This post was made possible by all of my generous (and attractive) patrons!

Godspeak's Extra Spanking Tutorials #5

Comments

Finished this. Thanks for all your hard work.

CDW


More Creators