January 2018 release
tkoeppe
released this
26 Jan 14:18
·
372 commits
to master
since this release
New Levels:
-
Psychlab, a platform for implementing classical experimental paradigms from
cognitive psychology.- contributed/psychlab/sequential_comparison
- contributed/psychlab/visual_search
New Features:
- Extend functionality of the built-in
tensor
Lua library. - Add built-in
image
Lua library for loading and scaling PNGs. - Add error handling to the env_c_api (version 1.1).
- Add ability to create events from Lua scripts.
- Add ability to retrieve game entity from Lua scripts.
- Add ability create pickup models during level load.
- Add ability to update textures from script after the level has loaded.
- Add Lua customisable themes. Note: This change renames helpers in
maze_generation
to be in lowerCamelCase (e.g.MazeGeneration
->
mazeGeneration
). - The directory
game_scripts
has moved out of theassets
directory, and
level scripts now live separately from the library code in thelevels
subdirectory.
Minor Improvements:
- Remove unnecessary dependency of map assets on Lua scripts, preventing
time-consuming rebuilding of maps when scripts are modified. - Add ability to disable bobbing of reward and goal pickups.
- The setting
controls
(with valuesinternal
,external
) has been renamed
tonativeApp
(with valuestrue
,false
, respectively). When set to
true
, programs linked againstgame_lib_sdl
will use the native SDL input
devices. - Change LuaSnippetEmitter methods to use table call conventions.
- Add config variable for monochromatic lightmaps ('r_monolightmaps'). Enabled
by default. - Add config variable to limit texture size ('r_textureMaxSize').
- api:modifyTexture must now return whether the texture was modified.
- Add ability to adjust rewards.
- Add ability to raycast between different points on the map.
- Add ability to test whether a view vector is within an angle range within a
oriented view frame.
Bug Fixes:
- Increase current score storage from short to long.
- Fix ramp jump velocity in level lt_space_bounce_hard.
- Fix Lua function 'addScore' from module 'dmlab.system.game' to allow
negative scores added to a player. - Remove some undefined behaviour in the engine.
- Reduce inaccuracies related to angle conversion and normalization.
- Behavior of team spawn points now matches that of player spawn points.
'randomAngleRange' spawnVar must be set to 0 to match previous behavior.