Jump to content
Rpg²S Forum
  • 0

mostrare valore di una variabile da script


q1q2q3q4q5
 Share

Question

Salve ho bisogno di un semplicissimo script che mi mostri in alto a destra con un carattere Arial (magari anche modificabile),

il valore di una variabile e affianco a destra un immagine. Il tutto deve essere attivato da una switch

 

potrei farlo ad eventi con le Picture ma con le centinaia di migliaia si andrebbe per le lunghe... vi prego aiutatemi non è difficile!

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0
Mi chiedo dove andremo a finire...

<< In FF8 Irvine conosce tutti ma non lo dice fino al 2° CD >>


Segui i miei vari lavoretti in queste pagine:

 

GAME DEV (Attualmente in lavorazione: 5th ERA)

https://missingseven.itch.io/ - https://gamejolt.com/@MissingSeven - https://twitter.com/missing_seven

 

DISEGNI

https://www.instagram.com/lollob_art/ - https://www.deviantart.com/lbillustrator

 

FAI IL BRAVO E GIOCA A THEIA!

http://www.theiarpg.com

Link to comment
Share on other sites

  • 0

Centinaia di migliaia? o.o

Non credo che sia troppo difficile farlo ad eventi. :\

 

In ogni caso, via script, per visualizzare il valore di una variabile basta un

$game_variables[iD_VARIABILE]

 

Per l'Arial, basta inserire questo nel def initialize della Scene dove vuoi metterlo:

self.contents.font.name = "Arial"

Partecipante al Rpg2s.net Game Contest 2008/2009
http://www.rpg2s.net/contest/GameContest0809/gc0809-bannerino.jpg
Gioco in Sviluppo: Oromis' Tale

Premi Rpg2s.net Game Contest 2008/2009:
http://www.rpg2s.net/gif/GC_programmazione2.gif Miglior Programmazione XP: 2°
http://www.rpg2s.net/gif/GC_premio3.gif Longevità: 3°

Hiken... Tsubame Gaeshi!

Link to comment
Share on other sites

  • 0

"mi secca" non deve esistere nel vocabolario di un makeratore.

Almeno in teoria. D:

Partecipante al Rpg2s.net Game Contest 2008/2009
http://www.rpg2s.net/contest/GameContest0809/gc0809-bannerino.jpg
Gioco in Sviluppo: Oromis' Tale

Premi Rpg2s.net Game Contest 2008/2009:
http://www.rpg2s.net/gif/GC_programmazione2.gif Miglior Programmazione XP: 2°
http://www.rpg2s.net/gif/GC_premio3.gif Longevità: 3°

Hiken... Tsubame Gaeshi!

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...