derpy's People
derpy's Issues
The engine is difficult to use
Currently there is no concept of a "game object" that multiple systems can work with and that scripting can interact with. In order to make the engine useful to other people, the engine will need a generic object that can be drawn, have scripts, and interact with physics and audio.
Physics
There is currently no wrapper for the functionality of physics. Users are required to work with box2d directly. The physics engine should be encapsulated in a way to insulate users from the small details.
Array Bound Errors
There are several places in the code where array bounds are violated. These violations were picked up in a debug Windows build. The code needs checked for more of this type of issue.
TMX Coordinate System
The coordinate system from the TMX files appears to be upside down and backwards. It requires some mathematical gymnastics to get objects positioned properly between physics and the rendering engine.
As an example,
//\Note: these need converted by /32?
//HACK!! flipping due to coordinate issues
float x, y, width, height;
x = rectPtr->getX() / 64.f - 1;
y = rectPtr->getY() / 64.f - 1;
width = rectPtr->getW() / 64.f;
height = rectPtr->getH() / 64.f;
This code is required as part of the map_physics demonstration in order to have the physics debug rectangles actually appear where they are supposed to be. The TMX parser should take care of these issues and not require the application to handle it. A standard definition of coordinate systems would make this easier.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.