Title | : | Dynamic Battles With RNG - Python ASCII Tutorial #2 |
Duration | : | 24:03 |
Viewed | : | 1,747 |
Published | : | 01-06-2024 |
Source | : | Youtube |
To try everything Brilliant has to offer—free—for a full 30 days, visit https://brilliant.org/OrkSlayer/ . You’ll also get 20% off an annual premium subscription. (let me know if the link doesn't work properly!) ALSO TAKE PART IN THE CHALLENGES! I'm waiting for your results in the comments. Let's upgrade our turn-based battle framework with cool little features and a bunch of RNG related stuff! Find the code I made for the video here 👇👇👇 https://github.com/orkslayergamedev/python-classes-text-battle Use the master (default) branch to start coding with me! ### Thanks to Freepik for all the amazing icons in the video! https://www.flaticon.com/authors/freepik ×oOo×-----------------------👽SOCIALS👽-----------------------×oOo× ☕ SUPPORT ME: https://ko-fi.com/orkslayergamedev/ 🎮 TRY OUT MY GAMES: https://orkslayergamedev.itch.io/ (100% free) Instagram: https://www.instagram.com/orkslayergamedev/ GitHub: https://github.com/orkslayergamedev/ Reddit: https://www.reddit.com/user/orkslayergamedev/ ×oOo×-----------------------💻CODE SNIPPET💻-----------------------×oOo× rat = Enemy("Rat", health=12, eva_ch=10, crit_ch=5, armor=0, weapon=claws) slime = Enemy("Slime", health=20, eva_ch=0, crit_ch=0, armor=0, weapon=jaws) wolf = Enemy("Wolf", health=30, eva_ch=20, crit_ch=10, armor=0, weapon=jaws) goblin = Enemy("Goblin", health=40, eva_ch=5, crit_ch=5, armor=2, weapon=short_bow) ork = Enemy("Ork", health=60, eva_ch=0, crit_ch=10, armor=4, weapon=iron_sword) ×oOo×--------------------🎞TIMESTAMPS🎞---------------------×oOo× 00:00 - Intro 01:00 - Repo Setup 01:38 - Framework Introduction 02:30 - Update weapon.py 03:08 - Update character.py 04:53 - Update main.py 08:45 - Brilliant 09:55 - Damage Range 13:10 - RNG Attributes 15:08 - Update attack() 16:50 - Evade 18:13 - Critical 19:20 - Armor 20:24 - Counter 22:10 - Generic RNG Method 23:37 - Outro ×oOo×--------------------------✨TAGS✨--------------------------×oOo× #python #tutorial #classes #ascii #gamedev #objectorientedprogramming #oop #indiedev #indiegame #indiegames #indiegamedev #pixelart #gamedevelopment #orkslayer #orkslayergamedev #videogame #game FTC disclaimer: This video was sponsored by Brilliant.
![]() |
Learn Python Classes With a Text-Based Battle -... 15:25 - 149,258 |
![]() |
How to Create PARTICLE EFFECTS in Python - Pyga... 14:54 - 3,784 |
![]() |
I Made an AI with just Redstone! 17:23 - 910,888 |
![]() |
Why Do Video Game Studios Avoid Blender? 06:49 - 494,265 |
![]() |
Snake AI vs Human! Python Hamiltonian Tutorial 05:23 - 289 |
![]() |
EASY Random Map Generation - Python ASCII Tutorial 08:36 - 7,193 |
![]() |
Coding Adventure: Simulating Fluids 47:52 - 1,775,629 |
![]() |
Optimizing my Game so it Runs on a Potato 19:02 - 537,706 |