seanpaultaylor
|
4518183e5a
Support to disable platform impl. allowing integration into apps that can write their own.
|
11 years ago |
sgrenier
|
6765bb6c07
Simplified Script::Scope to only support GLOBAL and PROTECTED modes.
|
11 years ago |
sgrenier
|
062b8563e4
Added a _THIS field to the environment of private scripts, which operates similar to _G for global scripts. Private scripts can use the _THIS field to expose their interface to other scripts by doing something like: _G.myScript = _THIS
|
11 years ago |
sgrenier
|
bcc965412d
More script prototyping changes.
|
11 years ago |
sgrenier
|
2a3f6a3144
Finished most work for new prototype of scripting system.
|
11 years ago |
sgrenier
|
6842e8c924
Script reworking continued.
|
11 years ago |
sgrenier
|
7276079d52
Changed Lua enum bindings to use integers instead of strings. This not only increased performance for enums, but it fixed some scripting bugs anf removed a large number of generated script binding source files.
|
11 years ago |
sgrenier
|
6f7269c232
More LUA scripting rework.
|
11 years ago |
sgrenier
|
31457c054e
More prototyping of LUA scripting changes.
|
11 years ago |
sgrenier
|
0fc7898697
Prototyping some work to change how LUA script binding works in gameplay - so that bound scripts are loaded into their own isolated environments. This would permit multiple scripts to have the same functions names (i.e. "update") without trampling over each other in the global environment/table.
|
11 years ago |
seanpaultaylor
|
0360e021cc
Added initialDirectory to FileSystem::displayOpenDialog of desktop tools.
|
12 years ago |
SAUVAGEOT Paul-Arthur
|
14aceba8fd
Add new gestures (Long Tap, Drag, Drop)
|
12 years ago |
sgrenier
|
7a8ca49182
Added more flexible sizing and positioning for UI controls:
|
12 years ago |
Ben Bromberg
|
a1ab170777
fixed potential(?) bug where temporary lua variables were left on the stack after calls to lua_len
|
12 years ago |
sgrenier
|
db77222bc7
Exposed gesture events to script.
|
12 years ago |
sgrenier
|
6f1aa736f2
Added alternative type-specific MaterialParameter setters to better support setting material parameters from script.
|
12 years ago |
Steve Grenier
|
f331f868e0
Added the game resource path to LUA_PATH to fix Lua path resolution when searching for scripts on certain platforms.
|
12 years ago |
Steve Grenier
|
3da88bcaf3
Fixed possible issue with script event lists being indexed out of range if an event was unregistered during the invocation of another script event.
|
12 years ago |
Steve Grenier
|
b88d288c49
Exposed game command-line arguments to Lua script via a global "arg" parameter.
|
12 years ago |
Darryl Gough
|
95c93ba1e7
Merge branch 'next' of https://github.com/blackberry/GamePlay into next
|
12 years ago |
Darryl Gough
|
1cb8025b73
Fixed ScriptController::loadScript()
|
12 years ago |
Adam Blake
|
9af69a67dd
Merge branch 'next' of https://github.com/blackberry/GamePlay into next
|
13 years ago |
Darryl Gough
|
19a196143d
Changed ScriptController::loadScript() to use dofile instead of dostring.
|
13 years ago |
Adam Blake
|
ebb0e32c15
Merge branch 'next' of https://github.com/blackberry/GamePlay into next
|
13 years ago |
Adam Blake
|
a794910a70
Enables controlling UI forms with a gamepad. Adds a few things to the forms test in order to test
|
13 years ago |
Darryl Gough
|
7748feb67b
Fixed lua dofile on Windows
|
13 years ago |
Steve Grenier
|
bcf4fd0242
Added public methods on ScriptController for registering and unregistering global script callback functions (i.e. initiailze, finalize, update, render, touchEvent, keyEvent, etc). Multiple registered functions per callback are now supported and scripts can register themselves.
|
13 years ago |
Darryl Gough
|
d0cc2332bd
Fixed typo in ScriptController::mouseEvent
|
13 years ago |
sgrenier
|
9a0d34dde2
Renamed Game::resized to Game::resizeEvent to be more consistent with other game events.
|
13 years ago |
Darryl Gough
|
77addbf0fb
Added a lua function "convert" to convert a userdata value to another gameplay class type.
|
13 years ago |