Prev Previous Post   Next Post Next
Old 11-06-2010, 09:13 AM
Redwolfhome's Avatar
Redwolfhome Redwolfhome is offline
Junior Member
Join Date: Mar 2010
Location: Germany
Posts: 91

And now a description for developers
We use one big array and in this array stood a array for each x coorinate
and in this array stood each y pixel...
For example:
level1 = {{0,0,0,0,0,0,1,1,1,1,0,0,0,0,0},{0,0,...},...}
The First array is for the main array the second is for the first x point. Its content this points:
X:0 Y:0
X:0 Y:1
X:0 Y:2
And so on
And there are also different numbers:
0 = nothing (background) = grey
1 = stone =black
And i have written a program which parse colors (see above) and convert this colors to numbers. See screenshot of a piece of map:


If you have other questions just ask
Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 04:52 PM.