プレイ日記
Stewart segludian
Here is an attempt at background scolling. I thought it might be useful to others. Let me know if you see any bugs.
7そうだね
プレイ済み
返信[1]
親投稿
Tuiridh V. Tuiridh
Thanks! I'm really new to coding, can I input an image as a bg or have to use it as a data file?
0そうだね
プレイ済み
返信[2]
親投稿
Stewart segludian
You can load an image and put it on the drawing page with something like the attached. If you just want to change the background tileset you could add something like load "grp5:<filename>", false. The background would ideally not just be random stuff too. You would be better of reading that from file or data statements instead.
1そうだね
プレイ済み
返信[3]
親投稿
Tuiridh V. Tuiridh
Okay this great! Are image values always GRP5? What do you mean reading the bg from file or data statements?
0そうだね
プレイ済み
返信[4]
親投稿
Stewart segludian
I think background tiles are grp5, and sprite images are grp4. I was just saying you would want to have a background layout that was purposeful instead of just random tiles.
0そうだね
プレイ済み