Toptube Video Search Engine



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.



SHARE TO YOUR FRIENDS


Download Server 1


DOWNLOAD MP4

Download Server 2


DOWNLOAD MP4

Alternative Download :