Creating Static Text in Moving Title

Scarfalufagus

Warper
Member
Joined
Aug 12, 2015
Messages
2
Reaction score
0
First Language
English
Primarily Uses
Hello all,

I managed to create a basic scrolling background for my game by editing the default title script and now want to have my game title be a static text item above my background. I tried adding another image above the title, but that locked up the scrolling. Any idea how I can do this? For reference, this is what I have now:

  #--------------------------------------------------------------------------
  # * Create Title Graphic
  #--------------------------------------------------------------------------

  def create_title_graphic
    @sprite = Sprite.new
    @sprite.bitmap = Cache.system("Title")
    @sprite = Plane.new(@viewport1)
    @sprite.bitmap = Cache.system("Title")
    @sprite.oy = 60
    @sprite.ox = 100
    @sprite.z = -100
    @sprite.opacity = 150
  end
 
  #--------------------------------------------------------------------------
  # *Animate Title Graphic
  #--------------------------------------------------------------------------

  def update
    super
    @sprite.ox+=1
    @command_window.update
      if Input.trigger?(Input::C)
        case @command_window.index
        when    #New game
          command_new_game
        when    # Continue
          command_continue
        when 2    # Shutdown
          command_shutdown
        end
      end
    end


Thanks!
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
You would need a second sprite
 

Scarfalufagus

Warper
Member
Joined
Aug 12, 2015
Messages
2
Reaction score
0
First Language
English
Primarily Uses
How would I go about implementing that? I apologize in advance, I'm kind of new at this.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

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.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,860
Messages
1,017,040
Members
137,569
Latest member
Shtelsky
Top