Part 3: How We Get There (Example Game)¶
The tutorial game is under development and is not yet complete, nor tested. Use the existing lessons as inspiration and to help get you going, but don’t expect out-of-the-box perfection from it at this time.
In part three of the Evennia Beginner tutorial we will go through the actual creation of our tutorial game EvAdventure, based on the Knave RPG ruleset.
If you followed the previous parts of this tutorial series you will have some notions about Python and where to find and make use of things in Evennia. We also have a good idea of the type of game we will create.
Even if this is not the game-style you are interested in, following along will give you a lot of experience using Evennia and be really helpful for doing your own thing later! The EvAdventure game code is also built to easily be expanded upon.
Fully coded examples of all code we make in this part can be found in the evennia/contrib/tutorials/evadventure package. There are three common ways to learn from this:
Follow the tutorial lessons in sequence and use it to write your own code, referring to the ready-made code as extra help, context, or as a ‘facit’ to check yourself.
Read through the code in the package and refer to the tutorial lesson for each part for more information on what you see.
Some mix of the two.
Which approach you choose is individual - we all learn in different ways.
Either way, this is a big part. You’ll be seeing a lot of code and there are plenty of lessons to go through. We are making a whole game from scratch after all. Take your time!
- 1. Code structure and Utilities
- 2. Rules and dice rolling
- 3. Player Characters
- 4. In-game Objects and items
- 5. Handling Equipment
- 6. Character Generation
- 7. In-game Rooms
- 8. Non-Player-Characters
- 9. Combat base framework
- 10. Twitch Combat
- 11. Turnbased Combat
- 12. NPC and monster AI
- 13. Dynamically generated Dungeon
- 14. Game Quests
- 15. In-game Shops
- 16. In-game Commands