-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME
36 lines (27 loc) · 1.29 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
this script generates randomized super mario bros level-like images using
python and a markov chain.
how to run:
./markovio.py
see the output example files if you're just curious what the results look like.
the input level is 5-2. i haven't yet figured out a good way to automate the
"cleaning up" of input maps, so i haven't tried it with other levels.
tree/water/castle levels could be interesting. mixing different levels as
well.
planned improvements:
use the data gathered from the input level to build a level that is of
different dimensions, like, say, WAY bigger. this could be interesting to
actually play, although hacking into an emulator of the original game is
probably not feasible. maybe find some mario-like game that's open source
and is easy to produce level data for? it sure would be cooler if it
really were smb, though.
original map obtained from http://ian-albert.com/misc/smb.php and scaled/
modified to a representational format where one pixel equals one tile, or 16x16
pixels in-game, and each color represents a certain type of tile:
brown = brick/ground
blue = question box
white = cloud
red = spring
grey = pipe
black = bullet bill cannon
light blue = sky
written by nick welch in the year 2009. author disclaims copyright.