Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 MGC ISO Engine + Extra Movement Frames compatibility
#1
Question 
Hi guys, I'm a newbie here!
I'm using VX ACE and I would like to use MGC ISO Engine in addition to Extra Movement Frames script (done by modern algebra) ; I use the last one 'cause I'm using only 16frames-movement characters (in order to make their movements more smooth), it works fine in non-ISO maps, otherwise in ISO-maps I've got two problems:
- Character sprite-set width: I've just correct this issue by modifying "--- MODIFIED CLASSES ---" script module, adjusting the last class definition as follows (see bitmap.width):
Code:
#====================================================================
# MGC ISO Engine
# v.1.0
# Auteur : MGC
#====================================================================
# ** Sprite_Character
#--------------------------------------------------------------------
# Version de classe : 1.0
#====================================================================
class Sprite_Character < Sprite_Base
   #--------------------------------------------------------------------------
   # * Alias : gestion de la touche F12
   #--------------------------------------------------------------------------
   unless @already_aliased_mgc_iso
    alias update_mgc_iso update
    alias update_bitmap_mgc_iso update_bitmap
    @already_aliased_mgc_iso = true
   end
   #--------------------------------------------------------------------------
   # * Frame Update
   #--------------------------------------------------------------------------
   def update
    unless $game_system.mgc_iso
       update_mgc_iso
       return
    end
    update_mgc_iso
    self.tone = @character.in_shadows ? Constants::TONE_BASIC_SHADOW :
    Constants::TONE_BASIC
   end
   #--------------------------------------------------------------------------
   # * Update Transfer Origin Bitmap
   #--------------------------------------------------------------------------
   def update_bitmap
    unless $game_system.mgc_iso
       update_bitmap_mgc_iso
       return
    end
       if @tile_id != @character.tile_id or
          @character_name != @character.character_name or
          @character_index != @character.character_index
         @tile_id = @character.tile_id
         @character_name = @character.character_name
         @character_index = @character.character_index
         if @tile_id > 0
           sx = (@tile_id / 128 % 2 * 8 + @tile_id % 8) * 32;
           sy = @tile_id % 256 / 8 % 16 * 32;
           self.bitmap = tileset_bitmap(@tile_id)
           self.src_rect.set(sx, sy, 32, 32)
           self.ox = 16
           self.oy = 32
         else
         if @character_name == ""
           @character.ground = true
         end
         self.bitmap = Cache.character(@character_name)
         sign = @character_name[/^[\!\$]./]
         if sign != nil and sign.include?('$')
           @cw = bitmap.width / 16
           @ch = bitmap.height / 4
         else
           @cw = bitmap.width / 64
           @ch = bitmap.height / 8
         end
         self.ox = @cw / 2
         self.oy = @ch - (@character.ground ? 11 : 0)
         end
       oh = @character.ground ? 32 : 16
       if @character_name == ""
          @character.height = 0
          @character.real_height = 0
        else
          @character.height = (@ch - oh) / 16
          @character.real_height = @ch - oh
        end
        @character.real_width = @cw
      end
   end
end
- Character sprite movement: in any ISO-map, the character can move but its sprites-cycle don't run correctly and it appears almost motionless. Cry I don't know how to correct that, please could you help me? I'd be grateful!!

Thank you,
Morrigan Blushing + Cheery
Reply }


Messages In This Thread
MGC ISO Engine + Extra Movement Frames compatibility - by Morrigan Aensland - 05-26-2013, 04:22 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Script compatibility help Lord Vectra 3 3,564 07-25-2021, 11:42 PM
Last Post: DerVVulfman
Question  Mog Menu script: help me stop the crazy picture movement during transitions Zachariad 4 8,618 05-31-2017, 05:10 AM
Last Post: Zachariad
Exclamation RPGXP Script Request: Movement by terrain Iqus 7 8,978 12-26-2013, 04:07 PM
Last Post: Iqus
   Eight Directional movement and Atoa's Custom Battle System mrbekkler 0 3,525 09-10-2012, 09:01 PM
Last Post: mrbekkler
   Pausing script from processing for a number of frames firestalker5 8 10,019 04-25-2011, 10:04 AM
Last Post: deValdr
   F0tz pixel movement light makeitfonky 2 6,367 06-20-2010, 11:29 PM
Last Post: makeitfonky
   RTAB Compatibility Help! Flare Knight 6 8,050 04-10-2010, 04:10 AM
Last Post: DerVVulfman
   8 Way Movement for Mr. Mo's ABS virus2099 1 5,346 03-06-2010, 06:09 AM
Last Post: DerVVulfman
   f0tz!baerchen Pixel Movement MusicalSwordsman 12 16,650 11-03-2009, 05:27 AM
Last Post: DerVVulfman



Users browsing this thread: