so i have one big problem with making games and that is
the collision detection i do when ever the player collides with a wall tile it can't move so it doesn't just walk trough the wall but when i add a jump function the player falls down to the ground and hits a tile with makes it unable to move due to the wall walking thing :p
@kotsoft :) no i don't but i will explain it better now :p
i have an if statement that says when the player collides with a wall the movement speed is 0
but the ground has the same ID so when the users falls down on the ground it also stops moving but i want it to stop form falling and just stops moving when he collides with a wall but not the ground :S
clever!
fernozzle 1 month ago
I really like the concept. Using the shooting as movement and shooting was a good idea.
Xenicus31 1 month ago
very cool, great mechanic.
squeakyevil4 1 month ago
so i have one big problem with making games and that is
the collision detection i do when ever the player collides with a wall tile it can't move so it doesn't just walk trough the wall but when i add a jump function the player falls down to the ground and hits a tile with makes it unable to move due to the wall walking thing :p
could you maybe help me?
janvoslos 1 month ago
@janvoslos are you using an existing tile physics engine or writing your own? do you have a video that demonstrates this problem?
kotsoft 1 month ago
@kotsoft :) no i don't but i will explain it better now :p
i have an if statement that says when the player collides with a wall the movement speed is 0
but the ground has the same ID so when the users falls down on the ground it also stops moving but i want it to stop form falling and just stops moving when he collides with a wall but not the ground :S
janvoslos 1 month ago
@kotsoft and i use slick 2d with TileD maps
janvoslos 1 month ago
Great idea!
Nu7s 1 month ago
Looks very addictive, nice job man! =)
CrazySandtrooper 1 month ago