Daily Archives: February 8, 2014
Rectangles, check.
2014 02 08
Ok, now I have covered the rectangle collisions. Now I can have them behaving as they should. I made two of the Three rectangles able to push each other and the third one just stands its ground like a wall.
I only had some issues with the rectangles jumping around the other and one time I made rectangle nr 1 move when nr 2 and nr 3 collided. Which was quite ammusing. Sorry, the code for that one is […]
Rectangles, check.
2014 02 08
Ok, now I have covered the rectangle collisions. Now I can have them behaving as they should. I made two of the Three rectangles able to push each other and the third one just stands its ground like a wall.
I only had some issues with the rectangles jumping around the other and one time I made rectangle nr 1 move when nr 2 and nr 3 collided. Which was quite ammusing. Sorry, the code for that one is […]
Guards and their different states
What will the guards be doing?
The guards will be idling, patrolling, investigating, searching, chasing and shooting.
Shooting they will be doing if the player are in their line-of-sight for too long.
They are chasing when they have seen the player but he/she is no longer in their line-of-sight.
They are searching if they know that the player is around, but not where.
They are investigating if they hear a sound but do not know about the player.
Patrolling and idling will be their standard behavior […]
Guards and their different states
What will the guards be doing?
The guards will be idling, patrolling, investigating, searching, chasing and shooting.
Shooting they will be doing if the player are in their line-of-sight for too long.
They are chasing when they have seen the player but he/she is no longer in their line-of-sight.
They are searching if they know that the player is around, but not where.
They are investigating if they hear a sound but do not know about the player.
Patrolling and idling will be their standard behavior […]