I have updated the Robo Attack File so it is easier to read.
I have removed all pointless comments, and added
some helpful ones to explain the code better.
And I have modified collisions a bit, so they are now constants instead of globals.
I need more help with the collisions. when the Player grabs a dot for instance, all the dots act as if they had
been grabbed.Same with the walls.When you push one
wall, all walls of that type move.
So my questions are, How do I fix the above collision problem, and where do I put the following lines
of code.
Collisions Type_Player,Type_Dot
Collisions Type_Player,Type_Bot
Collisions Type_Player,Type_Wall1
Collisions Type_Player,Type_Wall2
;I just want to know where I'm supposed to put this.
;Do I put it in the main loop?, or in a function?.
Please Help.
Any Suggestions as to how to fix this, or variations on
this code, would be thoroughly appreciated.
The Mighty WERDNA(Lord Of Asking For Help)
I have removed all pointless comments, and added
some helpful ones to explain the code better.
And I have modified collisions a bit, so they are now constants instead of globals.
I need more help with the collisions. when the Player grabs a dot for instance, all the dots act as if they had
been grabbed.Same with the walls.When you push one
wall, all walls of that type move.
So my questions are, How do I fix the above collision problem, and where do I put the following lines
of code.
Collisions Type_Player,Type_Dot
Collisions Type_Player,Type_Bot
Collisions Type_Player,Type_Wall1
Collisions Type_Player,Type_Wall2
;I just want to know where I'm supposed to put this.
;Do I put it in the main loop?, or in a function?.
Please Help.
Any Suggestions as to how to fix this, or variations on
this code, would be thoroughly appreciated.
The Mighty WERDNA(Lord Of Asking For Help)