Questions about the mode-7
#4
I won't say 'Easily', and I don't know if this helps. I am not using a resolution in tandem with Mode7 myself. And I don't know if you're dealing with the same Mode7... though I am betting you are using the original one by MGC.

Okay, enough with me assuming stuff. ^_^
Do a search for a class called "Tilemap_Mode7"
In the 'initialize' method, you may encounter
Code:
@distance_h = 480
change it to
Code:
@distance_h = 600
..... assuming you're using an 800x600 window.

Even further down that class, you should have an 'init_sprites' method with the following:
Code:
sprite.x = 320
change it to
Code:
sprite.x = 400
Again, assuming an 800x600 window. The change should center your screen horizontally... I hope.

And I am thinking that these two lines further down...
Code:
sprite.length = 2 + (640.to_f / sprite.zoom_x).to_i
sprite.x_origin_bitmap_i  =   ((642 - sprite.length) / 2)
should become
Code:
sprite.length = 2 + (800.to_f / sprite.zoom_x).to_i
sprite.x_origin_bitmap_i  =   ((802 - sprite.length) / 2)

And again... further...
Code:
sprite2.x = 320
to
Code:
sprite2.x = 400

After that, look for the 'draw_map' method.
Within that, the
Code:
offset        = ($game_system.loop_x ? 640 : 0)
should be
Code:
offset        = ($game_system.loop_x ? 800 : 0)

And hopefully... that's it! *DerVVulfman prays* [Image: please.gif]
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }


Messages In This Thread
Questions about the mode-7 - by Talesdreamer - 03-17-2014, 07:05 PM
RE: Questions about the mode-7 - by DerVVulfman - 03-17-2014, 09:20 PM
RE: Questions about the mode-7 - by Talesdreamer - 03-18-2014, 04:52 PM
RE: Questions about the mode-7 - by DerVVulfman - 03-19-2014, 03:53 AM
RE: Questions about the mode-7 - by JayRay - 03-19-2014, 01:56 PM
RE: Questions about the mode-7 - by Talesdreamer - 03-19-2014, 02:13 PM
RE: Questions about the mode-7 - by JayRay - 03-19-2014, 02:28 PM
RE: Questions about the mode-7 - by DerVVulfman - 03-20-2014, 05:17 AM
RE: Questions about the mode-7 - by JayRay - 03-20-2014, 12:11 PM
RE: Questions about the mode-7 - by Talesdreamer - 03-23-2014, 08:15 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   High Resolution H-Mode 7 JayRay 1 5,369 12-15-2014, 09:39 PM
Last Post: Kamillo
  Questions about lag JayRay 2 4,290 04-14-2014, 07:42 PM
Last Post: DerVVulfman
   neo mode disable on map celleZ 1 3,926 09-09-2013, 02:59 AM
Last Post: DerVVulfman
Question  help me neo mode 7 celleZ 2 4,800 09-08-2013, 08:03 AM
Last Post: celleZ
   How would I put the new zoom mode 7? Raphael Rpg Games 2 7,008 07-05-2011, 09:59 PM
Last Post: MGC



Users browsing this thread: 1 Guest(s)