View Code? Open in Web Editor
NEW
A WIP RPG written in python
Home Page: https://webmsgr.github.io/feathergame/
License: Other
Python 98.80%
Shell 1.20%
feathergame's Introduction
feathergame's People
Contributors
Stargazers
Watchers
feathergame's Issues
add new tile file
|
# @todo make loadmap use loaded tiles and make tile file |
|
# @body add new tile file |
|
cdef loadmap(mapname,tilesloaded=[]): |
|
mapdata = numpy.load(mapname+".npz") |
|
tiles = mapdata["tiles"] |
This issue was generated by todo based on a @todo
comment in 710d1e4. It's been assigned to @webmsgr because they committed the code.
|
# @todo make more tiles |
|
cpdef makedefaulttiles(tilesize): |
|
tilesize = (tilesize,tilesize) |
|
blacktile = pygame.Surface(tilesize) |
This issue was generated by todo based on a @todo
comment in 8fa3077. It's been assigned to @webmsgr because they committed the code.
|
# @todo add loadtile function |
|
|
|
cpdef main(int maxfps = 60,int sctile = 32,int tilesize = 16): |
|
"""Main Game""" |
|
cdef (int,int) tilet = (tilesize,tilesize) |
|
cdef int mx = 0,my = 0,mtx = 0, mty = 0 |
This issue was generated by todo based on a @todo
comment in 31784a8. It's been assigned to @webmsgr because they committed the code.
This issue was generated by todo based on a @todo
comment in 3fa1ef7. It's been assigned to @webmsgr because they committed the code.
show the selected tile at 50% opacity at mouse location (mtx,mty)
|
# @todo Add Tile Cursor |
|
# @body show the selected tile at 50% opacity at mouse location (mtx,mty) |
|
cpdef main(int maxfps = 60,int sctile = 32,int tilesize = 16): |
|
"""Main Game""" |
|
cdef (int,int) tilet = (tilesize,tilesize) |
This issue was generated by todo based on a @todo
comment in 1c3ed07. It's been assigned to @webmsgr because they committed the code.
|
# @todo finish adding all of the properties of tiles |
|
cpdef makedefaulttiles(tilesize): |
|
blacktile = pygame.Surface((tilesize,tilesize)) |
|
blacktile.fill(black) |
|
whitetile = pygame.Surface((tilesize,tilesize)) |
|
whitetile.fill(white) |
This issue was generated by todo based on a @todo
comment in 31784a8. It's been assigned to @webmsgr because they committed the code.
|
# @todo FIX SAVING AND LOADING |
|
cdef savemap(map,filename,ltiles): |
|
tiles = [] |
|
cdef int x,y |
|
new = numpy.array(map).tolist() |
|
for y in range(len(map)): |
This issue was generated by todo based on a @todo
comment in b4a0707. It's been assigned to @webmsgr because they committed the code.
should be easy
|
# @todo add load all tiles/make default tiles |
|
# @body should be easy |
|
cdef (int,int) tilet = (tilesize,tilesize) |
|
cdef int mx = 0,my = 0,mtx = 0, mty = 0 |
|
pygame.init() |
This issue was generated by todo based on a @todo
comment in 710d1e4. It's been assigned to @webmsgr because they committed the code.
black and white is old school, add a keybind that switches the current tile
|
# @todo Add tile switcher to use more tiles |
|
# @body black and white is old school, add a keybind that switches the current tile |
|
cpdef main(int maxfps = 60,int sctile = 32,int tilesize = 16): |
|
"""Main Game""" |
|
cdef (int,int) tilet = (tilesize,tilesize) |
This issue was generated by todo based on a @todo
comment in 93f6766. It's been assigned to @webmsgr because they committed the code.