@@ -26499,12 +26499,12 @@ cr.behaviors.lunarray_Tween = function(runtime)
|
||||
cr.getObjectRefTable = function () { return [
|
||||
cr.plugins_.Audio,
|
||||
cr.plugins_.Browser,
|
||||
cr.plugins_.Function,
|
||||
cr.plugins_.JSON,
|
||||
cr.plugins_.SenaPlugin,
|
||||
cr.plugins_.Function,
|
||||
cr.plugins_.Sprite,
|
||||
cr.plugins_.Touch,
|
||||
cr.plugins_.SenaPlugin,
|
||||
cr.plugins_.Text,
|
||||
cr.plugins_.Touch,
|
||||
cr.behaviors.Rex_MoveTo,
|
||||
cr.behaviors.Fade,
|
||||
cr.behaviors.DragnDrop,
|
||||
@@ -26525,23 +26525,26 @@ cr.getObjectRefTable = function () { return [
|
||||
cr.plugins_.Function.prototype.acts.CallFunction,
|
||||
cr.plugins_.Browser.prototype.acts.ConsoleLog,
|
||||
cr.plugins_.SenaPlugin.prototype.exps.getOptionsCount,
|
||||
cr.system_object.prototype.cnds.Compare,
|
||||
cr.system_object.prototype.acts.SetVar,
|
||||
cr.plugins_.Function.prototype.cnds.OnFunction,
|
||||
cr.system_object.prototype.acts.SetVar,
|
||||
cr.system_object.prototype.exps.max,
|
||||
cr.plugins_.SenaPlugin.prototype.exps.getHintCount,
|
||||
cr.plugins_.Text.prototype.acts.Destroy,
|
||||
cr.plugins_.Sprite.prototype.acts.Destroy,
|
||||
cr.plugins_.SenaPlugin.prototype.acts.CalcObjectPositions,
|
||||
cr.plugins_.SenaPlugin.prototype.exps.getHintCount,
|
||||
cr.system_object.prototype.exps.layoutwidth,
|
||||
cr.system_object.prototype.cnds.Repeat,
|
||||
cr.system_object.prototype.cnds.Compare,
|
||||
cr.plugins_.SenaPlugin.prototype.exps.getHintValue,
|
||||
cr.system_object.prototype.exps.loopindex,
|
||||
cr.system_object.prototype.acts.CreateObject,
|
||||
cr.plugins_.Sprite.prototype.acts.SetX,
|
||||
cr.plugins_.SenaPlugin.prototype.exps.getPosXbyIndex,
|
||||
cr.plugins_.Sprite.prototype.acts.SetY,
|
||||
cr.plugins_.SenaPlugin.prototype.exps.getPosYbyIndex,
|
||||
cr.plugins_.Sprite.prototype.acts.SetAnimFrame,
|
||||
cr.plugins_.Sprite.prototype.acts.SetScale,
|
||||
cr.plugins_.Sprite.prototype.acts.SetWidth,
|
||||
cr.plugins_.Sprite.prototype.acts.SetHeight,
|
||||
cr.plugins_.Sprite.prototype.exps.X,
|
||||
cr.plugins_.Sprite.prototype.exps.Y,
|
||||
cr.plugins_.Text.prototype.acts.SetText,
|
||||
@@ -26561,10 +26564,10 @@ cr.getObjectRefTable = function () { return [
|
||||
cr.plugins_.Sprite.prototype.cnds.CompareInstanceVar,
|
||||
cr.plugins_.Sprite.prototype.cnds.IsOverlapping,
|
||||
cr.behaviors.DragnDrop.prototype.cnds.OnDrop,
|
||||
cr.plugins_.Sprite.prototype.acts.SetPos,
|
||||
cr.plugins_.SenaPlugin.prototype.acts.SetData,
|
||||
cr.system_object.prototype.exps.str,
|
||||
cr.plugins_.SenaPlugin.prototype.acts.PostMessage,
|
||||
cr.plugins_.Sprite.prototype.acts.SetPos,
|
||||
cr.system_object.prototype.cnds.ForEach,
|
||||
cr.system_object.prototype.cnds.CompareVar,
|
||||
cr.plugins_.Sprite.prototype.exps.Count,
|
||||
@@ -26581,8 +26584,6 @@ cr.getObjectRefTable = function () { return [
|
||||
cr.plugins_.SenaPlugin.prototype.cnds.OnWrong,
|
||||
cr.behaviors.Sin.prototype.acts.SetActive,
|
||||
cr.plugins_.SenaPlugin.prototype.acts.PlayVoice,
|
||||
cr.plugins_.Sprite.prototype.acts.SetHeight,
|
||||
cr.plugins_.Sprite.prototype.acts.SetWidth,
|
||||
cr.plugins_.SenaPlugin.prototype.cnds.OnMessage,
|
||||
cr.plugins_.JSON.prototype.acts.LoadJSON,
|
||||
cr.plugins_.SenaPlugin.prototype.exps.getLastMessageJSON,
|
||||
|
||||
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 9.7 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 9.4 KiB |
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 179 KiB |
|
Before Width: | Height: | Size: 144 KiB After Width: | Height: | Size: 182 KiB |
@@ -81,7 +81,7 @@
|
||||
|
||||
<!-- Construct 2 exported games require jQuery. -->
|
||||
<script src="jquery-3.4.1.min.js"></script>
|
||||
<script src="tdv_sdk.js"></script>
|
||||
|
||||
<script src="sena_sdk.js"></script>
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": 1772003683,
|
||||
"version": 1772098531,
|
||||
"fileList": [
|
||||
"data.js",
|
||||
"c2runtime.js",
|
||||
|
||||
@@ -333,7 +333,7 @@ SenaSDK.prototype.getTotalQuestions = function () {
|
||||
};
|
||||
|
||||
// Settings cho postMessage waiting
|
||||
SenaSDK.prototype.POSTMESSAGE_TIMEOUT_MS = 3000; // 5 giây (chỉ dùng cho preview mode)
|
||||
SenaSDK.prototype.POSTMESSAGE_TIMEOUT_MS = 1000; // 5 giây (chỉ dùng cho preview mode)
|
||||
|
||||
SenaSDK.prototype.load = function (callback, template = "G2510S1T30") {
|
||||
let self = this;
|
||||
|
||||