https://github.com/takana671/avoidballs
panda3D game using terrain
https://github.com/takana671/avoidballs
bulletworld geomipterrain kinematic panda3d python3
Last synced: 4 months ago
JSON representation
panda3D game using terrain
- Host: GitHub
- URL: https://github.com/takana671/avoidballs
- Owner: taKana671
- License: mit
- Created: 2023-11-26T15:24:54.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-31T03:26:03.000Z (over 1 year ago)
- Last Synced: 2025-01-31T22:58:46.628Z (6 months ago)
- Topics: bulletworld, geomipterrain, kinematic, panda3d, python3
- Language: Python
- Homepage:
- Size: 8.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AvoidBalls
Run avoiding balls. If the character crosses the finish line, terrain will be changed.
https://github.com/taKana671/AvoidBalls/assets/48859041/7a14a75c-629e-4767-90e4-187c043f0ca0
I made this game to learn how to use GeoMipTerrain in BulletWorld of Panda3D. In this game, four heightmaps are arranged in tiles to make a large terrain. These heightmaps are created from elevation data in text files. Trees, rocks, water surfaces and flowers are dynamically arranged on the terrain. And I made my own simple character controller without using BulletCharacterControllerNode. I unfortunately did not find the way of dropping the character's shadow on the terrain. I want to keep doing trial and error.

# Requirements
* Panda3D 1.10.13
* pandas 1.5.2
* numpy 1.23.5# Environment
* Python 3.11
* Windows 11# Usage
* Execute a command below on your command line.
```
>>>python avoid_balls.py
```# Controls:
* Press [Esc] to quit.
* Press [up arrow] key to go foward.
* Press [left arrow] key to turn left.
* Press [right arrow] key to turn right.
* Press [down arrow] key to go back.
* Press [ D ] key to toggle debug ON and OFF.