Search found 2 matches

by Talder
Sun Feb 14, 2010 6:49 am
Forum: Programming Discussion
Topic: Efficient 2d collision [SOLVED]
Replies: 3
Views: 457

Re: Efficient 2d collision

Thanks, it really helped! EDIT: In case anyone would have this problem in the future, here's how my move function looks now: Offsets is a square that represents my character. Object[10][10] is my array holding objects. //Move along the x-axiz offsets.x = offsets.x + xSpeed ; //If the character is mo...
by Talder
Sat Feb 13, 2010 4:50 pm
Forum: Programming Discussion
Topic: Efficient 2d collision [SOLVED]
Replies: 3
Views: 457

Efficient 2d collision [SOLVED]

Heya! To start off, I'm very new to game development so this might be an incredibly dumb question and if it is very annoying to answer, you don't have to bother =P Okay, so I'm making a 2d game with C++/SDL and I've just started making movement and collision checking for my character. My game screen...