How to Create a Turn-Based Battle System in Ren'Py

Поделиться
HTML-код
  • Опубликовано: 8 янв 2025

Комментарии • 12

  • @obviousalias9506
    @obviousalias9506 2 месяца назад +3

    Thanks! I don't have much use for a turn-based battle system right now, but I'm always happy to see a new video from you. Be well!

  • @nikkuzmich5378
    @nikkuzmich5378 3 дня назад

    Thanks, this is exactly what I needed

  • @kadethomasphotography5800
    @kadethomasphotography5800 2 месяца назад +5

    I’ll look forward to this one!

  • @NieR6991
    @NieR6991 Месяц назад +1

    I loove your videos! I have learned so much and feel confident with starting my work!
    Is it possible if you talk about persistent varaibles and ways to make oop just be specific to saved games?

  • @matthewbotti
    @matthewbotti 2 месяца назад +2

    Great tutorial and gave me some ideas for a game. You could even replace the attack/defend with a rock/paper/scissors type of battle.

  • @Stoerfishprojekt
    @Stoerfishprojekt 2 месяца назад

    This Video was a pretty good and solid overview about this topic, thank you for sharing it!
    It's like "if you know how to walk" you'll easy be able to "run".
    Understanding how "creating classes/subclasses" work, its pretty good to follow in particular, in my opinion.

  • @mateot7911
    @mateot7911 2 месяца назад

    Just a small note: you didn't notice that you lost 2x the enemy damage in HP at 29:21 - enemy dealt 17 damage but you lost 34 HP. That's because your enemy_turn function calls both deal_damage AND take_damage despite deal_damage already calling take_damage by itself.

  • @matthewbotti
    @matthewbotti 2 месяца назад +1

    Question: Does creating the new Character class conflict with the existing predefined Character class in Renpy?

    • @LearningWithBandE
      @LearningWithBandE  2 месяца назад

      Yes. That was a mistake on my part, as pointed out by @HyJyncks. I would recommend calling it Actor or something similar instead.

  • @HyJyncks
    @HyJyncks 2 месяца назад +2

    It is incredibly bad practice to name a class Character while the Character function exists. Not only is it confusing, but you got lucky that it worked with the way python executes things. The class should be something like Person or Entity even if it's just an abstract class to inherit from.

    • @LearningWithBandE
      @LearningWithBandE  2 месяца назад +1

      Thanks for pointing that out! I normally use Actor as the name of the class...that was on oversight on my part. Thanks again!