Giter Site home page Giter Site logo

luul11 / the_hero_arrives_in_35_minutes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jsfehler/the_hero_arrives_in_35_minutes

0.0 1.0 0.0 16 KB

Portions of the source code for The Hero Arrives in 35 Minutes

License: MIT License

Ren'Py 100.00%

the_hero_arrives_in_35_minutes's Introduction

The Hero Arrives In 35 Minutes

The battle system used in the game is available as an example for anyone who wants to roll their own turn-based battle system in Ren'Py.

A description and download for the game is available at: https://jsfehler.itch.io/the-hero-arrives-in-35-minutes

The primary concern was building some sort of workable scripting system for enemies. In the game, the player's character is also controlled using this script, creating a fully automatic battle (ie: AI vs AI). However, building your own menu system to directly control the player's actions is not impossible.

In a nutshell:

  • The Actor class contains information about stats, equipment, and other information about each participant in a battle.
  • An Actor must be created for each character appearing in a battle
  • Every Actor has one or more BattleRules.
  • Every BattleRule:
    • Watches an Actor or group of Actors
    • Has a Condition that must be met to be activated
    • Has a BattleAction that is used on the condition being met
    • Has a target for that BattleAction
  • Actors must be added to a BattleActors group. BattleActors are used in the battle screens and loop.

the_hero_arrives_in_35_minutes's People

Contributors

jsfehler avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.