Use the third-person camera with the Panda3D.
A more sophisticated RoamingRalphDemo. Extracted from the discontinued Kultakoulu Software's original RPG game project. Fully working third-person camera with a customizable relative position. The Witcher 1's styled. Contains also a player that can walk or run on a terrain.
- At least Python 3.12. The version used for the development. Newer versions will work. Older versions may work but I don't guarantee anything.
- At least Panda3D 1.10. As above, it is the minimum version used for the development.
Warning! There is an issue with a mouse cursor on macOS. A cursor appears outside the game window making an input and the camera uncontrollable.
Use venv to enter a virtual environment.
python3 -m venv .venv &&
source .venv/bin/activate &&
python3 -m pip install -r python_deps.txt
cd src/main.py
Move the character and look around using the WSAD keys and a mouse. Toggle run or walk by hitting the Shift key. Escape button will exit the app.
AtiByte's YouTube tutorial playlists for Panda3D
- PEP 8 -- Style Guide for Python Code.
- PEP 20 -- The Zen of Python.
- PEP 257 -- Docstring Conventions.
- Semantic Versioning.
- flake8 for static code analysis.