0 Members and 1 Guest are viewing this topic.
:.TEST:Full:DiagnosticOff:0→K+2→Z+22→X→Y:[222222222222222222222222→GDB1:[221111111111111111111122:[221122000011110000221122:[220000001122221100000022:[220000001122221100000022:[220022000000000000220022:[220000000000000000000022:[222222222222222222222222:[40A0040A205002057EC3BDA5A5BDC37E54FCFCEFFF4A14362A3F3FF7FF52286C22373F777F32684C44ECFCEEFE4C16320040484002000000000202020000000000021202200000000040484004000000]→Pic1:ClrDraw:Repeat getKey=15:If getKey(1):12→P:sub(C:!If {{L1}}=2:!If {{L1}+3}=2:Y+1→Y:2→Z:End:End:End:If getKey(2):0→P:sub(C (<-Left it at zero because negatives mess it up more):!If {{L1}}=2:!If {{L1}+1}=2:X-1→X:5→Z:End:End:End:If getKey(3):1→P:sub(C:!If {{L1}}=2:!If {{L1}+1}=2:X+1→X:4→Z:End:End:End:If getKey(4):0→P:sub(C (<-Left it at zero because negatives mess it up more):!If {{L1}}=2:!If {{L1}+3}=2:Y-1→Y:3→Z:End:End:End:For(S,0,11:For(T,0,7:{T*12+S+GDB1}→P:P^16→Q:P/16→P:If P:Pt-On(S*8,T*8,P-1*8+Pic1:End:If Q:Pt-On(S*8,T*8,Q-1*8+Pic1:End:End:End:Fix 5:Text(70,44,{{L1}}►Dec:Text(80,44,{{L1}+3}►Dec:Text(70,50,{{L1}+1}►Dec:Text(80,50,{{L1}+2}►Dec:Pt-On(X,Y,Z*8+Pic1:Pt-Change(X,Y,(Z+4)*8+Pic1:DispGraph:ClrDraw:End:Fix 0:Fix 4:ClrHome:Return::Lbl C:For(R,0,1:{{L1}+1}→{{L1}+3}:For(O,0,1:(O*7+X)/8→S:(R*7+Y)/8→T:T*12+S+P→Q:If Q^2:{Q+GDB1}^16→{{L1}+O+R}:Else:{Q+GDB1}/16→{{L1}+O+R}:End:End:End
i'M NOT SURE WHAT A SWORD SKILL IS BUT HERE'S THE SWORD ANIMATION FROM THE TWO SPRITES ON PG 13
:.TEST:Full:DiagnosticOff:0→K+2→Z+22→X→Y:[222222222222222222222222→GDB1:[221111111111111111111122:[221122000011110000221122:[220000001122221100000022:[220000001122221100000022:[220022000000000000220022:[220000000000000000000022:[222222222222222222222222:[40A0040A205002057EC3BDA5A5BDC37E54FCFCEFFF4A14362A3F3FF7FF52286C22373F777F32684C44ECFCEEFE4C16320040484002000000000202020000000000021202200000000040484004000000]→Pic1:ClrDraw:Repeat getKey=15:If getKey(1):12→P:sub(C:!If {L1}=2:!If {L1+3}=2:Y+1→Y:2→Z:End:End:End:If getKey(2):0→P:sub(C:!If {L1}=2:!If {L1+1}=2:X-1→X:5→Z:End:End:End:If getKey(3):1→P:sub(C:!If {L1}=2:!If {L1+1}=2:X+1→X:4→Z:End:End:End:If getKey(4):0→P:sub(C:!If {L1}=2:!If {L1+3}=2:Y-1→Y:3→Z:End:End:End:For(S,0,11:For(T,0,7:{T*12+S+GDB1}→P:P^16→Q:P/16→P:If P:Pt-On(S*8,T*8,P-1*8+Pic1:End:If Q:Pt-On(S*8,T*8,Q-1*8+Pic1:End:End:End:Fix 5:Text(70,44,{L1}►Dec:Text(80,44,{L1+3}►Dec:Text(70,50,{L1+1}►Dec:Text(80,50,{L1+2}►Dec:Pt-On(X,Y,Z*8+Pic1:Pt-Change(X,Y,(Z+4)*8+Pic1:DispGraph:ClrDraw:End:Fix 0:Fix 4:ClrHome:Return::Lbl C:For(R,0,1:{L1+1}→{L1+3}:For(W,0,1:(W*7+X)/8→S:(R*7+Y)/8→T:T*12+S+P→Q:If Q^2:{Q+GDB1}^16→{L1+W+R}:Else:{Q+GDB1}/16→{L1+W+R}:End:End:End
Hmmm, interesting. I don't know if this would be an issue with part of it but could possibly some of the detection be off since front and back are 8*8 while the side views are 7*8? I haven't gone over your code to see what kind of collision detection you're using but that might be part of it but I don't know. Other than that though I don't know, still need to look at the code.
1►███████2►███████3►███████4►███████5►███████6►███████7►███████8►███████ ▲▲▲▲▲▲▲▲ 12345678
1►████████2►████████3►████████4►████████5►████████6►████████7►████████8►████████ ▲▲▲▲▲▲▲▲ 12345678
To make a screen shot you need to have something like WabbitEmu, which is in the Downloads section. What I'm saying about the 7*8 is that your side view displays 7*8 sprites instead of 8*8 like the front and back view.I know you are using 8*8 hex, I'm just saying what is being displayed isn't 8*8.
Old code:If getKey(2):0→P:sub(C:!If {L1}=2:!If {L1+1}=2:X-1→X:5→Z:End:End:End...:If getKey(4):0→P:sub(C:!If {L1}=2:!If {L1+3}=2:Y-1→Y:3→Z:End:End:End
New code:If getKey(2):-1→P:sub(C:!If {L1+2}=2:!If {L1+3}=2:X-1→X:5→Z:End:End:End...:If getKey(4):-12→P:sub(C:!If {L1+1}=2:!If {L1+2}=2:Y-1→Y:3→Z:End:End:End
mhmm nice that could eventually be helpful. I never thought about looking at Axe RPG for help. I wonder if it can run much faster without grayscale?