The C programming language.
-1
votes
2answers
158 views
My 2D collision code does not work as expected. How do I fix it?
I have a simple 2D game with a tile-based map. I am new to game development, I followed the LazyFoo tutorials on SDL.
The tiles are in a bmp file, but each tile inside it corresponds to an internal ...
3
votes
1answer
509 views
Procedurally generated 2d terrain for side scroller on Sega Genesis hardware?
I'm working on the Sega Genesis that has a 8mhz Motorola 68000 CPU.
Any ideas on how to generate fast and decent 2d tile terrain for a side scroller in real time? The game would generate new columns ...
0
votes
1answer
110 views
joystick movement for Geometry Wars clone
I am kinda new in game programming, but I've got a semestral work to make a game, so I decided to do a clone of Geometry Wars. Despite that the game is really simple (in principle), I have ran into a ...
0
votes
0answers
108 views
Incorrectly says that 2 rectangles collide: whats going wrong?
I am using and expanding a function that detects whether two 2d rotated rectangles collide. The function is from here.
My Problem: The function incorrectly detects a collision between the following ...