Question 1...
I have just loaded an image to form a background for adding sprites. I am following the sprite example and modifying it to learn the syntax etc.
I have a background that will appear in the centre of the screen only but cannot find any X,Y to position it. and the smaller (than screen size) image seems to fill the screen.
Do I have to treat the image as a sprite in order to position it?
Or
Do I have to produce a larger image with blank areas?
Question 2...
I notice the loading of sprites uses Sprite.new1 -Spr1.new1 -Spr2.new1.
I am not quite understanding where these names came from or rather were declared, I'm assuming they are names like fred.New1.
A little guidance here should get me going. Thank you.
I have just loaded an image to form a background for adding sprites. I am following the sprite example and modifying it to learn the syntax etc.
I have a background that will appear in the centre of the screen only but cannot find any X,Y to position it. and the smaller (than screen size) image seems to fill the screen.
Do I have to treat the image as a sprite in order to position it?
Or
Do I have to produce a larger image with blank areas?
Question 2...
I notice the loading of sprites uses Sprite.new1 -Spr1.new1 -Spr2.new1.
I am not quite understanding where these names came from or rather were declared, I'm assuming they are names like fred.New1.
A little guidance here should get me going. Thank you.