プレイ日記
*J.P.*[P]£ aj2003aj
ok so, final count hp bar lines of code is 105, plus the going back up, which i cant tell if i will have to do a > for every line of code or if this will work for going back up.. but first ill finish the remaining a lot of code. soon you will get an idea of the games purpose and will be amazed at my creation (lol jk). but once i add everything im guessing it will be around 2500 lines of code.
8そうだね
プレイ済み
返信[1]
親投稿
MSWS coolestkid123
You could've used a FOR loop and made your life 100x easier...
2そうだね
プレイ済み
返信[2]
親投稿
Hanzo rzsense
I recommend you to replace them with the following codes. FOR I=0 TO 9 SPSET 3+I,224,64:SPOFS 3+I,4+15*I,4 NEXT I A=HP DIV 20:B=(HP MOD 20)DIV 5 FOR I=0 TO A-1 SPSET 3+I,240,64:SPOFS 3+I,4+15*I,4 NEXT I IF A<10 && B>0 THEN IF B==1 THEN SPSET 3+A,192,64 IF B==2 THEN SPSET 3+A,208,64 IF B==3 THEN SPSET 3+A,240,64 SPOFS 3+A,4+15*A,4 ENDIF
0そうだね
未プレイ
返信[3]
親投稿
*J.P.*[P]£ aj2003aj
ok, just wondering, in what way is this better then just using what i did? just wondering.
0そうだね
プレイ済み
返信[4]
親投稿
*J.P.*[P]£ aj2003aj
correct me if im wrong but shouldn't there be four B's like a IF B==4 THEN because it all turns out like this (picture)
0そうだね
プレイ済み
返信[5]
親投稿
Hanzo rzsense
Could you tell me U and V coordinates of each heart sprite (empty, 1/4, half, 3/4 and full heart)?
0そうだね
未プレイ
返信[6]
親投稿
*J.P.*[P]£ aj2003aj
ok i think i fixed it, the full heart sprite is 256,64 so i just changed that
0そうだね
プレイ済み