プレイ日記
Aaron Krondelo
How do you get sprites onto the bottom screen!? I've already set XSCREEN and DISPLAY 1
0そうだね
プレイ済み
返信[1]
親投稿
King 5kittens645
I think all you need is DISPLAY 1 because i only used that for one of my games. It should work, hopefully.
0そうだね
プレイ済み
返信[2]
親投稿
Aaron Krondelo
Hmm yeah I did that, and then tried setting the Y-position to something like 300-600 and it would just disappear. Let me check again and make sure I didn't overlook something.
0そうだね
プレイ済み
返信[3]
親投稿
Aaron Krondelo
Actually I get an 'illegal function call' if I even use SPOFS after DISPLAY 1! What the heck it shouldn't be this hard! :(
0そうだね
プレイ済み
返信[4]
親投稿
King 5kittens645
Huh, I'm not sure what the problem is? I wish i knew but i'm not very good at programming to begin with so sorry.
1そうだね
プレイ済み
返信[5]
親投稿
V360 TheV360
What does your XSCREEN command look like? If it's like XSCREEN [mode],512,[bg] then it means that you're allocating all 512 available sprites to the top screen and leaving 0 for the bottom screen. Try changing 512 to 256.
0そうだね
プレイ済み
返信[6]
親投稿
Aaron Krondelo
@King It's okay, thanks for trying! @V360 Actually I didn't allocate any, it's just XSCREEN 2. I'm not having any problems on the top screen, perhaps I need to allocate some for the bottom?
0そうだね
プレイ済み
返信[7]
親投稿
Aaron Krondelo
Darn, I tried XSCREEN 2,128,4 it still won't let me use SPOFS after DISPLAY 1 without getting that error. If I do it without Display 1 then it just won't show up on the bottom screen.
0そうだね
プレイ済み
返信[8]
親投稿
V360 TheV360
Could you show a screenshot of your code?
0そうだね
プレイ済み
返信[9]
親投稿
Aaron Krondelo
At the top.
0そうだね
プレイ済み
返信[10]
親投稿
Aaron Krondelo
Cont'd: Here is where I was getting the illegal function call.
0そうだね
プレイ済み
返信[11]
親投稿
V360 TheV360
Did you define the sprite while on DISPLAY 1? There can be two different sprites with the same ID on two different screens. (if i remember correctly) Also, 0,0 is the origin for the bottom screen, so you don't need coordinates > 240
1そうだね
プレイ済み
返信[12]
親投稿
Aaron Krondelo
Oh wow, didn't know there could be 2 with the same ID. That must be the problem! Thanks, I will try that.
0そうだね
プレイ済み
返信[13]
親投稿
Aaron Krondelo
That fixed it, thankyou!
1そうだね
プレイ済み
返信[14]
親投稿
*J.P.* DEV NEWPICY3
dang i could have helped earlyer with this... next time.. :/
1そうだね
プレイ済み