This is my first time creating a parallax map. I do not have any custom scripts added.
So my problem is this:
I added the parallax map, i created, in to the edditor as a Parallax background under the map properties.
After that i immedietly placed the character in to the map to test it; and this happened:
http://www.dailymotion.com/video/k6HBTKMKvgYM7l84FqC
(Appologies for not using youtube, i hope you can see the video. If not, say so, and i will try to fix it)
As you can see the map in game gets cut off for some reason, and i have no idea why that happens.
A side question if anyone could answer.
I know that you are suppose to add the parts of the map that overcast the character as an event with "Show picture" and i would just like to know, if the same is done if you wish to add the overlay image you use for the shadows and lighting.
Parallax map getting cut off in game
● ARCHIVED · READ-ONLY
-
-
The most important question:
What script are you using to lock the parallax picture? Please link to it, as the different scripts available have different options to handle overlays.
Second, what is the size of your map (in map spaces, defined in map properties) and what is the size of your parallax picture (in pixels)? Those two sizes basically need to be the same (each map space is 32x32 pixels)... -
I am not using any scripts at the moment.
I thought that is only used for locking the overlay picture in place that's used for shadows.
Do these scripts also fix the map cutting problem?
The ground parallax background and the size of the map are correct. Both are 23x20 with 32x32 pixle tiles, so that shouldn't be a problem. -
For the overlay picture, you'd include shadows so that it appears to be 'dark' when the player walks underneath it.
Anyways, your problem is you're not using any scripts. To parallax map correctly in Ace, you need a parallax lock script and a fix picture script. Both are done by Yanfly, if I recall correctly. -
Can anyone upload the scripts required so i can try it
I tried getting it from Yanfly's website, but dropbox decided to block all links.
http://yanflychannel.wordpress.com/rmvxa/utility-scripts/parallax-lock/ -
There is actually a Github link on his mainpage (first entry)Can anyone upload the scripts required so i can try it
I tried getting it from Yanfly's website, but dropbox decided to block all links.
http://yanflychannel.wordpress.com/rmvxa/utility-scripts/parallax-lock/ -
Are you sure about that? There is a reason I asked for the pixel size of the overlay, because it had happened before that someone simply miscalculated the size of the parallax picture - never assume that something is correct if you're looking for an error, but always check even the most primitive part of any sequence...The ground parallax background and the size of the map are correct. Both are 23x20 with 32x32 pixle tiles, so that shouldn't be a problem.
-
Nah it's okey, it's working properly now that i put in Yanfly's Paralax script and Picture fix script.
But now i'm having trouble getting 2 different overlay pictures to work on a single map with the Picture fix script.
One for shadows/lighting and the other for placing graphics above the character.
I'm guessing that's not possible with the picture fix script. -
You can do that, but you need to configure yanfly's script (especially the variables and switches) for that...But now i'm having trouble getting 2 different overlay pictures to work on a single map with the Picture fix script.
One for shadows/lighting and the other for placing graphics above the character. -
Ah i was afraid of that.
I'm having difficulty working with scripts.
I guess i'll wait a bit and watch some tutorials on rgss3 and ruby before touching this again.
Thanks for all the answers guys. -
In my opinion, that bolded word poses the biggest problem."watch" some tutorials
A lot of things can't be learned by watching videos, because in 99% of all videos the "teacher" forgets things he considers elementary to shorten the tutorial video - there is a reason why some topics require years of study to learn them correctly.
In a written tutorial that problem is often removed, because a written tutorial can take time to explain the basics again - that's why it often takes a few hours to read through a tutorial compared to watching a video for twenty minutes.
So if you really want to learn something, you should look for the written tutorials and not the video tutorials.
However, as I explained in my starting point tutorial (link in my signature), even reading a good tutorial is NOT enough.
You need to work the tutorial to really learn something from it, no matter what the topic is.
Open the editor on one half of your screen, open the tutorial on the other half - and repeat every step that is described in the tutorial. Only by doing that you can learn how it's really done - and that is another reason why video tutorials fail, you would have to stop and rewind hundreds of times while you're doing the same on your tutorial project. -
I'm just gonna write an update to the solution i found in case anyone runs to a similar problem in the future.
In the last few days i learned enough ruby to be able to at least read yanfly's scripts and from what i see there really isn't anything in there that would help with putting multiple overlay pictures in without getting overwritten by the last one.
Apparently the only thing you need to do, is go under Edit Event, add an event Show Picture, and make sure every picture has a different Number. This is how you can have multiple overlay pictures over each other. -
I bet you didn't look through the instructions in the script, and it requires you to set some switches and/or variables, and you haven't done them. You can't just wack in a script and expect it to work. You have to actually READ the instructions and do some extra work to make sure it's set up properly.
I don't know about Yanfly's script, but Yami has a popular one and requires extra things to be set up. A LOT of people post here saying it's "not working" when the problem is that they haven't read and followed the instructions :)
Moving to RGSSx Script Support -
What are you talking about???
I have read the script and i have already stated it has NOTHING to do with the trouble i was having.
Yanfly's and Seer UK's script worked fine the moment i tried them, and yesterday i even created my own script from scratch that i find much easier to use. Instead of having to activate variables for each map, I just need to have the file name of the parallax picture i use to include a certain word.
All Seer Uk's script (Picture Fix) does, is subtracts the display position when it calculates the coordinates of the bitmap used as an overlay and Yanfly's just changes the number of pixles from 16 to 32 that is then used in the calculation for the Parallax Display Origin.
It has nothing to do with allowing you to have several pictures appear at the same time. (I thought it was a script limiation before, because I couldn't read code.)
The reason i had problems with not being able to have several overlay pictures at the same time is because i didn't know i had to change the ID of each picture, which is done in the Event Editor when you place them.
http://imgur.com/3JXHjEt
That's why the new one just overwrote the previous one, making it display only 1 picture.