Okay, now that I used JUST the concerned actors, without any others, it worked. So the problem must be in the additional elements. I guess it is the rider. Indeed, I tried out 2 different kinds of code to make him move forward.
On the rider, draw actor:
And it did not work.
The other thin I tried was to make the ground moving by adding to its draw acor event:
This way, the view remained where it was and only the ground moved, giving the illusion we follow the rider on his course.
It did not work either. There must be a thing I missed to do in either both or one of these solutions. It may be also be realted to the fact, that the rider actor is replaced by the jumping rider actor several times durung game?
[/quote]
On the rider, draw actor:
- Code: Select all
x = x - 5;
- Code: Select all
view. x = -490;
view.y = -400;
And it did not work.
The other thin I tried was to make the ground moving by adding to its draw acor event:
- Code: Select all
x = x + 5;
This way, the view remained where it was and only the ground moved, giving the illusion we follow the rider on his course.
It did not work either. There must be a thing I missed to do in either both or one of these solutions. It may be also be realted to the fact, that the rider actor is replaced by the jumping rider actor several times durung game?
[/quote]