Alrighty, I was attempting to recreate a simple 2D tile based engine I had played with long ago, however I've run into a problem.
I was attempting to create a type for my maps. And within each map, there are supposed to be an array of tiles. However, the compiler keeps telling me that this is not possible.
maxmapx as integer = 15
maxmapy as integer = 12
maxmap as integer = 4
type maptype
dim ground[maxmapx, maxmapy] as integer
dim mask[maxmapx, maxmapy] as integer
endtype
dim map[maxmap] as maptype
And erroring out on this line...
dim mask[maxmapx, maxmapy] as integer
Any help would be greatly appreciated!
The voices in my head said I'm normal... o.0