Posts: 2,340
Threads: 78
Joined: Mar 2008
spawn a big picture facing right (facing: 10)
move it to the back (hit_j: 1 inside the type 3 object)
stick it to the left of the screen (state: 9997 centerx: 9999)
Thanks given by:
Posts: 2,340
Threads: 78
Joined: Mar 2008
You need a type 3 object (like dennis_ball for example) that has a sprite with your large background image.
If you just opoint that it will cover everything behind it. To move it up the z axis type 3 objects use hit_j.
hit_j: 50 is neutral (no movement)
anything above is down (you will see dennis and davis_ball use hit_j: 51)
and numbers below are up (again some lf2 blasts use hit_j: 49)
the fastest up you can get is hit_j: 1
This will stick your object to the top border of the background, thus behind most other objects.
opointing the whole thing with facing: 10 just makes sure it is always facing right (in case you don't want your image to be mirrored)
and the state: 9997 centerx: 9999 (in the type 3 object) sticks it to the left of the screen
(the state is used for come/stay/move commands - the centerx value together with the right facing opoint makes sure the actual sprite position is always somewhere to the left of the screen; thus sticking it to the edge like a message)
You may not want all of these features depending on what you are doing.