Full JS rendering example.
This commit is contained in:
@ -28,9 +28,9 @@ bool sandboxSceneInit(sandboxscene_t *game) {
|
||||
}
|
||||
|
||||
void sandboxSceneUpdate(sandboxscene_t *game) {
|
||||
// scripterInvokeMethodSimple(&game->scripter, "update");
|
||||
scripterInvokeMethodSimple(&game->scripter, "update");
|
||||
}
|
||||
|
||||
void sandboxSceneDispose(sandboxscene_t *game) {
|
||||
// scripterInvokeMethodSimple(&game->scripter, "dispose");
|
||||
scripterInvokeMethodSimple(&game->scripter, "dispose");
|
||||
}
|
@ -29,6 +29,7 @@
|
||||
#include "../../script/api/io.h"
|
||||
#include "../../script/api/display.h"
|
||||
#include "../../script/api/asset.h"
|
||||
#include "../../script/api/epoch.h"
|
||||
|
||||
typedef struct {
|
||||
engine_t engine;
|
||||
|
Reference in New Issue
Block a user