Il sito funziona meglio con JavaScript.
Home
Esplora
lain.church
Aiuto
Registrati
Accedi
tA
/
testingAnimation
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Pull Requests
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
moving sprite, still ugly
master
Thorn Avery
4 anni fa
parent
aa5b06312e
commit
58bd0c46ff
2 ha cambiato i file
con
5 aggiunte
e
4 eliminazioni
Visualizzazione separata
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
src/entry.asm
+4
-4
src/misc.asm
+ 1
- 0
src/entry.asm
Vedi File
@@ -46,6 +46,7 @@ Start:
game_loop:
call Wait_VBlank
call Read_Pad
call PC_Update
call Clear_OAM
ld de, wShadowOAM
ld hl, Player
+ 4
- 4
src/misc.asm
Vedi File
@@ -124,12 +124,12 @@ PC_Update:
jr nz, .last
ld c, 1
.last:
ld a, [
r
PlayerX]
ld a, [Player
_
X
Pos
]
add c
ld [
r
PlayerX], a
ld a, [
r
PlayerY]
ld [Player
_
X
Pos
], a
ld a, [Player
_
Y
Pos
]
add b
ld [
r
PlayerY], a
ld [Player
_
Y
Pos
], a
.end:
ret
Write
Preview
Loading…
Annulla
Salva