RPG Maker Forums

Hello !


I have a "Gauge" picture that I wish to force to get zoom_x 100 if >100.


I wrote it my self (woooooo yeah !)  and it looks to work.


class Game_Picture
#--------------------------------------------------------------------------
# * Show Picture
#--------------------------------------------------------------------------
def show (name, origin, x, y, zoom_x, zoom_y, opacity, blend_type)
if @name = "Gauge"
if zoom_x > 100
@zoom_x = 100
else
@name = name
@origin = origin
@x = x.to_f
@y = y.to_f
@zoom_x = zoom_x.to_f
@zoom_y = zoom_y.to_f
@opacity = opacity.to_f
@blend_type = blend_type
init_target
init_tone
init_rotate
end #if
else
# Nothing
end #if
end #Def
end #Class


I just need the expertise from someone to tell me if that can mess somewhere


in the project.


Don't laugh at me ... It took about 2h to make it work without "errors" :D


Thank in advance !

Latest Threads

Latest Posts

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,047
Messages
1,018,539
Members
137,834
Latest member
EverNoir
Top