Forwarded from 🎀 Lyn the Loved
This media is not supported in your browser
VIEW IN TELEGRAM
I'm getting the itch again
🔥1😍1
🎀 Lyn the Loved
I'm getting the itch again
I want to yap about the other engine I fell into, Whimsy. It's a minimalist system but coding in it (which is done using blocks) is not really programming in the conventional sense - but it does make me think like a programmer
Unlike RPG Maker, Whimsy doesn't have anything like an inventory or battle UI, but it does have functions you can add to events, and if you know what they do and how to use them, you could come up with your own systems
Making a battle system in the prototype I used, this is what I did:
1. Set player and enemy HP, Attack and Defense values
2. Assign a random value from 1 to 20 to the 1d20 variable
3. Compare 1d20 value with the enemy's DEF. If its lower, print "Miss" and proceed to 6
4. If it's higher, assign a random value from 1 to 6 to the 1d6 variable, then add the Player's ATK, and subtract the total from the Enemy's HP.
5. Print the damage dealt and the enemy's current HP.
6. Repeat the process 1 to 5 using the Enemy's stats against the Player.
1. Set player and enemy HP, Attack and Defense values
2. Assign a random value from 1 to 20 to the 1d20 variable
3. Compare 1d20 value with the enemy's DEF. If its lower, print "Miss" and proceed to 6
4. If it's higher, assign a random value from 1 to 6 to the 1d6 variable, then add the Player's ATK, and subtract the total from the Enemy's HP.
5. Print the damage dealt and the enemy's current HP.
6. Repeat the process 1 to 5 using the Enemy's stats against the Player.
😍1
Really makes you think what else you could make if you were using a more powerful engine and understanding how the code works 🤔
Forwarded from 🎀 Lyn the Loved
I wanna make friends in every country so I can learn how to swear in 200+ languages
🔥1