Comments (4)
Hi, currently physics bodies connot be placed inside composites (I don't know if this will ever be possible in future becuase the problem is more conceptual.. What should happens if other objects that aren't physics?). I think that physics inside composite doesn't make much sense, but if you've suggestions please share :)
Regarding coordinates you can move any type of object by changing values in TransformComponent
. Remeber that coordinates are local to the composite size and position, CompositeSystem
does the expected behavior as it have to update position relative to parent composite.
from hyperlap2d.
i got it. although I didn't enable Physics. but I created the Physics composites. so PhysicsSystem
will still update it.
also, it can't be use PerspectiveCamera
for perspective effect? similar to the effect of 2.5D game. or can i how to use OrthographicCamera
make it.
from hyperlap2d.
Yes PhysicsSystem
will always update bodies and their position, if you need a custom behavior the best way is to override this system like this one made for the editor PhysicsAdjustSystem
.
Regarding camera, in theory you can use a PerspectiveCamera
at runtime, but current runtime implementation doesn't support anything related to a 3d environment (z axis), you might have to struggle a bit with the sprite batch to get some results... I'd like to add a PerspectiveCamera
with more 2.5D effects but this is a very far feature.. there are still lot of 2D stuff that have to me done first
from hyperlap2d.
Well, thank you very much.
from hyperlap2d.
Related Issues (20)
- Add overloaded loadScene method to SceneLoader
- Field not found: circle (games.rednblack.editor.renderer.data.SimpleImageVO) HOT 1
- Physics body is null HOT 2
- Import too big asset throw error HOT 1
- Png seems to cause crash on simple project
- Feature Request: Support TinyVG HOT 3
- [Crash] Hyperlap crash if you change from or to monospace. HOT 1
- Changing the width and height of a primitive doesn't work HOT 1
- Feature request : Bezier Curves
- main window size HOT 3
- [Feature Request] Add a json schema file HOT 3
- The create new action interface is a bit small HOT 1
- Not working on OSX HOT 6
- particle effects start with a delay
- Deleting a polygon, then using <CTRL>-Z to undo crashes the app
- Non-ASCII characters support HOT 3
- Editor crash caused by `java.lang.ArithmeticException: / by zero`
- Crash when updating Skin Composer HOT 1
- Crash when overlapping polygon HOT 2
- Add flatpak version HOT 3
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.
from hyperlap2d.