Hi anarchist!
I have not tested this code so if it produces errors let us know which errors appear
Well, I
did paste your code in
scene_init.script after reading your helpful comments and guess what? No errors were identified in the debug.
FANTASTIC! However, I keep getting this behavior from first tree entity (
treebg1.X = 0;
, remember?):
https://ibb.co/gvUr96You see? First treebg2 entity appears in the FAR LEFT (no problem with that) and nearly a second later treebg1 emerges from nowhere.
, or better yet try to solve them yourself first
In the attempt to solve this issue on my own I changed the starting x coordinate of the car entity, however the result turned out to look even more unnatural: first we see both tree entities frozen in the FAR LEFT edge and the car entity drives in to its
SkipTo point from the FAR RIGHT edge and finally trees start moving like they should
My question is -
Is there a way to start the scene with this FAR LEFT edge hidden somehow from our view? Is it possible to shift the "view" a bit to the right in order to conceal the starting points of the trees? Please tell me what you think about this!
This way no one will notice treebg1 teleportation))
Here are the scene files for your kind consideration. This way we both will see what the issue is with those tree entities.
My background image is 2400 X 600 and the scene "view" is 800 X 600. Any ideas about shifting the "view" from the default FAR LEFT background edge to the right?
anarchist,
THANK YOU for your patience and knowledge! I guess it is difficult to understand things that I try to express sometimes (like with this last "view" question). Maybe we perceive the problem from different angles - logical (you) and visual (me). Will really have to reinvent my mind to acquire a programming mind type lol.