Red box is not pushed back on the right side of the screen. Only left side is worked.
Attach a Capx
http://www.mediafire.com/download/ne7ha ... rmer2.capx
Description of Capx
Basic platformer with custom controls.
Steps to Reproduce Bug
Red box is not pushed back when you run to the right side.
Red box pushed back on both sides when you trying escape from big purple square.
Operating System and Service Pack
Construct 2 Version ID
Is not a bug. You use the position of your sprite in the setting of the vector. So on the left side you have a vector of 0+330 on the ride side 2420-330 that is still a positive vector of 2090. That will kick you out of the right border.
Delete the sprite.x in your 'set vectorX' and it should work.
Thank you! That help. But another thing happened. Now there is no difference between values in "vector X". I can type "-300" or "-2000" but the force of push back will be the same. I need to control distance of pushes.
Develop games in your browser. Powerful, performant & highly capable.
Because your MaxSpeed is set to 330. Change the MaxSpeed to 2000 and you will see a difference between 300 and 2000.