Im not sure i understand what you mean. Once i stop the left speed, its stopped permanently. Even after i move up above the wall. I can still go right and up and down but not left. I know that i could add another if then statement
if cy<200 then lxspeed=2
this says if sprite ones y (cy) is above the top of the wall than it gets its speed back.
that would work...but since my barrier is a rectangle i would have to do that to the top the left and the bottom sides of sprite 50.
i was wondering if maybe i could just do it in one single "then" like maybe have a different set of variables for the x and y (like hitx and hity) for when sprite 1 hits sprite 50. But i cant figure that way out.
The reason I dont want to use the way ive been experimenting with, is because im going to have to do this to alot of sprites. But ill do it if its the only way...
I also had another idea, I could have sprite 50 which is rectangular, sit in the one spot, while sprite like 51 (just a strait invisable line) would gaurd the top of sprite 50. but if i did that i would need to have 4 sprites for every one sprite i had.
(4 sides to cover)
Wait....now im onto somethin', I could have 8 line sprites. 4 of them gaurd one collision spot. And the other 4 gaurd another collision spot. (if there is one) This way would work but I would need to position the lines pretty well. This shouldnt be too hard. Also, if the line sprite is like 50 pixels across and i need to use it to cover a 20 pixel sprite, i can just use resize sprite.
There are my ideas, Ill start experimenting with them.
Weird = Unique. Unique = Human.
Im human.