This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
doSave : function(num,cb) { | |
var array_save = this.getSaveData(); | |
var data = {}; | |
var that = this; | |
if (this.snap == null) { | |
this.snapSave(this.kag.stat.current_save_str, function() { | |
data = that.snap; | |
data.test = that.kag.stat.f.test; //←変数 f.test | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.getNowTime = function() { | |
var nowdate = new Date(); | |
var h = nowdate.getHours(); | |
var m = nowdate.getMinutes(); | |
var s = nowdate.getSeconds(); | |
//↓を追加 | |
if(h < 10) { h = "0" + h; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(pm.text!=""){ //テキスト指定があったらdivにする | |
var j_button=$("<div></div>"); | |
j_button.text(pm.text); | |
//↓面倒くさいので纏めちゃったけど、ifで指定がある時だけ追加とかにした方がスッキリするかもしれない。 | |
j_button.css({"color":pm.color,"font-size":pm.size+"px","text-align":"center"}); | |
if(pm.graphic!="")j_button.css("background-image","url('"+storage_url+"')"); | |
} | |
else { //テキスト指定が無かったらimg | |
//↓同じ記述は削除。この3行以外はそのままでOK | |
var j_button=$("<img alt="" />"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
options:{ | |
modules:["parser","tag","layer","menu","tag_audio","tag_system","tag_ext","key_mouse","event","rider","追加ファイル名"] | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
case "ch_bg": | |
var bgimg = $(".base_fore").css("background-image"); //今の画像名を調べる | |
var bgimg = bgimg.replace( "app://" , "" ); //windowsだと"app://"が入っちゃうっぽいので削除 | |
if(bgimg == "url(./data/bgimage/room.jpg)")bgimg_url="rouka.jpg"; | |
else bgimg_url="room.jpg"; | |
$(".base_fore").css("background-image","url(./data/bgimage/"+bgimg_url+")"); | |
break; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body, .navbar-fixed-top, .navbar-fixed-bottom { | |
min-width: 1px; | |
} | |
.container { | |
width:100%; | |
} | |
@media (min-width: 768px) { | |
.container, .raw { | |
width: 100%; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="tyrano_base" class="tyrano_base"> | |
<div id="root_layer_game" clas="root_layer_game"> | |
//背景レイヤー | |
<div clas="layer base_fore layer_fore layer_camera" style="background-image: url()"></div> | |
<div clas="layer base_back layer_back layer_camera"></div> | |
//前景レイヤー | |
<div class="layer 0_fore layer_fore layer_camera" style="z-index: 10;"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tyrano.plugin.kag.tag.link={ | |
pm:{ | |
target:null, | |
storage:null, | |
name:"", | |
exp : "", | |
role : "", | |
call : "", | |
auto_next:"yes" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[macro name="comment"] | |
[eval exp="tf.c_title=mp.title"] | |
[eval exp="tf.c_name=mp.name"] | |
[eval exp="tf.c_color='%color|0xFF9999'"] | |
[iscript] | |
var j_span = TG.setMessageCurrentSpan(); | |
(function(){ | |
TG.event.addEventElement({ | |
"tag":tf.c_title, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[macro name="gp"] | |
[iscript] | |
if(TG.stat.flag_glyph=="false"){ | |
$(".img_next").remove(); | |
$(".message_inner").find("p").append("<div class='img_next'></div>") | |
}else $("#glyph_image").show(); | |
[endscript] | |
[p] | |
[endmacro] |
OlderNewer