Atitit 遊戲引擎---實體系統(1)------爆炸效果
1.1. 動畫架構的來源flex,jqueryuijs,anim , cocos2d 1
1.2. Jqueryui的特效庫 1
1.3. Dom爆炸yuanli 2
1.4. 參考資料 2
1.5. ----code 2
1.1. 動畫架構的來源flex,jqueryuijs,anim , cocos2d
atitit.html5動畫特效制作工具 ,jeig hto d ma shma yon...
----------sp
1.1. Kendo UI Demo (有特效 1
1.2. Foundation沒有特效,,界面效果也一般,,不華麗。。 1
參考paip.html js 特效總結 架構attilax總結 v2 qaa.doc
jQueryUI KendoUI Bootstrap Foundation
Ref paip.關于動畫特效原理html js 架構總結
-----------------------------sp
1.2. Jqueryui的特效庫
1.3. Dom爆炸yuanli
Bg btn hide,zai add lei yva div ,move move..same time fadeout...tranparent..then ok.
1.4. 參考資料
paip.關于動畫特效原理html js 架構總結
- attilax的專欄
- 部落格頻道
- CSDN.NET.html
atitit.html5動畫特效----打水漂ducks_and_drakes - attilax的專欄
1.5. ----code
<script src="jquery-1.12.4.min[1].js"></script>
<script src="jquery-ui-1.12.1.custom/jquery-ui.js"></script>
<script>
$( function() {
// run the currently selected effect
function runExpEffect(obj) {
// get effect type from
var selectedEffect ="explode";
// Most effect types need no options passed by default
var options = {};
// Run the effect
$(obj ).effect( selectedEffect, options, 500, callback(obj) );
};
// Callback function to bring a hidden box back
function callback(obj) {
//this.objx=obj;
var objx=obj;
setTimeout(function() {
// this. objx.bind(this)
// alert(objx); // bg obj d class bind to this .not def win
$(obj).removeAttr( "style" ).hide().fadeIn();
}, 500 );
// Set effect from select menu value
$( "#button" ).on( "click", function() {
runExpEffect("#button");
return false;
});
} );
</script>
</head>
<body>