blank 12*12 2d grid game engine! - 1
Basically writes the pygame screen from a 2d array.
dylan
(dylan157)
This program is the basic foundations to a grid orientated game such as a dungeon crawler or chess.
It reads from a 2d array and writes to the screen.
Eg,
list = [['@'],['@']]
dict = {'@':'ground.jpg'}
for row in list:
for block in row:
screen.blit(dict[block],(x,y))
Changes
This program is the basic foundations to a grid orientated game such as a dungeon crawler or chess.
It reads from a 2d array and writes to the screen.
Eg,
list = [['@'],['@']]
dict = {'@':'ground.jpg'}
for row in list:
for block in row:
screen.blit(dict[block],(x,y))
Links
Releases
blank 12*12 2d grid game engine! 1 — 6 Jul, 2017