957dcca447
Add ability to associate arbitrary BuilderData
with maps.
...
I'm finding that, for best results, I need to integrate everything into my map generation process. So for instance, object/monster spawns need to run as a filter so they can influence future steps.
This associates a `Clone + Default` type with maps and makes it available to filters. `NoData` exists for the current behavior.
All examples/tests/demos have been updated accordingly.
2022-03-12 09:45:42 -06:00
klangner
1ef42b11ad
removed
2021-12-06 10:33:01 +01:00
klangner
d513dcda8f
changed TileType to struct
2021-06-28 17:06:47 +02:00
klangner
1474324a1e
Better map selection. Prepare for prefabs
2021-01-15 14:24:52 +01:00
klangner
56417cf9b4
Metrics Fixed : #20 , Fixed #21 .
2021-01-14 12:18:31 +01:00
klangner
128c8104b2
updated demo
2020-11-19 21:00:36 +01:00
klangner
569d751031
Added maze Fixed #28
2020-11-03 09:04:33 +01:00
klangner
f231a5f4d6
BSP Rooms as an example
2020-10-22 22:35:06 +02:00
klangner
fc1bebb4c3
Create map with the given size
2020-10-19 21:39:30 +02:00
klangner
3334184ad8
Cell size depends on map size
2020-10-19 21:28:01 +02:00
klangner
45c76e18c7
Fixed #13 . Show starting end exit point
2020-10-18 21:40:40 +02:00
klangner
ee8f9aa273
Renamed const to ipper cases
2020-10-18 20:44:08 +02:00
klangner
d6b7c29736
refactore draw_tile
2020-10-18 13:07:36 +02:00
klangner
6d25e17e44
fixed assets location
2020-10-17 22:30:28 +02:00
klangner
633ec7a535
copy assets with webpack
2020-10-17 22:27:05 +02:00
klangner
422ad9ee08
generated demo to gh-pages
2020-10-17 22:22:32 +02:00
klangner
50d25f3103
better walls
2020-10-17 22:11:21 +02:00
klangner
8ba9fa304a
Added tiles. Fixed #11
2020-10-17 21:47:59 +02:00
klangner
e7a02ed91f
Link to github page Fixed #19
2020-10-17 19:22:57 +02:00
klangner
df1e52ad26
Fixed bsp-interior corridors
2020-10-17 18:02:50 +02:00
klangner
3e40de60a5
refactored to new
2020-10-17 12:19:01 +02:00
klangner
8f2c07c4ae
Remove unreachable areas. Fixed #16
2020-10-16 08:13:43 +02:00
klangner
bd7b12e57d
Added seed
2020-10-15 22:24:14 +02:00
klangner
4b8bb89110
refactored MapBuilder
2020-09-25 15:09:08 +02:00
klangner
be1d9e95bb
Added NoiseGenerator
2020-09-23 10:31:13 +02:00
klangner
416cd633eb
updated demo
2020-09-22 20:54:19 +02:00
klangner
a75f565cbb
drunkard implemented
2020-09-16 11:42:59 +02:00
klangner
764233c7cf
Package refactoring
2020-09-16 09:57:59 +02:00
klangner
3b08166867
bsp interior
2020-09-15 22:33:18 +02:00
klangner
394e8203ec
Implemented BSP
2020-09-15 16:23:47 +02:00
klangner
36a72c5789
Random Rooms renamed to Simple Rooms
2020-09-15 08:45:40 +02:00
klangner
16955e02da
new creates Box. Ver 0.2
2020-09-15 07:37:20 +02:00
klangner
eaa2c78d8c
Implemented simple rooms. Fixed #14
2020-09-14 22:54:39 +02:00
klangner
0e40877eab
WIP. Added simple rooms
2020-09-14 20:29:36 +02:00
klangner
ce6a29d899
center canvas
2020-09-14 14:30:59 +02:00
klangner
55aa589355
renamed back to www
2020-09-14 11:47:12 +02:00
klangner
62cc50dbc0
Fixed #15
2020-09-14 11:46:48 +02:00
klangner
05151d8162
New demo working
2020-09-13 14:43:59 +02:00
klangner
a1bb823147
Map generator working in wasm demo
2020-09-13 13:26:36 +02:00
klangner
a0b32a783b
First working version
2020-09-12 15:49:33 +02:00
klangner
dbf765dff4
working webpack
2020-09-12 15:10:35 +02:00
klangner
259006ce56
without bundle
2020-09-12 14:44:37 +02:00
klangner
277a6be1f0
icon fixing
2020-09-12 10:02:57 +02:00
klangner
7401b42790
change tiles
2020-09-08 22:13:51 +02:00
klangner
4cd00f62de
Added exit modifier
2020-09-04 12:47:46 +02:00
klangner
5c0a48953a
Remove unreachable areas
2020-09-03 21:54:24 +02:00
klangner
24bc843e00
Added new tilesets
2020-09-02 14:27:01 +02:00
klangner
31e503faac
Added staring position modifier
2020-09-02 12:01:16 +02:00
klangner
3805372cf2
Cellular automata generator
2020-08-31 22:03:48 +02:00
klangner
8770d8ab77
Basic demo app
2020-08-31 14:13:52 +02:00