RPG Maker Forums

i'm trying to create a window with a picture inside it that slightly moves up and down (as if floating)

This is what i've got so far, but I can't for the life of me figure out how to make that pic move

Ruby:
module DrawWindow 

    def draw_window()
    $window = Window_Base.new(0,296, Graphics.width, 120)
    bitmap = Bitmap.new("Graphics/Pictures/Face.png")
    $window.contents.blt(0,0, bitmap, Rect.new(0,0,bitmap.width,bitmap.height))
  end
 
  def draw_message(string)
    
    $window.draw_text(112,14, Graphics.width, 50, $txt,0)

  end
 
    def clear_window()
    $window.dispose
  end
end

Latest Threads

Latest Posts

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,090
Members
137,586
Latest member
Usagiis
Top