Jump to content
Rpg²S Forum
  • 0

Richiamare immagine in una classe


Narutofan95
 Share

Question

Salve a tutti.

Mi trovo a dover richiamare un'immagine nel menu principale del gioco, contenuta nella cartella Pictures.

Allora io con l'RGSS dell' XP usavo il seguente metodo:

 

@immagine = Sprite.new@immagine.bitmap = RPG::Cache.picture("Nomeimmagine.png")@immagine.x = x@immagine.y = y@immagine.z = z

 

E dato che col VX non ci capo un cavolo, chiedevo a voi il vostro supremo aiuto :Ok:

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Ho inserito da poco una picture nell VX

  @menuback_sprite2 = Sprite.new	@menuback_sprite2.bitmap = Cache.picture ("001-25")	 @menuback_sprite2.z = -9998	 @menuback_sprite2.opacity = 200	 @menuback_sprite2.x += 40

ho scritto questoe funziona alla fine uguale identico all'xp

http://img256.imageshack.us/img256/7639/ihateyou.gif

Un uomo senza religione è come un pesce senza bicicletta.

http://img18.imageshack.us/img18/3668/decasoft1.png

http://rpg2s.net/gif/SCContest1Oct.gifhttp://rpg2s.net/gif/SCContest2Oct.gifhttp://rpg2s.net/gif/SCContest2Oct.gif

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...