Lukes12 Newbie
Posts : 10 Thanked : 0 Engine : RMVX Ace Type : Event Designer
| Subyek: [solved] world map 2010-03-21, 20:00 | |
|
Terakhir diubah oleh Lukes12 tanggal 2010-03-21, 22:09, total 1 kali diubah | |
|
rusted_71 Scripter Karatan
Posts : 392 Thanked : 11 Engine : RMVX Skill : Beginner Type : Scripter
| Subyek: Re: [solved] world map 2010-03-21, 20:15 | |
| | |
|
Lukes12 Newbie
Posts : 10 Thanked : 0 Engine : RMVX Ace Type : Event Designer
| Subyek: Re: [solved] world map 2010-03-21, 21:45 | |
| dah dapet nih. - Spoiler:
# change this to any number less than one to change the size of the world map # sprites ZOOM = 0.7 WORLD_IND = 'ISI NAMA MAP'
class Game_Map attr_reader :name attr_reader :isworldmap alias ccoa_setup setup #-------------------------------------------------------------------------- # * Setup # map_id : map ID #-------------------------------------------------------------------------- def setup(map_id) ccoa_setup(map_id) @name = load_data("Data/MapInfos.rvdata")[@map_id].name if @name.include?(WORLD_IND) @isworldmap = true @name.sub!(WORLD_IND, '') else @isworldmap = false end end end
class Sprite_Character < Sprite_Base alias ccoa_update update #-------------------------------------------------------------------------- # * Frame Update #-------------------------------------------------------------------------- def update ccoa_update if @character.is_a?(Game_Player) and $game_map.isworldmap self.zoom_x = ZOOM self.zoom_y = ZOOM else self.zoom_x = 1.0 self.zoom_y = 1.0 end end end
| |
|
reijubv Kai Runes
Posts : 1476 Thanked : 33 Engine : RMVX
Trophies
Awards:
| Subyek: Re: [solved] world map 2010-04-15, 12:04 | |
| solved ? thread locked kalo mau dibuka lagi silahkan PM . . trims . | |
|
Sponsored content
| Subyek: Re: [solved] world map | |
| |
|