Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nextrpg

Python ≥3.14 License: MIT codecov

Build your next RPG (Role Playing Game).

pip install nextrpg

Requires Python 3.14+, which provides PEP 750 template strings (t-strings) — the foundation of nextrpg's logging and debug-overlay system. core/logger.py consumes string.templatelib.Template directly and uses Template.strings as a dedup key for timed log entries; callsites use t"...".

Example

Bring up Tiled map editor...

Tiled

And turn your Python code (Yes, what comes after : are "type hints"!)

npc: "Nice to meet you! What's your name?"
player[AvatarPosition.RIGHT]: f"Hello {npc.name}! I am {player.name}."

into an RPG game scene! See the full example: example/scene/interior_scene.py

interior

Plus, the debug information is just one-click away (by default, F3).

Debug

Screenshots

title

exterior

menu

About

Build your next RPG (Role Playing Game).

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Contributors

Languages