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

Status
Not open for further replies.

BrokenT

Villager
Member
Joined
Oct 2, 2018
Messages
12
Reaction score
0
First Language
TaiwanesChinses
Primarily Uses
RMVXA

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?


 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
using the resized window of 960*640
how did you do that?
By default VX Ace is absolutely limited to a maximum screen size of 640x480
 

BrokenT

Villager
Member
Joined
Oct 2, 2018
Messages
12
Reaction score
0
First Language
TaiwanesChinses
Primarily Uses
RMVXA
how did you do that?
By default VX Ace is absolutely limited to a maximum screen size of 640x480
I put "Graphics.resize_screen(960,640)" above "rgss_main { SceneManager.run }" And it works somehow.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
I put "Graphics.resize_screen(960,640)" above "rgss_main { SceneManager.run }" And it works somehow.
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.
 

BrokenT

Villager
Member
Joined
Oct 2, 2018
Messages
12
Reaction score
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.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
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.
 

BrokenT

Villager
Member
Joined
Oct 2, 2018
Messages
12
Reaction score
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.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
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
 

BrokenT

Villager
Member
Joined
Oct 2, 2018
Messages
12
Reaction score
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.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
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.

[mod]Closing this/[/mod]
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,047
Members
137,569
Latest member
Shtelsky
Top