Jaidyn Ann
3db5cdcdd6
Minor refactoring; add accessors
2023-06-16 20:09:35 -05:00
Jaidyn Ann
b31446c0f1
Interact with nearby entities
2023-06-16 14:28:41 -05:00
Jaidyn Ann
0f512e80ea
Switch MAP to being a hash-table instead of a plist
...
Having MAP be a hash-table makes it a little more
mutable (friendly for a game of this structure.
Because, y’know, we… I’m too lazy to explain this.
Read the code. Which I’m pretty sure is illegible.
Sorry… =w=""""") :w:
>o< cries cries cires criesd
2023-06-16 12:41:19 -05:00
Jaidyn Ann
c801a2ddfb
Run INTERACT function mentioned in Tiled map
2023-06-16 12:16:44 -05:00
Jaidyn Ann
c37ce281ea
Split Tiled map-parsing into its own subpackage
2023-06-16 09:36:53 -05:00
Jaidyn Ann
11951c28a4
Support for embedding entities in the Tiled map
2023-06-16 09:00:58 -05:00
Jaidyn Ann
9d7961c6ad
Parse cl-tiled CELL objects into alists
2023-06-15 18:14:39 -05:00
Jaidyn Ann
53f34b4e17
Non-traversable tiles like walls and such
...
Yes, now the player must adhere to the laws of
physics! Weird, right? Really wack? Super-weird?
2023-06-15 11:15:46 -05:00
Jaidyn Ann
b08577b3db
Parse maps with multiple tile-layers
2023-06-14 22:03:55 -05:00
Jaidyn Ann
939a433f32
Better drawing of strange-width NPC/player faces
...
Now entities (like the player) will be drawn more
evenly, even if their faces are ~~owo~~ WEIRD uwu
2023-06-14 16:36:34 -05:00
Jaidyn Ann
f492aa6dba
Movement between map-chunks by walking off-screen
2023-06-13 21:16:31 -05:00
Jaidyn Ann
7f77c4b887
Render the map in bits-and-pieces (chunks)
...
Rather than have several map-files of 72×20 tiles,
now we can have one huge map that's automatically
split into 72×20 chunks.
2023-06-11 17:12:52 -05:00
Jaidyn Ann
987457587b
Draw ASCII people instead of mere one-off chars
...
Isn’t @ worse as a player-character than
[owo]
||
?
2023-06-10 15:29:52 -05:00
Jaidyn Ann
d7e9d66749
Begin movement and entity support
2023-06-09 23:00:26 -05:00
Jaidyn Ann
32c95c3725
Use state return-values for overworld loop
2023-06-09 20:14:31 -05:00
Jaidyn Ann
0cfd2deae0
Rename state-loop’s loop functions to “state-functions”
...
Also document all current state-functions.
2023-06-09 16:17:21 -05:00
Jaidyn Ann
94335468b3
Begin overworld-rendering loop
...
It draws to the screen, now! Err, well, it has
been able to do that, since my first day on
this project. But until now, there wasn't a
menu leading you there! c:<
2023-06-09 07:07:28 -05:00