albertibay 0 Report post Posted November 30, 2012 Um guys i was wondering if scrolling the map diagonally was possible in rmxp Share this post Link to post Share on other sites
0 Heretic86 25 Report post Posted November 30, 2012 Not too difficult. You'll have to write out some custom defs in Game_Map, but basically, it would be something like this: class Game_Map #-------------------------------------------------------------------------- # * Scroll Down # distance : scroll distance #-------------------------------------------------------------------------- def scroll_down_left(distance) @display_y = [@display_y + distance, (self.height - 15) * 128].min @display_x = [@display_x - distance, 0].max end end Then to execute, run a script $game_map.scroll_down_left(distance) Hint: To figure out what numbers to use with Distance there, just mess with the original script by putting in "print distance" somewhere in one of those definitions. Dont forget to pull it back out once you have the info you want. Share this post Link to post Share on other sites
0 albertibay 0 Report post Posted December 1, 2012 Is it possible to do it without a scrpt cuz from what i see that script is only for going lower left Share this post Link to post Share on other sites
0 Heretic86 25 Report post Posted December 1, 2012 It was an example so you could create the other definitions yourself. No, it isnt possible to do without a script. Share this post Link to post Share on other sites
Um guys i was wondering if scrolling the map diagonally was possible in rmxp
Share this post
Link to post
Share on other sites