!!

Welcome to Save Point!

Formerly known as RMVXP, Save-Point is a game creational forum that aids users in creating games using software like RPG Maker or Game Maker. Support is also available today for members and members can also upload and download resources and scripts to use in their games. If you are new or experienced we welcome you to register.

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[XP/VX/VXA Script] Pictures Can Scroll Too
PK8 Offline
I am the enemy. I am the antidote.

*****
Posts: 1,731
Joined: May 2009
View My Download Submissions
Thanks: 25
Given 8 thank(s) in 29 post(s)

Save Points: 8,963sp
Items: (View All Items)
Awards:

Gender: Undisclosed
Favorite Maker: RPG Maker XP
Post: #1
Pictures Can Scroll Too

Pictures Can Scroll Too

Introduction
This script lets you specify which picture IDs will scroll along with the map.

Features
Set which pictures would scroll with the map.

Screenshot
[Image: ipd0lt.jpg]
[Image: 2say0qp.png]
[Image: 2itkdck.png]
These screenshots may not look like it, but the picture is scrolling with the map.

Script
Author's Notes
After porting Woratana's Picture Below Characters script to both RPG Maker XP and RPG Maker VX Ace, I wanted to see what else I could do with pictures and/or the Spriteset_Map class. After fiddling around with Woratana's script, I learned that the pictures didn't scroll with the map. I'm not sure why I assumed that it would, but I did. So I got into this very experimental sort of mood and decided to code this.

Thanks
If it weren't for me porting Woratana's script over to XP and Ace, I wouldn't have had anything new to experiment with, so I'm thankful for that.

Formerly known as Punk.
He Used To Feel Invincible, But Now He Doesn't Feel At All...
04-26-2012 05:00 AM
Find all posts by this user Quote this message in a reply
MetalRenard Offline
Lick = Love.

Posts: 1,720
Joined: Dec 2010
View My Download Submissions
Thanks: 38
Given 30 thank(s) in 51 post(s)

Save Points: 19,933sp
Items: (View All Items)
Awards:

Gender: Male
Favorite Maker: RPG Maker XP
Post: #2
RE: Pictures Can Scroll Too

Sexeh

04-26-2012 05:33 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Taylor Offline
slate furry thing

****
Posts: 271
Joined: Mar 2010
View My Download Submissions
Thanks: 0
Given 2 thank(s) in 8 post(s)

Save Points: 13,990sp
Awards:

Gender: Undisclosed
Favorite Maker: RPG Maker XP
Post: #3
RE: Pictures Can Scroll Too

Nice job, one particular bug though. If a picture is zoomed in any way, its initial position and scroll rate is not synced with the map. Given I want to use this for ambience as a simple alternate to multiple fogs, that's not going to work...

Might I also suggest a function to add or remove from the scrolling ID set? Though I am one to assign mentally picture IDs to specific purposes, I think it would help for those that would rather work on the fly, and might have a purpose to toggle a currently on-screen picture's behaviour. Carrying a large object and putting it down?

EDIT: Oh I think I solved it.
PHP Code:
self.ox + (($game_map.display_x 4) / self.zoom_x)
self.oy + (($game_map.display_y 4) / self.zoom_y

[Image: m1.png]
07-03-2012 01:14 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


User(s) browsing this thread:
1 Guest(s)


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
   Text Scroll Script - Enhanced DerVVulfman 12 2,953 06-09-2010 08:41 PM
Last Post: mageone



 Quick Theme: