- 博客(8)
- 收藏
- 关注
原创 Unity 3D The first project
//backgroundController.js#pragma strictfunction Start () {}var speed:float = 1.0f;function Update () { transform.Translate(0,-speed*Time.deltaTime,0); if(transform.position.y<-3.9f){ trans
2014-05-05 01:41:02
559
原创 飞机
xxxxxxx window.onload = function(){ canvasApp(); } function canvasApp(){ var canvas = document.getElementById("canvas
2014-04-30 01:48:46
435
原创 tank01
tank game var canvas,context; var game,tank,shot; var tank_x=70,tank_y=60,shot_x,shot_y; var bearing = "up"; window.onload =
2014-04-24 17:24:40
498
原创 想让它动
game window.onload = function(){ /* var canvas = document.getElementById("canvas"); //alert(canvas); var context
2014-04-23 17:31:04
350
原创 start_button.js-2014-04-21
function dot_Sprite(){ //var a = 5; //alert("dot_Sprite"); this.create = function(){ alert("dot_Sprite.create()"); } } function dot_Button(){
2014-04-23 10:46:08
293
原创 game-04-21
game var SCREEN_WIDTH = 0, SCREEN_HEIGHT = 0, BACKGROUND_COLOR = "#1d1d1d"; var b = new Image; var m_math;
2014-04-23 10:39:52
369
原创 老师说我可以走得更远!
键盘小游戏 function start(){ //alert("ok"); time = setInterval("move()",500); } function move(){ //alert("ok move"); div1.style.top = parseInt(div1.style.top)+20; /
2013-06-24 14:05:46
453
原创 这个定时器有什么错误吗?怎么都不出效果呢?
keyboard keyboard function start(){ //alert("ok"); time = /*setlnterval*/ setInterval(/*alert("ok")*/"div.style.top = parseInt(div1.style.top)+20",500); } sta
2013-06-23 01:18:53
475
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人