All Questions
11
questions
6
votes
3
answers
312
views
Predict bouncing ball destination in JavaScript
In a Pong-style 2D game, a ball (a circle of radius BALLRADIUS) can bounce (with perfect elasticity) on the top or bottom of the screen. When it hits the left or right side of the screen, one of the ...
1
vote
0
answers
85
views
Advice on Update function in my Game Loop [closed]
I have this update fx for my Player object in game loop, game is top-down in-space thing with boom-booms and such. Me being weak at maths is huge understatement so my implementation is concoction of ...
13
votes
2
answers
5k
views
A Flappy bird Game
Here is a project that I have been working on for the past few days.
I have used the SFML library in C++ to make a flappy bird game of my own. I made this as a ...
2
votes
0
answers
1k
views
Simple Flappy Bird Clone using Kivy (with very minimum physics)
This is a very simple clone of Flappy Bird using Kivy, to be used for programming class for teens. The game consists of 3 classes: Bird, ...
7
votes
1
answer
635
views
Metaballs and Gravity game;
For past two days I made my first OpenGL project, I know, It's fixed pipeline, but my focus was on gravity algorithm, so, tell what do you think, and how can I make it faster?
main.cpp
...
11
votes
1
answer
359
views
Basketball Collisions with Box2d
I'm working on a new prototype that is a simple drag and shoot arcade basketball game. For this project I am working with LibGDX and the Box2d physics library.
You can play the game here: Play ...
4
votes
2
answers
230
views
2D physics game engine
I'm writing a 2D game engine, and I just wrote the physics for it to handle collisions between AABBs and circles.
It's on GitHub.
Some of my worries are that my code isn't OOP, because I have to do ...
7
votes
1
answer
336
views
Processing.js physics simulation
I've been fooling around in JavaScript again, and I've come up with this simple physics simulation. I think it has a pretty simple setup, here's "psuedocode" of sorts to explain it.
Constructor ...
7
votes
1
answer
944
views
Quad Tree and Collision Detection Implementation
I have an implementation of a quad tree and abstract collision detection classes. The code works but looks very ugly, but I don't know what I could change to make it better.
The reason I used two ...
20
votes
1
answer
3k
views
Asteroids game clone
I have recently been teaching a JavaScript module on a games programming undergraduate course and I made this game as a learning exercise and as an example for my students to study. I have made games ...
5
votes
3
answers
149
views
Determining vehicle jump landing quality
I am writing a game where a car drives and makes jumps. When a jump is landed, the player is rewarded if they land all four wheels either at the same time, or near to the same time. If they don't, ...