プレイ日記
Jackson JacboyX
I can't put in more than one sprite sheet. This is stupid! The game requires multiple sprite sheets, I can't cobble it all together!
0そうだね
プレイ済み
返信[1]
親投稿
dfrost 4311df
You should make it conditional. IF LEVEL>(something) AND NUM=0 THEN LOAD"GRP4:SP2",):NUM=1 the NUM part is make sure it only loads once.
0そうだね
プレイ済み
返信[2]
親投稿
Akeem BAAD317
You could load the spritesheet that you need on a graphic page that you aren't using ex: LOAD"GRP2:EX",0 Then use GCOPY to copy the sprites you need. ex GCOPY 2,0,0,16,16,0,0,True at least, that's one way.
0そうだね
プレイ済み
返信[3]
親投稿
Random guy spncrjhn
you can load one sprite sheet then later another.
0そうだね
プレイ済み
返信[4]
親投稿
Jacob KulcakKid4
Cipher, I thought you had left?
0そうだね
プレイ済み
返信[5]
親投稿
Jackson JacboyX
Can anyone demo that?
0そうだね
プレイ済み
返信[6]
親投稿
Akeem BAAD317
This is the sort of thing that I was talking about, where you copy the sprites from sheets loaded on different graphics pages. This way, you dont have to redraw the same sprites on different files when you need the same sprite throughout your program.
0そうだね
プレイ済み
返信[7]
親投稿
Jackson JacboyX
So copying the sprites on the GRP0-GRP3 Pages and pasting them on the GRP4 Screen. Alright, there are different character sheets. Let's see if I can't pull it off.
0そうだね
プレイ済み
返信[8]
親投稿
Jackson JacboyX
It works. But how do I get rid of the background?
0そうだね
プレイ済み
返信[9]
親投稿
Akeem BAAD317
Sorry, Try changing the True to False (or 0) Ex: Gcopy 2,0,0,128,128,0,0,False or Gcopy 2,0,0,128,128,0,0,0 to omit the transfer of the transparent background.
0そうだね
プレイ済み
返信[10]
親投稿
Jackson JacboyX
I think I found a way to use my sprites in the different levels. I can use separate sprite sheets for each level containing everything. Including the boss. Sound like an idea?
1そうだね
プレイ済み
返信[11]
親投稿
dfrost 4311df
yep.
0そうだね
プレイ済み
返信[12]
親投稿
Lumage Lumage
Entire separate sheets can get huge. If your levels have some amount of sprite reuse, you should group sprites by association, maybe arranging them in commonly-sized blocks on each sheet. Using a mario example, one file might have the animation set for goombas, koopas, red koopas, and koopa paratroopas, and another contains buzzy beetles, spineys, lakitu, and hammer brothers.
0そうだね
未プレイ
返信[13]
親投稿
Lumage Lumage
when a sublevel is loaded it has a list of resources that it needs. Ex: We need the player, goomba and buzzy beetles, so following Akeem's GCOPY method we load the player sprites into an unused page and copy the relevant ones to the sprite page, load the first enemy sheet and copy the goomba block to the sprite page, and load the second enemy sheet and copy the BBs to the sprite page.
0そうだね
未プレイ