Unanswered Questions
680 questions with no upvoted or accepted answers
8
votes
1
answer
420
views
How to move a portion of bezier/spline curve along its complete bezier/spline curve?
Based on the image below, I have a curve (orange) which is a bezier sub-curve of an original curve (longer black curve). The original curve consists of a number of cubic bezier curves joined together. ...
7
votes
0
answers
844
views
How to correctly implement 'layered lighting' with Box2D-Lights
How does one only allow Box2D-Lights to affect one and only one OrthographicCamera.
After researching, I found the following answer. This answer goes into detail ...
7
votes
1
answer
4k
views
Drawing fonts with LWJGL3 with OpenGL
I'm very sorry if this question has already been answered, but since I've been struggling with this for many days I thought I'd give it a shot here.
My goal is to somehow render some text on the ...
6
votes
0
answers
325
views
LibGDX Rectangle not Scaling to ImageButton Instance as Expected
below is the class I wrote for a GameButtoninstance:
...
6
votes
1
answer
740
views
Spawning enemies in four different positions with a fixed trajectory in android game
This is my first android game, I appreciate all the help. I want to define 4 spawning zones starting from out of the screen (left, right, up and down). Enemies coming from this areas have a fixed ...
6
votes
0
answers
161
views
balloon ligher than air with libgdx, impementation of FixtureDef.density, gravityScale, linearDamping?
I use libGdx/box2d's physic. My intention is to create a balloon filled with helium (a body, what hovers above a surface, if we apply a little force to it - it moves fast but not far, if we push ...
6
votes
0
answers
195
views
Why is my OpenGL enabled Java game not detected by Fraps?
Recently I found out that I could enable OpenGL hardware acceleration in my Java game with the line
System.setProperty("sun.java2d.opengl", "True");
Initial ...
5
votes
0
answers
108
views
Slot Probability Function
Please can someone point me in the right direction. I'm working on a slot game. that I'm having trouble figuring how to implement the probability function for. The game has a set of symbols that bets ...
5
votes
0
answers
174
views
Scoreboard setdisplay list shows correctly per char. Can i make my sidebar show correctly per char as well?
So I've been writing a script over the last little while in Python that interacts with the Minecraft console. I'm basically trying to make a scoreboard based currency system that is world independent ...
5
votes
0
answers
257
views
Implementing rubber rope
I'm using LibGDX to implement rubber rope in which player can fly and launch. I know I could use Box2D as physics engine and I'm going to one day, but I'd like to learn it myself for now.
I've ...
5
votes
0
answers
516
views
How to target moving object in 2D game
I am working on targeting system for 2D game. Two objects move in space.
Each one have Position and Velocity vector. Ship object shoots moving objects in space. Ship can shoot in any direction, but ...
5
votes
1
answer
2k
views
libGDX using Stage and Actor produces different camera angles on desktop and Android Phone
libGDX using Stage and Actor produces different camera angles on desktop and Android Phone.
Here are pictures demonstrating the problem: http://brandonyuh.minus.com/mFpdTSgN17VUq
On the desktop ...
5
votes
1
answer
230
views
Fixing the size?
My app isn't compatible with all screen sizes. When testing on a small size, my textview overlaps with my button. So, as suggested on the Android Documentation, and many stack overflow pages, I ...
4
votes
0
answers
136
views
Force propagation through physic bodies constraints (as non-penetration)
First, some context
I'm currently implementing a (well, tiny) game engine using a predictive approach. The idea is to compute when a state change will occur, and only update state at time of the ...
4
votes
0
answers
660
views
How to implement a pannini projection in opengl?
I have read about the pannini projection, which involves (I think) projecting a scene onto a cyclinder instead of a rectangle.
How can I implement this projection in a vertex shader?
Blinky is using ...