Commit Graph

70 Commits

Author SHA1 Message Date
Benau
1ee2f01fbc Allow moving library object with physical body 2019-12-13 23:52:39 +08:00
Benau
edb338da88 Fix #4088 2019-10-10 15:56:18 +08:00
Benau
ebf95ee958 Use monotonic clock to avoid system time changes 2019-05-06 15:17:19 +08:00
Benau
3cee39aff7 Remove physics only invisible objects after joining 2019-03-03 01:54:43 +08:00
Benau
9b4b283c4c Add check trigger to replace item trigger 2019-02-27 11:31:19 +08:00
Benau
510d221fbc Add updateGraphics for track object presentation 2018-10-11 16:23:20 +08:00
Benau
6478a0714d Fix multiplayer sound keep playing 2018-09-30 14:06:40 +08:00
Benau
7797115867 Add SP for correct normal and easier shader system 2017-12-25 14:00:10 +08:00
Benau
7ab8477a53 Reserve onReset of scripting method for library nodes (unused atm) 2017-12-02 15:24:36 +08:00
Benau
628bc7ce50 Allow light to be disabled by scripting 2017-11-04 14:01:47 +08:00
Benau
ea97258b65 Add scripting code for throwing banana monkeys 2017-08-09 12:23:37 +08:00
auria.mg
7234caffd9 Fix travis build 2017-01-19 21:11:44 -05:00
auria.mg
52fff152de Scripting : add support for "onStart" callbacks in library objects 2017-01-19 21:03:09 -05:00
Benau
3105407b2f Remove error when dropping tires in battle mode when kart dead 2017-01-11 13:33:54 +08:00
Benau
6a142e8d2e Allow animated models in track to have different animation 2016-12-24 13:11:08 +08:00
Benau
f07452842d Add support for colorizing library objects using material.xml only 2016-08-17 11:57:18 +08:00
Benau
53374176ad First try to support colorization texture mask 2016-07-15 00:53:22 +08:00
Marianne Gagnon
2252495fdc Scripting refactor : add new property animator helper, transfer light animations to this new animator class. Can be used in the future to animate more properties 2015-12-05 19:42:06 -05:00
Marianne Gagnon
66909086fd Scripting : allow smoothly animating lights 2015-10-27 19:08:12 -04:00
Marianne Gagnon
953c29089e Scripting : start adding features to control light objects 2015-10-27 18:33:54 -04:00
Marianne Gagnon
0cce586c87 Fix animated physics-only objects. Fixes #2292 2015-08-25 19:14:10 -04:00
Deve
63249309c3 Fixed compiler warning.
Previously address of local variable was returned.
2015-08-12 19:23:38 +02:00
Marianne Gagnon
d488c043d1 Continue work on scripting, fixing #2268. Use this as an opportunity to clean up a lot of old hardcoded overworld code, and replace it with cleaner scripting. Make sure to update SVN and the exporter (other commits in SVN coming soon) 2015-08-09 21:38:01 -04:00
Marianne Gagnon
43d5dbeb3e Implement setEnabled method for sound track objects, fixes warnings on terminal and fixes hiding objects containing sounds from scripting 2015-08-07 18:26:37 -04:00
Marianne Gagnon
675b0b9458 Improve scripting error handling, more work on different shapes for collision triggers 2015-07-17 19:18:12 -04:00
Marianne Gagnon
77fac34e41 More cleanup to remove hardcoded things in favor of scripting, and start work to allow for more action trigger shapes (work in progress) 2015-07-13 20:27:16 -04:00
Marianne Gagnon
1ceb05c2cb More scripting functions to control particles 2015-06-28 19:10:43 -04:00
Marianne Gagnon
f992b864e1 More work on moving track objects via scripting 2015-06-25 19:33:28 -04:00
Marianne Gagnon
b3cc5f9f0d Try to fix Travis build 2015-06-15 20:09:22 -04:00
Marianne Gagnon
fa027c11da Work on hiding/showing library nodes (especially when they contain movable children, which are a special case) 2015-06-15 19:44:31 -04:00
Marianne Gagnon
bd006c875e Let track objects know what library object they are part of, paving the way for scripting to interact with library objects 2015-06-03 20:34:58 -04:00
Marianne Gagnon
a29fa5c4a3 More work on scripting 2015-05-10 19:19:35 -04:00
hiker
8d07d26c25 Updated (c) year to include 2015. 2015-03-30 11:42:50 +11:00
Marianne Gagnon
5e34ac3a44 Fix bug #2037 (objects in library objects with curve animations not working) 2015-03-18 21:48:22 -04:00
hiker
cab6149193 Cosmetic change for coding style (removed 2 unnecessary constructors). 2015-03-01 22:46:03 +11:00
Marianne Gagnon
139f20b39d Merge remote-tracking branch 'sachith/ScriptEngine'
Conflicts:
	CMakeLists.txt
	sources.cmake
	src/io/file_manager.cpp
	src/io/file_manager.hpp
	src/modes/world.hpp
	src/tracks/track.hpp
	src/tracks/track_object_presentation.cpp
2014-10-27 18:43:09 -04:00
Marianne Gagnon
9b46cdc981 Refactor library nodes to be proper TrackObjects, allows animating them with curves 2014-10-18 19:11:24 -04:00
Sachith Hasaranga Seneviratne
118db58a02 Merged Master 2014-09-07 11:28:15 +05:30
Marianne Gagnon
102e517497 Remove manual LOD code, it's now automatic 2014-09-02 18:54:38 -04:00
Sachith Hasaranga Seneviratne
b2a563c746 Fixed the ID for script created triggers were not being added to the track_object instance 2014-08-13 11:57:49 +05:30
Sachith Hasaranga Seneviratne
c3a774fcc9 Merged master 2014-08-01 18:40:05 +05:30
Vincent Lejeune
bd7babe11f Rename cpp2011.h 2014-07-29 00:35:43 +02:00
Sachith Hasaranga Seneviratne
97c17692e8 Added setCurrentFrame to skeletal animations 2014-06-18 17:53:18 +05:30
Sachith Hasaranga Seneviratne
069c25653c Added ability for scripts to run other scripts and bound getFrameNumber for Skeletal animations to get current frame 2014-06-18 13:12:51 +05:30
Sachith Hasaranga Seneviratne
b7e3329d83 Added setLoop to skeletal animations, Test : rapidly nodding sheep in green valley, also incorporates trigger creation at start in the test. 2014-06-17 21:11:05 +05:30
Sachith Hasaranga Seneviratne
540c7818aa Scripts can now create action triggers by themselves. Example in tutorial 2014-06-03 10:09:03 +05:30
Sachith Hasaranga Seneviratne
27de7c6f3c MERGE STK into scripting branch 2014-05-19 08:27:15 +05:30
Marianne Gagnon
2b7dc07cda Fix crash-on-second-load bug 2014-05-15 19:41:44 -04:00
vlj
5fd41a2f2c Light: Import distance properly.
Also remove some silly default param for addlight that could make
argument passing not obvious.
2014-05-14 00:32:36 +02:00
Marianne Gagnon
dc5d7f707d Work on GP end cutscene 2014-05-03 19:19:00 -04:00