28 reputation
4
bio website
location
age
visits member for 2 years, 3 months
seen Aug 11 at 1:32

Dec
20
awarded  Popular Question
Oct
7
awarded  Scholar
Oct
7
accepted Circle-Rectangle collision in a tile map game
Oct
7
comment Circle-Rectangle collision in a tile map game
Thanks Markus collisions detection is working and it all makes sense. Guess ill ask another question if I'm having trouble with the resolution
Oct
6
comment Circle-Rectangle collision in a tile map game
Can you explain the purpose of x1 and x2 in the collision detection? This solution is a bit complex for me. Also is this a bug? i.imgur.com/6Bycx.jpg
Oct
5
comment Circle-Rectangle collision in a tile map game
No prob! Im just working my way through it line by line trying to understand everything. What language are you using in those examples?
Oct
5
comment Circle-Rectangle collision in a tile map game
The function xToGrid() and yToGrid() as well as variables 'localPosX' and 'localPosY' just return a remainder. Did you mean something like RoundDown(x / tile_width) ?
Oct
5
comment Circle-Rectangle collision in a tile map game
@ArthurWulfWhite I agree with you and I'd love to learn Box2D at some point. I just felt that it would be a good programming challenge as I don't have a huge amount of experience. All I'm trying to do atm is get the mechanics of this putt putt game working. Whether the game is actually fun or not is another story!
Oct
4
awarded  Student
Oct
4
comment Circle-Rectangle collision in a tile map game
Thanks Markus, it's way too late for me to wrap my head around that now but I'll have a closer look in the morning and let you know how I go :)
Oct
4
comment Circle-Rectangle collision in a tile map game
Not necessarily, I'll probably make the ball 12-14pixels (tile is 20) just started it at 20 for no apparent reason
Oct
4
awarded  Editor
Oct
4
revised Circle-Rectangle collision in a tile map game
image url incorrect
Oct
4
asked Circle-Rectangle collision in a tile map game