Tuomo L

Oldbie
Veteran
Joined
Aug 6, 2012
Messages
2,442
Reaction score
1,365
First Language
Finnish
Primarily Uses
RMMV
As name implies, I'd need the option whichcan be turned on/off where the picture moves with the shake screen. Normally, when you shake the screen, the pictures do not follow the shaking and it can look really off especially if any of the pictures are used as overlays, like I do.
 

MeowFace

Meow
Veteran
Joined
Feb 22, 2015
Messages
1,034
Reaction score
186
First Language
Meowish
Primarily Uses
Lacking a bunch of infos like "What do you mean by a Picture?" Sprite? Bitmap? or Pictures from the Eventing "Show Picture"?

If it's Sprite/Bitmap from a script, you will need to provide the link to those scripts.

And it will be better to add infos like, Why, or When are you using the shake screen. Under what circumstances?

Please update your top post when you do to ease the job of anyone reading this tread.

And if it's just eventing show picture during a conversation, you can try move the pictures' X/Y to "emulate" a "shake" on them.

Can't remember how "show picture" updates itself. But you might pull it off simply by setting screen_x / screen_y to it if the picture update itself per frame.
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
43,451
Reaction score
15,231
First Language
English
Primarily Uses
RMMV
@MeowFace, he means Pictures as in the Show Picture command.
 

MeowFace

Meow
Veteran
Joined
Feb 22, 2015
Messages
1,034
Reaction score
186
First Language
Meowish
Primarily Uses
@MeowFace, he means Pictures as in the Show Picture command.
np, because he mentioned "overlay" so i am thinking he might be using scripts like parallax mapping/fog that's using a different viewport.

If it's only picture from eventing, skymen's suggestion should work.

Btw, MeowFace, you seem pretty active here, but as I'm bored, I'll try help as much as you do ^^
well, i blame this for reminding me all the time. :p
 
Last edited by a moderator:

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
43,451
Reaction score
15,231
First Language
English
Primarily Uses
RMMV
Pictures do get overlaid on top of the rest of the map. And he says "especially IF they get used as overlays", so includes occasions when they are NOT used as overlays.


Trust me - he's talking about the Show Picture command.
 
Last edited by a moderator:

MeowFace

Meow
Veteran
Joined
Feb 22, 2015
Messages
1,034
Reaction score
186
First Language
Meowish
Primarily Uses
well if it's only picture. a really short snippet should work. if i remember right picture is using viewport2 right?

so here's the code:

put this below Material and above Main.

class Spriteset_Map  alias meow_shakes update_viewports  def update_viewports    @viewport2.ox = $game_map.screen.shake if $game_switches[1]    meow_shakes  endend

change 1 in $game_switches[1] to any number you like. that should work as a switch in game to turn it on/off
 
Last edited by a moderator:

Latest Threads

Latest Profile Posts

Doing RPG Maker News for 28th September 2021

RMMV - Skip script errors:

For game developer testing purposes.
You know, I really get to farm likes since I post all of @Avery and @hiddenone 's blog tutorials on the forums...
Back from a very long hiatus with a new project woo
This is my battler placeholder image trying out art styles too I want to fake a backview battle system
I think I will want portraits and battle sprites to be 2D and stick to pixel art for overworld not 100%sure but pretty sure its easier to make pixel art for overworld sprites, events and maps and stuff.
Placeholder.png
$Syringer.png
toying with a brand new monster design

Forum statistics

Threads
115,440
Messages
1,089,933
Members
150,215
Latest member
Cam2244
Top