• Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • 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
    18
    Years
    • Age 32
    • 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
     
    Very nice!
    I was planning on fixing that, but didn't know it would be that simple.

    Thanks,

    ~Azura.
     
    very nice. haven't encountered this and now i never will
     
    yes, it did help me a lot, I would say I love ya, but... well... that would just be wrong
     
    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.
     
    We all love him for this *__*

    LOL

    Btw, Fangking, is Acanthite still being made?

    ~Azura.
     
    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.
     
    I got the Pokemon Starter kit and when I played it,it said ??????
     
    Back
    Top