0 Members and 3 Guests are viewing this topic.
Does Axe not allow you to manipulate more than one appvar at a time? I'm getting some really strange bugs when I do. I have 2 appvars that I create in RAM. One is the appvar for the current generated floor in my game. The second appvar is supposed to be another map that I am going to use in my AI calculation that I call DistMap. I running across several strange bugs with Axe when I do this. If I create both appvars at the same time, I am no longer able to manipulate the DistMap appvar if I do anything with the Floor appvar. In this case all I am trying to do is fill it with some value for now. If I instead create the DistMap appvar whenever I press a button (down in this case), the tilemap gets corrupted somehow. Or rather, it seems as if the 2 pointers are getting mixed up somehow. Because when I try to move down a bunch of corrupted tiles are scrolled in instead. Any ideas?
~8->{°MobOX+Mob}
Lbl AnimateMob For(I,0,Mobs-1) °MobArray+(I*4)->Mob If {°MobOX+Mob}>>0 {°MobOX+Mob}-- End If {°MobOX+Mob}<<0 {°MobOX+Mob}+1->{°MobOX+Mob} End If {°MobOY+Mob}>>0 {°MobOY+Mob}-- End If {°MobOY+Mob}<<0 {°MobOY+Mob}+1->{°MobOY+Mob} End EndReturn
-8→{°MobOX+Mob}
L1+00->->°MyVar
42->MyVar