@@ -24552,6 +24552,8 @@ cr.getObjectRefTable = function () { return [
|
||||
cr.plugins_.Arr.prototype.acts.SetSize,
|
||||
cr.plugins_.Sprite.prototype.acts.LoadURL,
|
||||
cr.plugins_.Browser.prototype.exps.ExecJS,
|
||||
cr.plugins_.Sprite.prototype.acts.SetVisible,
|
||||
cr.plugins_.Sprite.prototype.acts.SetScale,
|
||||
cr.plugins_.Sprite.prototype.acts.SetEffectEnabled,
|
||||
cr.system_object.prototype.cnds.While,
|
||||
cr.plugins_.Arr.prototype.cnds.Contains,
|
||||
|
||||
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
@@ -1,11 +1,11 @@
|
||||
[
|
||||
{
|
||||
"name": "Chung cake",
|
||||
"image": "chungcake.png"
|
||||
"image": "Chung cake.png"
|
||||
},
|
||||
{
|
||||
"name": "lucky money",
|
||||
"image": "luckymoney.png"
|
||||
"image": "lucky money.png"
|
||||
},
|
||||
{
|
||||
"name": "flowers",
|
||||
@@ -13,6 +13,6 @@
|
||||
},
|
||||
{
|
||||
"name": "lion dance",
|
||||
"image": "lionance.png"
|
||||
"image": "lion dance.png"
|
||||
}
|
||||
]
|
||||
|
||||
|
Before Width: | Height: | Size: 271 B |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 134 KiB After Width: | Height: | Size: 1.9 MiB |
|
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 9.0 KiB |
|
Before Width: | Height: | Size: 211 B |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 16 KiB |
BIN
RCV_QuizSpin2/lion dance.png
Normal file
|
After Width: | Height: | Size: 161 KiB |
|
Before Width: | Height: | Size: 1.8 MiB |
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
BIN
RCV_QuizSpin2/media/bgc.ogg
Normal file
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": 1769772743,
|
||||
"version": 1769775171,
|
||||
"fileList": [
|
||||
"data.js",
|
||||
"c2runtime.js",
|
||||
@@ -25,6 +25,7 @@
|
||||
"media/error-010-206498.ogg",
|
||||
"media/yeah.ogg",
|
||||
"media/material-buy-success-394517_boosted.ogg",
|
||||
"media/bgc.ogg",
|
||||
"icon-16.png",
|
||||
"icon-32.png",
|
||||
"icon-114.png",
|
||||
@@ -33,8 +34,8 @@
|
||||
"loading-logo.png",
|
||||
"chung cake.png",
|
||||
"lucky money.png",
|
||||
"lion dance.png",
|
||||
"flowers.png",
|
||||
"lion dance.png",
|
||||
"tdv_sdk.js",
|
||||
"data.json"
|
||||
]
|
||||
|
||||
@@ -21,10 +21,7 @@ function getRandomQuestion() {
|
||||
const shuffled = [...data].sort(() => 0.5 - Math.random());
|
||||
|
||||
// Lấy 4 con đầu tiên
|
||||
const options = shuffled.slice(0, 3).map(item => ({
|
||||
...item,
|
||||
image: getImage(item.image)
|
||||
}));
|
||||
const options = shuffled.slice(0, 3);
|
||||
|
||||
// Chọn 1 trong 4 làm đáp án đúng
|
||||
const correct = options[Math.floor(Math.random() * options.length)];
|
||||
@@ -36,7 +33,6 @@ function getRandomQuestion() {
|
||||
return window.items;
|
||||
}
|
||||
|
||||
|
||||
function voiceItem(name){
|
||||
const newAudio = new Audio();
|
||||
newAudio.src = "https://audio.senaai.vn/audio/en_female_1_"+name.toLowerCase()+".mp3";
|
||||
@@ -47,5 +43,5 @@ function voiceItem(name){
|
||||
|
||||
|
||||
function getImage(name) {
|
||||
return "https://senaai.tech/games/RCV-QuizSpin2/" + name;
|
||||
return "https://senaai.tech/games/RCV_QuizSpin2/" + name;
|
||||
}
|
||||