Help needed with battle of resized RPG Maker window (solved)

Discussion in 'RGSS3 Script Requests' started by BrokenT, Jul 17, 2019.

Thread Status:
Not open for further replies.
  1. BrokenT

    BrokenT Villager Member

    Messages:
    12
    Likes Received:
    0
    First Language:
    TaiwanesChinses
    Primarily Uses:
    RMVXA
    [​IMG]
    So, I've been using the resized window of 960*640 for a while now.
    Recently I started trying the battle system and found out this problem.
    Basically the limitation for the enemy picture and the displacement of troops are still meant for the original window size.
    So how do I change these to go along with my resized window?

    [​IMG]
    [​IMG]
     
    #1
  2. Andar

    Andar Veteran Veteran

    Messages:
    28,627
    Likes Received:
    6,574
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    how did you do that?
    By default VX Ace is absolutely limited to a maximum screen size of 640x480
     
    #2
  3. BrokenT

    BrokenT Villager Member

    Messages:
    12
    Likes Received:
    0
    First Language:
    TaiwanesChinses
    Primarily Uses:
    RMVXA
    I put "Graphics.resize_screen(960,640)" above "rgss_main { SceneManager.run }" And it works somehow.
     
    #3
  4. Andar

    Andar Veteran Veteran

    Messages:
    28,627
    Likes Received:
    6,574
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    it cannot work in default because the graphic library automatically limits this to 640x480 even if you put in larger values into that command.

    There are only two or three possible ways to make that happen, and we need to know which one you've used to change your game to enable that. Simply because the solution will be different depending on which way you've gone.
     
    #4
  5. BrokenT

    BrokenT Villager Member

    Messages:
    12
    Likes Received:
    0
    First Language:
    TaiwanesChinses
    Primarily Uses:
    RMVXA
    Then I think it's the doing of my third party modification of the RPGMaker, I don't know how that works.
    And just to clarify, I do have the right to use the software.
    [​IMG]
     
    #5
  6. Andar

    Andar Veteran Veteran

    Messages:
    28,627
    Likes Received:
    6,574
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    No, the DLL that would be required for that was made puplic in a now cancelled beta-test, but you would have to have copied it into the game project manually exactly because that project for a larger screen was cancelled and the DLL revoked after some of its bugs were solved. Anyone who has it can still use it unsupported.
    @Archeia was in charge of that betatest.

    One question: are you sure that your screen is 960x640? the max of 640x480 is larger than the default, and the command would have been limited to that if you just entered the numbers without anything.
    and did you change the battlebacks? The original battlebacks can handle 640x480, but they are too small for 960x640. So if that is an original battleback without resizing in the screen then most likely you are simply mistaken that your game now works with 960x640.
     
    #6
  7. BrokenT

    BrokenT Villager Member

    Messages:
    12
    Likes Received:
    0
    First Language:
    TaiwanesChinses
    Primarily Uses:
    RMVXA
    Yes, I did changed the battle back.
    and the screen shot above is my game window. and it is indeed 960x640.
    As to the cancelled project with the DLL file, I am not really sure and I don't have the tool to open and read a DLL file to check it out.

    Anyway, somebody suggest me try this:
    Code:
    class Game_Troop
     
      alias :badm_setup :setup
     
      def setup(*args)
        badm_setup(*args)
        
        screen_x_mult = Graphics.width/544.0
        screen_y_mult = Graphics.height/416.0
        @enemies.each do |enemy|
          enemy.screen_x *= screen_x_mult
          enemy.screen_y *= screen_y_mult
        end
      end
     
    end
    And it works!
    I really have no idea what I am doing what so ever LOL.
     
    #7
  8. Andar

    Andar Veteran Veteran

    Messages:
    28,627
    Likes Received:
    6,574
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    if you really just made a new project from the steam version and it worked that way, then the only explanation I can think of would be for Degica to have updated the beta-library into the steam version without ever telling anyone about that. Because if there had been an announcement, I would have remembered that.

    EDIT: and your script snipped basically resized the original coordinates to your new screen size, the numbers 544 and 416 in it are the default screen size for the calculations
     
    #8
  9. BrokenT

    BrokenT Villager Member

    Messages:
    12
    Likes Received:
    0
    First Language:
    TaiwanesChinses
    Primarily Uses:
    RMVXA
    Yea, that's the thing, I do have the steam version, though the version I am actually working with is a third party modified version.
    mainly because of the language setting.
     
    #9
  10. Andar

    Andar Veteran Veteran

    Messages:
    28,627
    Likes Received:
    6,574
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    so that third party added in the library, that explains it.
     
    #10
  11. Kes

    Kes Global Moderators Global Mod

    Messages:
    20,952
    Likes Received:
    10,653
    First Language:
    English
    Primarily Uses:
    RMVXA
    @BrokenT If it's third party modified, there is nothing we can help you with.
    Note - that version will be against the EULA. You have a legal copy, I suggest you stick with that one.

    Closing this/

     
    #11
Thread Status:
Not open for further replies.

Share This Page