Parallax Mapping Issues

● ARCHIVED · READ-ONLY
Started by ZalgoSyndrome 11 posts View original ↗
  1. I've gotten RPG Maker VX Ace not too recently, never had just gotten time to actually go about it aside from the basics.
    I'd like to make a game because of course that is what this program is for but it seems tiles overlap or don't sit still when I use the editor so I found something called Parallax Mapping.

    Watching Celianna and YouKnewMyName's tutorials it seemed easy at first...until I needed to import the map onto RPG Maker.
    The player would seemingly be pushed a couple of tiles from the player position and would be stuck whenever I play test but when I close it and open it again she can move and vice versa, I know about the passability thing but it doesn't work.

    When the player CAN move the tiles would all be passable even where I put the X or non-passable tiles, also the scrolling I had just noticed would cut at certain areas.
    Here, I lined in red where the player and the scroll would seemingly blocked off and beyond and put an arrow where the player would be pushed by the editor when I test the game...



    I'm not quite sure what to do, I looked up a few things concerning the issue...sometimes nothing would turn up or it would be too complicated or would have little to no detail for me to comprehend.
  2. Most problems after importing a parallax were usually either because the developer didn't use a parallax lock script (or configured the one he used not correctly), or if he didn't set the passability in the editor correctly.


    Do you have a parallax script? If yes, then give the link to it - if no, then that is the reason why it didn't work...
  3. You need a parallax locking script. Without one parallax maps will scroll at a different rate than a normal map as these are generally meant to be something of in the distant background or the like. A locking script would allow the parallax to scroll at the proper rate.

    Edit - I got Ninja'd!
  4. Andar said:
    Most problems after importing a parallax were usually either because the developer didn't use a parallax lock script (or configured the one he used not correctly), or if he didn't set the passability in the editor correctly.

    Do you have a parallax script? If yes, then give the link to it - if no, then that is the reason why it didn't work...
    Yes, I had found one by Yanfly and tried it out a while ago.

    https://github.com/Archeia/YEARepo/blob/master/Utility/Parallax_Lock.rb

    I'm not sure what to do with it, everyone seems to say copy and paste it onto the Script Editor.

    I tried but it keeps giving me this error and now I can't seem to remove the error even when I delete the script.

    It says,

    "Script'' line127: NameError Occurred.

    undefined method 'setup_parallax' for class 'Game_map'"

    Is there somewhere specific I need to paste it in or do I need a different script?

    I can't find one I can use because the hosting network of most is Dropbox and it tells me the server is disabled because of the traffic from the link.

    Perhaps I'm just not looking deep enough?
  5. make sure you're saving after putting it in, and make sure you're testing it out on a new game... and make sure you set it up correctly
  6. RyokuHasu said:
    You need a parallax locking script. Without one parallax maps will scroll at a different rate than a normal map as these are generally meant to be something of in the distant background or the like. A locking script would allow the parallax to scroll at the proper rate.

    Edit - I got Ninja'd!
    Haha, that's okay. The other person hasn't replied yet...

    Uh, yes I do have the locking script and I don't understand how to use it.

    The other "tutorials" tell me to just copy and paste it onto the Script editor and yes but it keeps popping up with an error message saying

    "Script'' line127: NameError Occurred.

    undefined method 'setup_parallax' for class 'Game_map'"

    Is there somewhere specific I need to paste it in or do I need a different script?

    I can't find one I can use because the hosting network of most is Dropbox and it tells me the server is disabled because of the traffic from the link.
  7. Engr. Adiktuzmiko said:
    make sure you're saving after putting it in, and make sure you're testing it out on a new game... and make sure you set it up correctly
    Yes I know to save it but how do I know to set it up correctly when the tutorials don't go very much into detail?

    And...set what up? The script or the mapping...?

    This is exactly the issue with the tutorials I find, no specific details.
  8. Both... you might need to do some set-up for the script and for the map itself, which I cannot help you with unless you can provide a link to the script
  9. ZalgoSyndrome said:
    Yes I know to save it but how do I know to set it up correctly when the tutorials don't go very much into detail?


    And...set what up? The script or the mapping...?


    This is exactly the issue with the tutorials I find, no specific details.
    That is what the script's instructions are for - if you start reading the script, you'll see that the first 60 line of that script are basically instructions for you on how to use it.
    More specifically, you'll need to read lines 32 to 46 now - there are four different notetags, and you need to place one of them into the notebox of any map that should use that script.


    Which of the four to use depends on what that map is, which means that you have to decide which form of parallax lock is needed where in your game.


    And that will only work for new game - if you try to load an savegame, you'll get errors like the one you reported above.
  10. maybe you placed the script on top of game_map? coz reading at your error, it says line 127 which is an alias line, so it means that the alias cannot find the original method "setup_parallax" which is there on the default game_map class


    Custom Scripts should be placed below Materials but above Main