Devlog #7: New mechanics!
The seventh day of the Game Jam is done.
Today was quite productive - I coded an entire dice roll system!
I’m pretty happy with it, I coded it in a certain way, it can be copied and pasted anywhere inside another scene and should work flawlessly!
It starts off by asking what the player rolled (or rolling the dice for the player), and then moving to a section called “Outcome”.
In the outcome section, it does a few things:
- It checks their level of damage. If they are at 3, they die and lose the game.
- It then tells the player what they rolled (so that the players who are not using physical dice know what they rolled.)
- Then it changes the outcome for every dice roll.
Currently in the game, if someone rolls a 1, 2 or 3, they take damage and then go to roll again. 4 they don’t take any damage but have to roll again. 5 and 6 they win the battle.
I also spent some time drawing and writing more code, but I don’t want to focus on those. The drawings reminded me how bad of an artist I am, and the more I put in placeholder writing, the more I remember how creative writing doesn’t come easily to me.
Tomorrow I will finish the code fully and then get stuck into re-writing the entire thing! If I get bored, I will try my hand at drawing again, but I don’t know if they’ll make it into the final product. I might start off with some really crude stick figures and just pretend that was my “artistic flair”.
Prakasha
A choose your own adventure using tarot and dice to guide you.
More posts
- Mini update #1: Minor fixes11 days ago
- Devlog #9 - It's released!11 days ago
- Devlog #8: Finalising the code11 days ago
- Devlog #6: Future proofing11 days ago
- Devlog #5: Testing and Adjusting11 days ago
- Devlog #4: Writing and Coding11 days ago
- Devlog #3: Planning11 days ago
- Devlog #2: Story and Theme11 days ago
- Devlog #1: Ideation11 days ago
Leave a comment
Log in with itch.io to leave a comment.