トピック
TekeMan gameboyfan12345

Several Questions, Answers Needed!

1. Is there a way to print Text over sprites as they move around? If so how? 2. Is there collision between background tiles and sprites? If so, how? (Please include screen shots)
0そうだね
プレイ済み
返信[1]
親投稿
こうやま kouyama1435
Not only X and Y,Petitcom 3D has position "Z" between 1024 and -256. *Text - [LOCATE X,Y] or [LOCATE X,Y,Z]. *Graphic - [GPRIO Z] togather. *Sprite - After [SPOFS S,] or [SPANIM S,"XY",],same to LOCATE. *BG - After [BGOFS L,] or [BGANIM L,"XY",],same to LOCATE.
0そうだね
未プレイ
返信[2]
親投稿
Hanzo rzsense
Could you refer to the codes in DKW3EVKV? Please download it asap because I'll keep it on the cloud server temporarily. In my method, texts are printed(drawn) as a sprite to move smoothly as main sprite move around. I recommend you to use BGCOORD and BGGET in order to detect collision between BG tiles and sprite. I'm sorry I cannot attach screen shots here because of region lock.
0そうだね
未プレイ
返信[3]
親投稿
SıмΞоп SimeonW
Answer 1: Advice: Replace: LOCATE 5,7 PRINT "HELLO WORLD!" with GPUTCHR 5*8,7*8,"HELLO WORLD!" It is literally the exact same graphics wise, but it draws it on a graphics page with z being 513 So make a Sprite with offset anything lower than 513 and it will show up above the text
0そうだね
プレイ済み