| 
 
| 赞 | 3 |  
| VIP | 0 |  
| 好人卡 | 1 |  
| 积分 | 7 |  
| 经验 | 12189 |  
| 最后登录 | 2024-5-21 |  
| 在线时间 | 326 小时 |  
 Lv2.观梦者 
	梦石0 星屑702 在线时间326 小时注册时间2013-5-31帖子74 | 
| 
话说我的贴子不见了,大概是忘了格式,因为急用,所以我还是再发道。
x
加入我们,或者,欢迎回来。您需要 登录 才可以下载或查看,没有帐号?注册会员  出错见下面附件,这段脚本是这样的
 #--------------------------------------------------------------------------
 # ● 背景画像のセッティング
 #--------------------------------------------------------------------------
 def set_graphics(new_bitmap)
 self.bitmap = new_bitmap
 @base_x = (self.bitmap.width * @zoom_x - Graphics.width) / 2 + @adjust_position[0]
 @base_y = (self.bitmap.height * @zoom_y - Graphics.height) / 2 + @adjust_position[1]
 # 限界座標を取得
 max_top =  0
 max_bottom = self.bitmap.height * @zoom_y - Graphics.height
 max_left = 0
 max_right = self.bitmap.width * @zoom_x - Graphics.width
 exist = true
 exist = false if self.bitmap.height == 32 && self.bitmap.width == 32
 $sv_camera.setting(@index, [max_top, max_bottom, max_left, max_right, @base_x, @base_y,exist])
 end
 
 这次格式没错吧…………
 | 
 |