George Oliver
7db1719c3a
added bounds and walkable test in move action
...
simplified vector-ref'ing
2020-06-30 20:39:35 -07:00
George Oliver
b3008eeb53
successful world rendering
2020-06-29 22:11:28 -07:00
George Oliver
d55418016c
defined world and tiles, and a rect grid over the screen to blit to
2020-06-29 00:03:58 -07:00
George Oliver
7043862e74
defined move action and temporary view/game boundary
2020-06-28 19:36:36 -07:00
George Oliver
e1df15da6b
basic loading of CP437 tile sheet chars,
...
into mapping of hex char code -> SDL surface
2020-06-28 16:36:32 -07:00
George Oliver
cdd659e3df
starting to think about a grid of screen rects
2020-06-25 22:21:27 -07:00
George Oliver
1c51818506
an experiment where each thing has a glyph and a rect
2020-06-25 22:01:39 -07:00
George Oliver
c4e524f5cb
now clearing screen in between game updates, moved fg/bg to constants
2020-06-21 17:10:40 -07:00
George Oliver
2eec54144c
Added basic by pixel arrow key navigation
2020-06-21 13:50:26 -07:00
George Oliver
53c3a83c18
created an actor thing with game x, y position to render to center of screen
2020-06-21 12:40:52 -07:00
George Oliver
71805a9e37
Added test font and rendered test glyph '@' to screen.
...
sdl2-ttf may have a bug in its type declaration for render-glyph
functions but it's easy to work around for now, and I'll probably
switch to using bitmap fonts anyway.
2020-06-20 23:39:54 -07:00
George Oliver
effe2ad4ea
Simplified call to main for now.
2020-06-20 23:38:42 -07:00
George Oliver
321302f0ef
created a SDL skeleton to show a window and quit on exit.
...
the main loop runs when launching the compiled file.
2020-06-20 03:10:29 -07:00
George Oliver
9b43c9c5bb
created hello world.
...
It prints when compiled but not when interpreted.
2020-06-18 22:37:28 -07:00
George Oliver
0fad182fac
created repo
2020-06-18 20:01:09 -07:00