当前位置: 首页 > news >正文

做 个收废品网站微站和pc网站

做 个收废品网站,微站和pc网站,短视频运营招聘,中国互联网协会投诉平台欢迎来到程序小院 机器人向前冲 玩法#xff1a;一直走动的机器人#xff0c;点击鼠标左键进行跳跃#xff0c;跳过不同的匝道#xff0c;掉下去即为游戏接续#xff0c; 碰到匝道铁钉游戏结束#xff0c;一直往前冲吧^^。开始游戏https://www.ormcc.com/play/gameStart… 欢迎来到程序小院 机器人向前冲 玩法一直走动的机器人点击鼠标左键进行跳跃跳过不同的匝道掉下去即为游戏接续 碰到匝道铁钉游戏结束一直往前冲吧^^。开始游戏https://www.ormcc.com/play/gameStart/206 html canvas width1280 height768/canvascss canvas {display: block;touch-action: none; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); width: 680px; height: 408px; cursor: inherit; margin-left: 0px; margin-top: 71px; margin-bottom: -71px; }js var game  new Phaser.Game(1280, 768, Phaser.AUTO, ); game.state.add(Boot, BasicGame.Boot); game.state.add(Preloader, BasicGame.Preloader); game.state.add(MainMenu, BasicGame.MainMenu); game.state.add(Game, BasicGame.Game); // Now start the Boot state. game.state.start(Boot); BasicGame.Game.prototype  { create: function () {this.map  this.game.add.tilemap(map);this.map.addTilesetImage(gem);this.map.addTilesetImage(platforms);this.map.setTileIndexCallback(61,this.hitCoin,this);this.map.setTileIndexCallback(24,this.dead,this);this.map.setTileIndexCallback(25,this.dead,this);this.layer  this.map.createLayer(Tile Layer 1);this.layer.resizeWorld();this.map.setCollisionBetween(1,10);this.map.setCollisionBetween(13,20);this.map.setCollisionBetween(23,37);this.map.setCollisionBetween(39,45);this.map.setCollisionBetween(49,60);this.sprite  this.game.add.sprite(75,600,hero);this.sprite.animations.add(run,[0,1,2,3,4,5,6,7],16,true);this.game.physics.enable(this.sprite);this.sprite.body.bounce.set(0);this.sprite.body.tilePadding.set(64);this.game.camera.follow(this.sprite);this.sprite.body.gravity.y  1200;this.game.input.onDown.add(this.jump,this);this.game.physics.startSystem(Phaser.Physics.ARCADE);this.game.physics.arcade.TILE_BIAS  50;this.playing  true; },jump: function() {if (this.sprite.body.blocked.down) {this.sprite.body.velocity.y  -720;this.sprite.animations.stop();this.sprite.frame  2;}}, update: function () {this.game.physics.arcade.collide(this.sprite,this.layer);if (this.sprite.body.blocked.right) {this.sprite.body.velocity.x  0;} else {this.sprite.body.velocity.x  300;}if (this.sprite.body.blocked.down) {this.sprite.animations.play(run);}if (this.sprite.x  7460) {console.log(win);this.playingfalse;}if (this.sprite.y  760) {this.dead();}this.quitGame(this.playing); }, quitGame: function (pointer) {if(!this.playing) {delete this.map;delete this.layer;delete this.sprite;//takes us back to Main Menuthis.state.start(MainMenu);} },hitCoin: function (sprite,tile) {if (tile.alpha ! 0) {tile.alpha  0;this.layer.dirty  true;return false;}},dead: function () {console.log(dead);this.playingfalse;} };源码 需要源码请关注添加好友哦^ ^ 转载欢迎来到本站转载请注明文章出处https://ormcc.com/
http://www.dnsts.com.cn/news/93457.html

相关文章:

  • 三合一网站开发教程网站策划职业规划
  • 海安网站设计合同解除协议
  • 网站备案名称的影响品牌营销策划公司
  • 网页建站实用技术漯河网络推广哪家好
  • 用户权限网站精准客源
  • 青岛定制网站建设推广临沂网站制作案例
  • 新网站怎样做优化织梦网站301跳转怎么做
  • 网站后台管理系统制作软件视频链接生成
  • 宁波自主建站模板黑群晖的做网站文件
  • 网站建设为了什么聊城seo培训
  • wordpress修改站名优质的广州做网站
  • 外贸网站怎么营销建网站买服务器
  • 荷城网站制作广州百度seo优化排名
  • 宁波市住房与城乡建设部网站ie的常用网站
  • 重庆建设摩托官方网站邢台网公众号
  • 山东大学青岛校区建设指挥部网站吕梁建设机械网站
  • 福建省建设执业注册资格管理中心网站济南免费建站
  • 新闻写作网站海外服务器租赁
  • 江门网站建设junke100做网站需要哪些人员
  • 导航网站链接怎么做网站建设课程ppt模板
  • 网站建设前端需要看什么书江苏天宇建设集团网站
  • 广州室内设计公司排行榜东莞网站优化教程
  • 江苏省句容建设局网站网站域名301
  • 付网站建设费会计分录html5网站建设方案
  • 做网站需要公司么asp建设网站
  • 周口哪家做网站好企业seo排名费用报价
  • 个人网站域名备案步骤网站建设的各种组成
  • 杭州专业的网站制作公司中国十大公司企业文化
  • 优秀企业网站网站配色 绿色
  • 西安建站套餐企业网站申请流程