Parallax Mapping

Status
Not open for further replies.

Leumas

Experienced Noob
Veteran
Joined
Apr 26, 2012
Messages
93
Reaction score
14
First Language
English
Primarily Uses


I hope you found this tutorial helpful and that you have success one day whilst Parallax Mapping.
Accessibility Tutorial
Credits:
Maps:
All were my mapping.

Graphics:
Celianna & Pokémon (Siria’s Heart Parallax)
Enterbrain (Tilesets)
Mack (Tilesets)

Scripts:
OriginalWij:
Code:
#==============================================================================# Sprite_Picture#==============================================================================class Sprite_Picture < Sprite#--------------------------------------------------------------------------# Update (Overwrite)#--------------------------------------------------------------------------def updatesuperif @picture_name != @picture.name@picture_name = @picture.nameif @picture_name != ""self.bitmap = Cache.picture(@picture_name)endendif @picture_name == ""self.visible = falseelsefixed = @picture_name.include?("[FIXED]") ? true : falseself.visible = trueif @picture.origin == 0self.ox = 0self.oy = 0elseself.ox = self.bitmap.width / 2self.oy = self.bitmap.height / 2endself.x = @picture.xself.y = @picture.y# addedself.x += (self.ox - ($game_map.display_x / 8)) if fixedself.y += (self.oy - ($game_map.display_y / 8)) if fixedself.z = 100 + @picture.numberself.zoom_x = @picture.zoom_x / 100.0self.zoom_y = @picture.zoom_y / 100.0self.opacity = @picture.opacityself.blend_type = @picture.blend_typeself.angle = @picture.angleself.tone = @picture.toneendendend



FAQ

Q: How do I add the tiles?
A: You can COPY them from your tilesets and PASTE them in the map.

Q: Do I need to overlay the picture in order for the character to walk under?
A: If there is a part of your map where you need to walk under then YES! – If not then don’t bother


Q: Can I use any tileset?
A: As long as you think it’s suitable.

Finally, some people may think that I have stolen this tutorial however it is mine. I am under a different alias on this site than I was on this one. Please comment, if any queries arise, I will try my best to answer them.
 
Last edited by a moderator:

randomuser

Veteran
Veteran
Joined
Apr 18, 2012
Messages
212
Reaction score
18
First Language
English
Primarily Uses
edit
 
Last edited by a moderator:

Leumas

Experienced Noob
Veteran
Joined
Apr 26, 2012
Messages
93
Reaction score
14
First Language
English
Primarily Uses
That's nice to know, hope you find it as useful as I intended it to be!
 

Dactrius

Elfophile
Veteran
Joined
Mar 26, 2012
Messages
49
Reaction score
8
First Language
English
Primarily Uses
I'm very much a purist and combined with my intense laziness, I refuse to dabble in parallax mapping. I have to say though, this is an exceptionally well written and interesting guide. Worth a read, even to me that won't get any use from it. I've always wondered with parallax mapping, how does the editor know where the player can and can't walk, since the map is just a background picture now? Surely you don't do it with a huge amount of events?
 

Leumas

Experienced Noob
Veteran
Joined
Apr 26, 2012
Messages
93
Reaction score
14
First Language
English
Primarily Uses
Were those rhetorical questions because I do answer it in the tutorial haha.

And thank you :3
 

Dactrius

Elfophile
Veteran
Joined
Mar 26, 2012
Messages
49
Reaction score
8
First Language
English
Primarily Uses
No, I'm serious. I read this guide at nearly 4 am so I figured maybe I just missed it, but reading it again I'm not sure what I'm missing. You say "Set the passability" at the end, but I'm not sure how you would do that. I do apologise if I'm being blatantly dumb, but I'm just not sure what I'm looking for. I've always been very curious how passability is handled in a parallax map.
 

Leumas

Experienced Noob
Veteran
Joined
Apr 26, 2012
Messages
93
Reaction score
14
First Language
English
Primarily Uses
I've just looked over it and there seems to be some parts missing... I'll salvage them, the passability info must be in the missing parts...

Edit:

http://t2.gstatic.com/images?q=tbn:ANd9GcR8coGVyqOGP-BttTuY6YGIu3LIWEju-4WtGLe15Z3YQ-QZiD1TagzE4F-1

I actually do not know what's going on but the above image (which has worked in the past) was supposed to be the beginning of it and it did explain about the passability stuff within it... The thing is, I don't have it on this computer any more and it just won't appear anywhere in it's large, proper form. I'm really angry haha, oh well. I keep looking for it, if not, I'll write up a quick explanation for you!
 
Last edited by a moderator:

Leumas

Experienced Noob
Veteran
Joined
Apr 26, 2012
Messages
93
Reaction score
14
First Language
English
Primarily Uses


Here is a very quick passability mini-tutorial thingy. Hope it's sufficient, if not, just tell me :)

Oh I should mention also, if there's an overlay, make sure you still paint over the map if it's accessible or not, for example, if there was a treetop in an overlay that you could walk under, simply draw an accessible route under it and let the overlay... Overlay it :)
 
Last edited by a moderator:

Joeri

Villager
Member
Joined
May 4, 2012
Messages
34
Reaction score
1
First Language
Dutch
Primarily Uses
Thanks man :) Will try it out tomorow ^^
 

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
Really nice dude... Now I can combine all those items in different tilesets when needed... XD...

btw, at the pic you said about the two parts that will be explained later because they involve the script (the ones which are part of the wall but have been blackened)... I can't seem to find the explanation though...
 
Last edited by a moderator:

Leumas

Experienced Noob
Veteran
Joined
Apr 26, 2012
Messages
93
Reaction score
14
First Language
English
Primarily Uses
I do explain it, it's when I talk about the [FIXED] overlays. It's so the character looks as if he's walking under the part of the roof. Understand? :)
 

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
oh yeah, I just realized it after... :)
 

Adon

ADONKADONK
Veteran
Joined
Mar 24, 2012
Messages
93
Reaction score
15
First Language
English
Primarily Uses
What a useful tutorial! It even uses the script I use for parallax mapping. Thanks very much!
 
Last edited by a moderator:

d_a_renoir

Veteran
Veteran
Joined
Jun 12, 2012
Messages
237
Reaction score
27
First Language
English
Primarily Uses
Um, is it just me or is there not any picture in the post? It just says "Posted Image" and I'm not seeing any pictures.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
I see the pictures. Try using a different browser, maybe?
 

Leumas

Experienced Noob
Veteran
Joined
Apr 26, 2012
Messages
93
Reaction score
14
First Language
English
Primarily Uses
Like Shaz said, I'd suggest using a different browser, or maybe cleaning your internet cache?
 

Shablo5

Veteran
Veteran
Joined
May 23, 2012
Messages
608
Reaction score
23
First Language
English
Primarily Uses
What does that 'Sprite Picture' script accomplish?
 

Leumas

Experienced Noob
Veteran
Joined
Apr 26, 2012
Messages
93
Reaction score
14
First Language
English
Primarily Uses
What does that 'Sprite Picture' script accomplish?
Did you read the tutorial, it's in there. You should really read something before asking questions about it because it's explained in there.
 

SolarGale

Learning
Veteran
Joined
Jun 8, 2012
Messages
479
Reaction score
37
First Language
English
Primarily Uses
Nice tutorial Sam, you can never receive enough tips on parallax mapping, now I have to practice practice practice! :3

Although now you may want to do a little section on using animated parallax and the like, but I think It's modern algebra's script that's the one that lets you animate, not too sure...
 
Last edited by a moderator:

d_a_renoir

Veteran
Veteran
Joined
Jun 12, 2012
Messages
237
Reaction score
27
First Language
English
Primarily Uses
Guh, Look at how much I fail. I see pictures now. My browser was being stupid.
 
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

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'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:

Forum statistics

Threads
105,854
Messages
1,016,998
Members
137,562
Latest member
tamedeathman
Top