Parallax Mapping Issues

ZalgoSyndrome

Villager
Member
Joined
Jun 29, 2014
Messages
5
Reaction score
0
First Language
English
Primarily Uses
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.
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
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...
 

RyokuHasu

Developer
Veteran
Joined
Jun 23, 2012
Messages
274
Reaction score
37
First Language
English
Primarily Uses
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!
 
Last edited by a moderator:

ZalgoSyndrome

Villager
Member
Joined
Jun 29, 2014
Messages
5
Reaction score
0
First Language
English
Primarily Uses
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?
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
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
 

ZalgoSyndrome

Villager
Member
Joined
Jun 29, 2014
Messages
5
Reaction score
0
First Language
English
Primarily Uses
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.
 

ZalgoSyndrome

Villager
Member
Joined
Jun 29, 2014
Messages
5
Reaction score
0
First Language
English
Primarily Uses
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.
 
Last edited by a moderator:

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
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
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
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.
 
Last edited by a moderator:

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
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
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,860
Messages
1,017,038
Members
137,568
Latest member
invidious
Top