设为首页收藏本站|繁體中文

Project1

 找回密码
 注册会员
搜索
分享 某大坑之一
墨凌羽 2015-11-26 00:56
PictureBox = { new : function (srcBitmap,x,y,width,height, type) { var that = this; this .attr_accessor('bitmap', function(){that.createSprite(that)}) .attr_accessor('x', function() {that.sprite.x = that._x}) .attr_accessor('y', function() {that.sprite.y = that._y}) ...
个人分类: MV|288 次阅读|0 个评论
分享 又一个轮子
墨凌羽 2015-11-5 16:18
Range = function () { this.initialize.apply(this, arguments); } Range.prototype = function () {}; Range.prototype.constructor = Range; Range.prototype.initialize = function (start, stop) { this.start = start; this.stop = stop; } Range.prototype.containValue = fun ...
个人分类: MV|307 次阅读|0 个评论
分享 一个轮子
墨凌羽 2015-11-4 01:15
Utils.cutBitmap = function(srcBitmap, width, height, type) { switch (type) { case 0: var bitmaps = this.cutRow(srcBitmap, width, height); break; case 1: var bitmaps = this.cutRank(srcBitmap, width, height); break; case 2: var bitmaps = this.cutRowRan ...
个人分类: MV|335 次阅读|0 个评论
拿上你的纸笔,建造一个属于你的梦想世界,加入吧。
 注册会员
找回密码

站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作

GMT+8, 2024-4-30 03:21

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

返回顶部