Wisp Engine (ISO simplified)

BlitzMax Forums/BlitzMax Programming/Wisp Engine (ISO simplified)

I created a graphics directory for the graphics and a maps directory for the maps and compiled the example on windows and was smooth as butter. Very nice.

Tried it out on the mac and got an "Unhandled Exception:Attempt to index array element beyond array length" error.

After doing some digging I found that in the TISOMap.Load method the

width = ReadInt(Stream)
Height = ReadInt(Stream)

lines both returned 1342177280. Any ideas why?