Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
Sign in to follow this  
kenth21v

[SOLVED] input name processing BACKGROUND

Recommended Posts

is it to be scipted?

uhm.. This is what I hopefully wanted to happen:

after choosing Male and Female, the player will enter name,

(input name processing)

How can I do that if Male = different background for the process

and different background for Female?

you know the background while your are inputing the name, the blue one.

I would like to change that in the game.

Thanks guys! ;D

Share this post


Link to post
Share on other sites

is it to be scipted?

uhm.. This is what I hopefully wanted to happen:

after choosing Male and Female, the player will enter name,

(input name processing)

How can I do that if Male = different background for the process

and different background for Female?

you know the background while your are inputing the name, the blue one.

I would like to change that in the game.

Thanks guys! ;D

Change window skin command plus name input command for the event. Nothing more needs to be said.

Share this post


Link to post
Share on other sites

Or use a function like

 

 def draw_female(x, y)
    bitmap = RPG::Cache.picture("Female.png")
    cw = bitmap.width
    ch = bitmap.height
    src_rect = Rect.new(0, 0, cw, ch)
    self.contents.blt(x - cw / 2, y - ch, bitmap, src_rect)
 end

 

For female and male and then call the function with coordinates in the refresh/update section of the scene.. or something. Ask kell. My RGSS skils are subpar..

Share this post


Link to post
Share on other sites

@Kirishi: I find scripting this might be a waste of time since and can be simple be done by eventing.

Share this post


Link to post
Share on other sites

Yeah but you're limited to the windowskin. There are no limits in RGSS.

 

Plus using a picture for a window skin sounds nasty..

Share this post


Link to post
Share on other sites

Yup. Click on the edit button for your post and use the full editor, and then change the title.

 

I did it for you though.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...