iPhone App Directory
RPG Maker VX
 
Gallery Members Search Calendar Help


Welcome Guest ( Log In | Register )

Collapse

>Announcement

The 2nd Quarter Contest has arrived! Go check it out in the Community Announcements now!

> Note for Tutorial Threads

New threads (tutorials) here will go into a moderation queue. You will not see your thread appear when you create it. A moderator will decide if it will be approved or denied.

8 Pages V   1 2 3 > »   
Reply to this topicStart new topic
> [-Graphics-] Parallax Mapping..., ...for Beginners
Rating 5 V
SamGreen
post Sep 19 2010, 01:09 PM
Post #1


Life Is Good.
Group Icon


Type: Designer
Alignment: Chaotic Neutral










I hope you found this tutorial helpful and that you have success one day whilst Parallax Mapping.

Credits:
Games:
Mythology: Fall of Olympus (Pub Map and Pantry/Kitchen/Dark Outside maps)
Siria’s Heart (Beach at Night map)

Graphics:
Celianna & Pokemon (Siria’s Heart Parallax)
Enterbrain (Tilesets)
Mack (Tilesets)

Scripts:
OriginalWij:
<div style="margin-top:5px"><div class="quotetitle">Spoiler: <input type="button" value="Show" style="width:45px;font-size:10px;margin:0px;padding:0px;" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Show'; }" />
<div class="quotecontent"><div style="display: none;">
CODE
#==============================================================================
# Sprite_Picture
#==============================================================================

class Sprite_Picture < Sprite
#--------------------------------------------------------------------------
# Update (Overwrite)
#--------------------------------------------------------------------------
def update
super
if @picture_name != @picture.name
@picture_name = @picture.name
if @picture_name != ""
self.bitmap = Cache.picture(@picture_name)
end
end
if @picture_name == ""
self.visible = false
else
fixed = @picture_name.include?("[FIXED]") ? true : false
self.visible = true
if @picture.origin == 0
self.ox = 0
self.oy = 0
else
self.ox = self.bitmap.width / 2
self.oy = self.bitmap.height / 2
end
self.x = @picture.x
self.y = @picture.y
# added
self.x += (self.ox - ($game_map.display_x / 8)) if fixed
self.y += (self.oy - ($game_map.display_y / 8)) if fixed
self.z = 100 + @picture.number
self.zoom_x = @picture.zoom_x / 100.0
self.zoom_y = @picture.zoom_y / 100.0
self.opacity = @picture.opacity
self.blend_type = @picture.blend_type
self.angle = @picture.angle
self.tone = @picture.tone
end
end
end
</div></div></div></div>



Q: How do you take a screenshot?
A: I have a simple tutorial for that here.

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 smile.gif

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

I know there aren’t a great lot of questions but just ask smile.gif

smile.gif Please Criticise and Comment smile.gif


This post has been edited by GrandmaDeb: Jun 29 2013, 04:33 AM


--------------------


Go to the top of the page
 
+Quote Post
   
Snipah
post Sep 20 2010, 05:44 AM
Post #2



Group Icon


Type: Designer
Alignment: Chaotic Evil




Awesome tutorial, I'm not using this myself atm but after reading this I might be adding some more details in some maps...

gonna finish adding shadows to all maps first though...


--------------------

Title: The Hydra Scrolls III - Throne of Arne - Game Type: SBS Rpg [100% Complete]
Title: The Hydra Scrolls IV - The Return Of Arne - Game Type: ABS Rpg [50% Complete]


Go to the top of the page
 
+Quote Post
   
SamGreen
post Sep 20 2010, 08:43 AM
Post #3


Life Is Good.
Group Icon


Type: Designer
Alignment: Chaotic Neutral




Thanks for your comments smile.gif

The other thing I forgot to mention was, like with Penta's tutorial, you can use pictures to just add extra detail to certain places that can't be accessed by the player, or just to be placed above the player, withour actually having to parallax a map!


--------------------


Go to the top of the page
 
+Quote Post
   
Hanzo Kimura
post Sep 20 2010, 11:19 AM
Post #4



Group Icon


Type: Artist
Alignment: Lawful Good




Nice tut...

~removed~

This post has been edited by Hanzo Kimura: Sep 20 2010, 03:18 PM


--------------------
Go to the top of the page
 
+Quote Post
   
Pentagonbuddy
post Sep 20 2010, 01:24 PM
Post #5


Obligated To Love <3
Group Icon


Type: Undisclosed
Alignment: Unaligned




Ah, I'm sorry for sounding like a mean mod, but...Someone else's tutorial isn't a good place to talk about a script you're working on. n__n; Why not mention it in the screenshots thread? I'm sure lots of people would love to know how you make your maps~! And I know a parallax script is relevant in a tutorial about parallaxes, but you're only talking about the script and saying you might release it, instead of giving a resource for other people to use. And if you want to talk about how you make your maps, you could always write a tutorial explaining. <3


--------------------
Go to the top of the page
 
+Quote Post
   
Hanzo Kimura
post Sep 20 2010, 03:10 PM
Post #6



Group Icon


Type: Artist
Alignment: Lawful Good




ohhh its okay no need for sorry >.<
i just thought those readers might get interested on new ways of parallaxing the maps with ground effects
and just thought i dont want to make -yet-another-parallaxing-tut- topic
and just edit my post later on when i get the script release so they'll know... if they're interested

This post has been edited by Hanzo Kimura: Sep 20 2010, 03:10 PM


--------------------
Go to the top of the page
 
+Quote Post
   
SamGreen
post Sep 20 2010, 03:13 PM
Post #7


Life Is Good.
Group Icon


Type: Designer
Alignment: Chaotic Neutral




I'm not too fussed to be honest, Hanzo, but could you please put the shots in a spoiler at least (all of them)? smile.gif


--------------------


Go to the top of the page
 
+Quote Post
   
Hanzo Kimura
post Sep 20 2010, 03:17 PM
Post #8



Group Icon


Type: Artist
Alignment: Lawful Good




nahhh i'll think i'll just remove them, sorry


--------------------
Go to the top of the page
 
+Quote Post
   
SamGreen
post Sep 20 2010, 03:21 PM
Post #9


Life Is Good.
Group Icon


Type: Designer
Alignment: Chaotic Neutral




Okay tongue.gif
Thanks, but I really wasn't that bothered, i just don't want you stealing my possible thunder wink.gif


--------------------


Go to the top of the page
 
+Quote Post
   
IceDragon
post Sep 20 2010, 03:39 PM
Post #10


I demand cookies.
Group Icon


Type: Coder
Alignment: Neutral Good




OMG!! You have answered my prayers!
I always wanted to know about parallax mapping.

Thanks SamGreen!


--------------------
Spoiler:





To be Hexa-fied


Spoiler:
Other/Reminders--
Support your cookie loving dragon!

CODE
[url="http://www.rpgmakervx.net/index.php?showuser=52960"][img]http://i56.tinypic.com/2d1pfmw.png[/img][/url]


http://www.rpgmakervx.net/index.php?showto...amp;#entry48215 HA AUTOTILES
Pine's Birthday is the 2th of July

WORK ON YOUR TIME MEMORY @___@
Go to the top of the page
 
+Quote Post
   
Hanzo Kimura
post Sep 20 2010, 04:43 PM
Post #11



Group Icon


Type: Artist
Alignment: Lawful Good




lol it's okay no hard-feelings at all happy.gif
~Love your tut btw, very descriptive and nice presentation...


--------------------
Go to the top of the page
 
+Quote Post
   
KingShen
post Sep 21 2010, 02:44 AM
Post #12



Group Icon


Type: Undisclosed
Alignment: Unaligned




god dang I wish I could read this on my phone. The main lacking point of mine is interesting mapping. I have got the basics down and intermediate stuff, so now I am ready for my maps to come alive. This tut helps, but I can't view images on my phone...


--------------------
QUOTE (PinedaVX)
If you can't be a normal human being, then get the fuck out


Support:
Spoiler:





Go to the top of the page
 
+Quote Post
   
Oopsifarted
post Sep 21 2010, 03:39 AM
Post #13



Group Icon


Type: Writer




Sam to the rescue once again! So you screenshot a map, edit it, re-import it, change passibility settings, play it and you're good to go?

Thanks once again. smile.gif
Go to the top of the page
 
+Quote Post
   
SamGreen
post Sep 21 2010, 05:36 AM
Post #14


Life Is Good.
Group Icon


Type: Designer
Alignment: Chaotic Neutral




In short, kind of yeah wink.gif
But seriously, you have to be careful of sizes and everything smile.gif


--------------------


Go to the top of the page
 
+Quote Post
   
Neosky
post Sep 21 2010, 06:03 AM
Post #15


Master of the DarkSyde of Cheese!
Group Icon


Type: Undisclosed
Alignment: Lawful Evil




just a quick question. That script is it the same as this one?
CODE
#==============================================================================
# Fixed Pictures
#==============================================================================
# Author : OriginalWij
# Version : 1.0
#==============================================================================

#==============================================================================
# To use: put the tag [FIXED] in the picture's filename
#==============================================================================

#==============================================================================
# Sprite_Picture
#==============================================================================

class Sprite_Picture < Sprite
  #--------------------------------------------------------------------------
  # Update (Mod)
  #--------------------------------------------------------------------------
  alias ow_fixed_picture_update update unless $@
  def update
    ow_fixed_picture_update
    if @picture_name.include?("[FIXED]")
      self.x += (self.ox - ($game_map.display_x / 8))
      self.y += (self.oy - ($game_map.display_y / 8))
    end
  end
end


Just making sure there are a couple differences, but i think it's the same right? Looks like an updated version of sorts.

BTW, that's a great tut!

This post has been edited by neosky: Sep 21 2010, 06:05 AM


--------------------


Remember, Remember the 5th of November...
Spoiler:


Spoiler:


If you are new, please go through this spoiler for VERY useful links.
Spoiler:





Tarris Thread || User Forum || Tarris Hold Website || Twitch.tv
Go to the top of the page
 
+Quote Post
   
SamGreen
post Sep 21 2010, 03:32 PM
Post #16


Life Is Good.
Group Icon


Type: Designer
Alignment: Chaotic Neutral




Hmm, I suppose so... :S
I don't know much about it (it's origins), I got it off Celianna in C-7's tutorial.


--------------------


Go to the top of the page
 
+Quote Post
   
cdabamsworth
post Sep 21 2010, 04:13 PM
Post #17


Jinjo
Group Icon


Type: Musician
Alignment: Lawful Good




I'm confused, I have a script where you put in the screen coordinates as usual, but it interprets them as map coordinates if you flip a switch. But this [FIXED] thing seems like an easier solution, except for the fact I wouldn't be able to fix small pictures low down in the map.
Go to the top of the page
 
+Quote Post
   
SamGreen
post Sep 21 2010, 04:22 PM
Post #18


Life Is Good.
Group Icon


Type: Designer
Alignment: Chaotic Neutral




And why would that be?


--------------------


Go to the top of the page
 
+Quote Post
   
Scinaya
post Sep 21 2010, 07:32 PM
Post #19


Spreading the Valentine's joy
Group Icon


Type: Artist
Alignment: Chaotic Good




QUOTE (cdabamsworth @ Sep 21 2010, 07:13 PM) *
I'm confused, I have a script where you put in the screen coordinates as usual, but it interprets them as map coordinates if you flip a switch. But this [FIXED] thing seems like an easier solution, except for the fact I wouldn't be able to fix small pictures low down in the map.


You just need to make a transparent picture of size of the complete map and place the small thing in the bottom wherever you want in this transparent picture. smile.gif
If I understood correct...

This post has been edited by Scinaya: Sep 21 2010, 07:33 PM


--------------------
;u; Thank you:


Go to the top of the page
 
+Quote Post
   
cdabamsworth
post Sep 21 2010, 07:45 PM
Post #20


Jinjo
Group Icon


Type: Musician
Alignment: Lawful Good




QUOTE (Scinaya @ Sep 21 2010, 08:32 PM) *
You just need to make a transparent picture of size of the complete map and place the small thing in the bottom wherever you want in this transparent picture. smile.gif
If I understood correct...

Yes, but surely that'd take up a lot of memory if it was a big map. the advantage of my current script is that you can place a small picture anywhere. If you had a 10000x10000 map (not that you would), you could fit in a tiny little picture at one place. That would be less memory than a huge picture taking up the whole map. That's my point.
Go to the top of the page
 
+Quote Post
   

8 Pages V   1 2 3 > » 
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 16th April 2014 - 09:27 AM

RPGMakerVX.net is an Privacy Policy, Legal.