https://github.com/agoose77/pure_python_sca
https://github.com/agoose77/pure_python_sca
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/agoose77/pure_python_sca
- Owner: agoose77
- Created: 2015-04-08T22:05:55.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-04-21T18:36:54.000Z (over 10 years ago)
- Last Synced: 2025-01-16T04:14:52.990Z (about 1 year ago)
- Language: Python
- Size: 199 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Introduction
The BGE supports a form of visual scripting in the form of a Sensor-Controller-Actuator graph which purports to support simple game logic creation. Although a weakly scalable design, the SCA "logic bricks" have become a usable and attractive alternative to learning scripting for BGE users. Whilst it is advisable to learn Python, this dependency must be accounted for in the event of a BGE -> alternative engine transition.
This project aims to produce a simple logic brick export (as JSON) and establish a pure-python implementation for engines such as Panda3D.
## Discrepencies
Because the BGE does not use the same Python API as Panda 3D (the test engine), Python controllers will not natively function when run in the engine. There are some means by which this problem can be addressed:
* Creating an intermediate "compatability API" which both engines define bindings for. Existing must be converted to this API.
* Define a BGE API for Panda, extensively adding support for BGE paradigm features.
It is likely that the second option is the best choice, in the interest of providing utility to the users that are unable to easily port over code (users which would be capable at porting straight to Panda3D API).
This API support should (perhaps) be handled under a separate project,