Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Java is both a popular object-oriented programming language and runtime environment which allows Java programs to run unchanged on most hardware and software platforms.
1
vote
What's a proper way to change colors of a sprite on the fly in libGDX?
To achieve this behaviour, you should definitely use a specific shader. If you apply the shader to your sprite batch before drawing your sprite and set it back to null, it will just apply to your spri …
1
vote
Libgdx - IsometricTiledMapRenderer and light shading
I, you may have a look at Box2d light box2D light.
The idea is to create shape in a box2D world and then use Box2D light to perform the shadow casting and light rendering.
You then have to render the …
1
vote
2
answers
1k
views
best structure to handle entities in an entity component based game engine
I am trying to develop a 2D entity component based game with multiple layers as tilemaps (front or back from the scene).
I currently handle the tilemap layers in a 3 dimension array[z][y][x]. Each ti …
0
votes
What datastructure would you use for a collision-detection in a tilemap?
You should definitively use a quadtree as Hjorthenify suggest.
see:
handling collision detection with a quadtree
At each frame you may reconstruct your quadtree and then for each collideable entity …