Commit Graph

130 Commits

Author SHA1 Message Date
Steffen
b6a9e2f180 Changed the switch object, its graphics and physics should work now(untested). Objects without physics also do not need damping values anymore. 2015-02-07 19:34:40 +01:00
Steffen
3e8689aae2 Made None an available physicsType for objects without physics. 2015-02-07 19:23:27 +01:00
Steffen
e39adf56ed objectData now has a new value called renderable, if it is false the object will not get rendered. 2015-02-07 19:09:49 +01:00
Steffen Fündgens
ff5bd0dae1 Merged physics.cc. 2015-02-06 18:04:20 +01:00
sfroitzheim
4978869f82 Finally fixed wall and gate physics plus made some heightmap modifications 2015-02-06 16:31:21 +01:00
Steffen Fündgens
8be350c713 Added terrain parameters to the xml. 2015-02-06 12:37:00 +01:00
Steffen Fündgens
ecca21754b Added a comment and changed dampning values that were randomly 1. 2015-02-03 13:21:52 +01:00
Steffen Fündgens
8f3875a1c0 Adjusted a composition, found out that all TriMeshs fall through the heightmap. 2015-02-03 13:10:14 +01:00
Steffen Fündgens
df884666b5 Scaling of the player ball is now possible. 2015-02-03 12:36:42 +01:00
Steffen Fündgens
c57d73317c Added scaling to the physic of Box and Button. Adjusted the objectData for block.obj perfectly. 2015-02-03 12:29:35 +01:00
Steffen Fündgens
a018d5f547 Added and tested physics boxes for the switchOuter. Graphical object to match them is missing. 2015-02-02 13:20:20 +01:00
Steffen Fündgens
dbd61cd27e Removed unnecessary rotation from a lightsource. 2015-02-02 12:40:25 +01:00
sfroitzheim
3278bf5302 Added some new walls and changed some physics properties (still not working properly) 2015-01-30 15:28:09 +01:00
sfroitzheim
6b00c574b8 Added new ground tiles for a ruins area to the data 2015-01-30 14:15:07 +01:00
Jasper
b21b9e3636 fixed size ratios of objects 2015-01-29 13:39:37 +01:00
sfroitzheim
fcbc228438 Fixed some problems with the new bridge (wasn't able to roll onto it) and changed some heightmap heights 2015-01-28 15:49:38 +01:00
sfroitzheim
b957ba27bd Added a model for a gate and added it to the scene with some additional level improvements 2015-01-28 15:19:35 +01:00
Steffen Fündgens
ccc7cbaa9c Deleted a torch that had a duplicate ID and let the converter recreate it. Shadows look weirder now. This might be good for debugging the shadows. 2015-01-27 12:25:16 +01:00
sfroitzheim
06002f78b6 Added some walls to the scene properly (weird physics bugs are apparent) 2015-01-23 14:56:02 +01:00
sfroitzheim
73704434b1 Fixed merge conflicts. 2015-01-23 14:10:35 +01:00
sfroitzheim
0d185fd924 Merge branch 'master' of https://github.com/Faerbit/swp
Conflicts:
	Levels/ObjectSetups/Compositions.xml
	Levels/ObjectSetups/Level1.png
	Levels/ObjectSetups/Level1.xcf
	Levels/ObjectSetups/Level1.xml
2015-01-23 14:06:20 +01:00
sfroitzheim
16db3fcc72 Merge branch 'master' of https://github.com/Faerbit/swp
Conflicts:
	Levels/ObjectSetups/Level1.xml
2015-01-23 13:56:40 +01:00
Jasper
adf355cc46 constraints work. Why? because i said so! 2015-01-23 12:59:28 +01:00
Jasper
bea8436a8d Merge branch 'master' of github.com:Faerbit/swp 2015-01-19 18:30:12 +01:00
Jasper
2f980e678c Added light block and changed physics parameters. 2015-01-19 18:28:28 +01:00
sfroitzheim
1e6942ae37 Added some walls and made some fixes (there are too many walls, I will fix this till tomorrow) 2015-01-19 16:47:17 +01:00
Steffen Fündgens
a4b734ac5b Merge branch 'master' of github.com:Faerbit/swp 2015-01-19 15:55:18 +01:00
Steffen Fündgens
3f33d6cf86 Added rotation in Compompositions.xml. 2015-01-19 15:55:03 +01:00
Jasper
25c6c6b6e1 small changes to trimesh scaling 2015-01-19 15:33:44 +01:00
sfroitzheim
8c5d485101 Merge branch 'master' of https://github.com/Faerbit/swp
Conflicts:
	Levels/ObjectSetups/Level1.xml
2015-01-19 15:18:34 +01:00
sfroitzheim
1de9e862d0 Added improved starting bridge version 2015-01-19 15:15:18 +01:00
Jasper
0d101a3e4b fixed the issue with shpere portruding into blocks 2015-01-19 15:11:56 +01:00
sfroitzheim
57fbc655ab Added torch for testing. 2015-01-19 13:59:50 +01:00
Steffen
0184a1684a Updated scripts and added scripts for opening the door in Level1 2015-01-17 13:37:09 +01:00
Steffen
abf382a70e Added new composition 2015-01-17 12:38:27 +01:00
Steffen
acd847921d Added ignoreHeightmap option to compositions in Compositions.xml. 2015-01-17 12:24:54 +01:00
Steffen Fündgens
7935b6aa0c Merge branch 'master' of github.com:Faerbit/swp 2015-01-16 16:52:11 +01:00
Steffen Fündgens
476c40cb00 started working on an actual trigger for Level1 2015-01-16 16:52:04 +01:00
Steffen Fündgens
956da26624 moved the triggered/not triggered information to lua 2015-01-16 16:51:36 +01:00
sfroitzheim
44d7d4f107 Fixed a few bugs like duplicate marble(bridge will be fixed at monday) 2015-01-16 16:47:55 +01:00
sfroitzheim
b5937ce772 Merge branch 'master' of https://github.com/Faerbit/swp 2015-01-16 16:38:24 +01:00
sfroitzheim
036a9cb365 Additional changes with the heightmap 2015-01-16 16:37:00 +01:00
Jasper
86fd4a6123 Fixed block so that it doesnt BLOW EVERYTHING UP! 2015-01-16 15:40:07 +01:00
sfroitzheim
3636be675a Improved level heightmap (still not finished though) 2015-01-15 15:09:42 +01:00
Steffen Fündgens
5ce1b3a86d Triggers now adapt if the object they want to do something with gets deleted or changes its index. 2015-01-13 18:18:13 +01:00
Steffen Fündgens
78aef93eef Added and used a new trigger without recompiling, scripting really works. :) 2015-01-13 17:52:31 +01:00
Steffen Fündgens
b09451092b Now passing the Lua State to the physics, so that Lua can directly access physics functions. 2015-01-13 17:50:15 +01:00
Steffen Fündgens
74d45e7d38 Lua script works now, worked around the bug by saving the name as a std::string. 2015-01-13 17:21:15 +01:00
Steffen Fündgens
76b8b3bc03 Moved triggering to lua, got a strange bug with the const char* holding the name of the lua script. 2015-01-13 13:52:22 +01:00
Steffen Fündgens
6f30050403 Integrated Lua into our project. Triggers are now able to call a Lua Script. Havent figured out how to let the Script do anything usefull yet. 2015-01-09 16:51:28 +01:00