• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Center player in the sk

Illusion Gaming

RMXP Pro
  • 210
    Posts
    17
    Years
    • Age 31
    • Seen Dec 10, 2007
    ok well I was using the starter kit v1.5 and I saw that if you had a map size of 20 x 15 the character would be way off the map so I opened the scripts and did so math to center it and heres how to fix the error or what ever you call it.
    Go to Game_Player*
    find:
    max_x = ($game_map.width - 20) * 128
    max_y = ($game_map.height - 15) * 128

    and replace it with:
    max_x = ($game_map.width - 15) * 128
    max_y = ($game_map.height - 10) * 128

    I found that out because with the screen size of 480 by 320 it only shows 15 blocks across and 10 down and if the screen size was 640 by 480 there was 20 blocks across and 15 down. ok so hope this helps :D
     

    ~Azura

    Alright, purple is good.
  • 512
    Posts
    18
    Years
    • Seen Jun 21, 2012
    Very nice!
    I was planning on fixing that, but didn't know it would be that simple.

    Thanks,

    ~Azura.
     

    RMXPUser462

    Just call me Ryan
  • 258
    Posts
    18
    Years
    • Seen Dec 28, 2012
    yes, it did help me a lot, I would say I love ya, but... well... that would just be wrong
     

    Fangking Omega

    Acanthite founder
  • 573
    Posts
    19
    Years
    I know a more recent edition of this starter kit had this fixed (I know I've got that fix anyway, seeing as I'd made it :P), but it's not available anymore. This'll be very useful for people without that edition.
     

    ~Azura

    Alright, purple is good.
  • 512
    Posts
    18
    Years
    • Seen Jun 21, 2012
    We all love him for this *__*

    LOL

    Btw, Fangking, is Acanthite still being made?

    ~Azura.
     

    ~Azura

    Alright, purple is good.
  • 512
    Posts
    18
    Years
    • Seen Jun 21, 2012
    Have you noticed your character (at least in big maps) is always at the bottom right? (Even though he's on the screen...)

    Anyone has noticed that?

    I tested my game in a 500x500 map and it is like that =\

    Anyway, I fixed it ^^

    Change the first lines in Game_Player:

    CENTER_X = (320 - 16) * 4
    CENTER_Y = (240 - 16) * 4

    to

    CENTER_X = (320 - 16) * 3
    CENTER_Y = (240 - 16) * 2.5

    Hope that helps too ^^

    ~Azura.
     
  • 1
    Posts
    17
    Years
    • Seen Nov 28, 2012
    I got the Pokemon Starter kit and when I played it,it said ??????
     
    Back
    Top