Linus Probert
b3b8208b11
Adds complete rewrite of lua scripts
...
Lua scripts now build an in memory structure of all the rooms and their
contents before loading this data into the game. This enables better
possibilities to prevent monsters from spawning in bad places. Monsters
can now also spawn in coridoor rooms.
2018-07-31 14:25:29 +02:00
Linus Probert
dff55a1978
Fixes some buggs
...
- Fixes mapbuilder pit loading nullpointer
- Fixes black main menu bg after return to main menu
- Fixes skill sparkling on new game start
2018-06-14 00:12:49 +02:00
Linus Probert
6a9a3bdbcf
Removed some old debug output from pitlayouts.
2018-05-25 13:32:15 +02:00
Linus Probert
33324b6802
Less chance for pits
2018-05-15 14:15:51 +02:00
Linus Probert
524e10ac8f
Adds camera shake.
...
Removed some old buildfiles that had accidentally made it into the repo.
2018-05-13 23:32:44 +02:00
Linus_Probert
cee584832e
Fixed multiple pits in layout file
2018-03-26 13:53:45 +02:00
Linus Probert
0a21a2d915
Adds falling into pits
...
Monsters also avoid pits. Still need more pit layouts and
prevent monsters from "spawning" in pits.
2018-03-25 23:30:26 +02:00
Linus Probert
9feed28357
Initial addition of pits
...
Need more options, tile type to handle damage and death.
Prevent monsters from spawning in pits etc.
2018-03-20 21:54:57 +01:00
Linus_Probert
42fd246185
Add direction to windy rooms in lua
2018-03-16 10:04:43 +01:00
Linus_Probert
07136c70f9
Windy rooms affect player
...
Left a possibility to make it affect projectiles.
2018-03-15 16:30:41 +01:00
Linus Probert
2a3f5aaa6a
Added physfs for file loading and safety.
2018-02-22 12:36:24 +01:00
Linus_Probert
f9443b1468
Hopefully fixes the "exit under decor" problem for the last time.
2018-02-16 09:10:05 +01:00
Linus_Probert
a045ffc07c
Fixes missing lights in coridors and exit under candle
...
Also some improvements to the in game menu handling.
2018-02-13 09:50:52 +01:00
Linus_Probert
8def916504
Nicer menu background
2018-02-09 13:27:25 +01:00
Linus_Probert
73e300e343
Prevent exit from spawning under collidable.
...
Removed "accidental" monster player hits
2018-02-05 16:15:45 +01:00
Linus Probert
60b374f84e
Levele exit and next level load
2017-12-22 06:27:58 +01:00
Linus Probert
80ab804e07
More monsters
2017-12-14 09:48:49 +01:00
Linus Probert
88bcc9c5ad
Lua modules
2017-12-11 20:07:05 +01:00
Linus Probert
9eab032a71
Added some nice lighting to maps
2017-12-11 11:53:18 +01:00
Linus Probert
a1c57b62d0
Lightsources and lightmaps
2017-12-10 19:51:24 +01:00
Linus Probert
f4e24bc8d7
Fixed animated decorations in map
2017-12-08 14:40:33 +01:00
Linus Probert
4a2b709900
Better map visuals
2017-12-08 12:27:36 +01:00
Linus Probert
698c92ae33
Added decorations in lua and core
2017-12-08 09:45:57 +01:00
Linus Probert
577165a0f6
Squelched a bug, fixed a memory leak and wrote a lot of ugly lua.
...
The lua is map-gen code. It's allowed to be ugly. That is why map-gen
code is in lua. Because it's quick to write and not as crucial if it
gets ugly.
2017-12-07 23:58:29 +01:00
Linus Probert
171f8c8b5e
Nicer exits in rooms
2017-12-06 17:00:51 +01:00
Linus Probert
b950673952
Attemptive lua structuring and more mapgeneration code
2017-12-06 16:02:50 +01:00