Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Show Picture Command:
$game_map.screen.pictures[index].show(fName, placement, x, y, xZoom, yZoom, opacity, blend)
# fName - Also automatically searches files included in RGSS-RTP.
# File extensions may be omitted.
# placement - [0] Upper Left, [1] Center
# x - X value of image.
# y - Y value of image.
# xZoom - [100; Default] Horizontal scaling of image.
# yZoom - [100; Default] Vertical scaling of image.
# opacity - [255; Default] Opacity of image.
# blend - [0] Normal, [1] Add, [2] Sub
Move Picture Command:
$game_map.screen.pictures[imgNum].move(placement, x, y, xZoom, yZoom, opacity, blend, duration)
# imgNum - Numerical identifier of the image.
# placement - [0] Upper Left, [1] Center
# x - X value of image.
# y - Y value of image.
# xZoom - [100; Default] Horizontal scaling of image.
# yZoom - [100; Default] Vertical scaling of image.
# opacity - [255; Default] Opacity of image.
# blend - [0] Normal, [1] Add, [2] Sub
# duration - Duration of time to move image.
# NOTE : Does not pause script. Use one of the following instead :
#
# wait(iFrames)
# iFrames.to_i.times { Fiber.yield }
#
# iFrames - Number of frames to wait (1000 is equal to 1 second)
Tint Picture Command:
$game_map.screen.pictures[imgNum].start_tone_change(tone, duration)
# imgNum - Numerical identifier of image.
# tone - Tone information :
#
# Tone.new(red, blue, green, grey)
#
# duration - Duration of time to alter image.
# NOTE : Does not pause script. Use one of the following instead :
#
# wait(iFrames)
# iFrames.to_i.times { Fiber.yield }
#
# iFrames - Number of frames to wait (1000 is equal to 1 second)
Kudos!
PD: Epic answer!
Some information i found on the Internet other stuff i asked in Forums.
Sorry cant help with that.
Usually that is really more than enough.
Your answer has excellent documentation and covers the question 100% 99%.
That is what it counts.
That qquestionn helped me too!!! :P
http://www.rpg-studio.org/forum/index.php?page=Thread&postID=533516#post533516
Insert in Scriptmanager:
class Game_Picture
attr_accessor :zoom_x # Für Picture Zoom - Callscript abfrage
attr_accessor :zoom_y # Für Picture Zoom - Callscript abfrage
end
Now you should be able to Zoom Pictures by Variable. Usefulll if you dont want to move a health bar out of the picture, now you can zoom it directly everywhere on the map.
But maybe its also possible without this script. have to test it someday for this purpose.
(He changed only 2 "reader" to "accesor")
Edit: Hajami i just readed your answer in the other post XD, i want the bars in the upper part of the map screen and also in the menu, the bars are for food, water, stamina... they will be merged with the time system im making.
Evented version will do, i dont like having to copy a pararell process in each map but is no problem.
Pretty much what I'm saying is to display a picture/sprite specifically how and when you want you need to do a bit more custom code than using the picture settings for events.
Thanks