Jump to content
Rpg²S Forum
  • 0

Mostrare un hud


Squall_Leonheart
 Share

Question

Salve,con un processo parallelo stavo cercando di far apparire un immagine relativa all'eroe con questo comando:

 

	@hud = Sprite.new	@hud.bitmap = Bitmap.new("Graphics/Pictures/"+@actor.hero_name)

 

Però mi dà l'errore...E se scrivo direttamente il nome dell'img mi riporta la mancanza dell'initialize...

Ho provato anke a cambiare hero con battler ma niente.

Cosa devo fare?Creare tutta una scene_window e dargli il richiamo tramite script?

Iscriviti sul mio canale youtube -

https://www.youtube.com/channel/UCYOxXExvlXiOFfYD1fTFpww?view_as=subscriber

Seguimi su Instagram -

https://www.instagram.com/ancestralguitarist/

---------------------------------------------------------------------------------------------------------------------------------------
Contest vinti
---------------------------------------------------------------------------------------------------------------------------------------

FACE CONTEST # 3
BANNER CONTEST #69

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0
Direi che ti conviene creare una window con tutte le caratteristiche del personaggio. Poi modificare la scene_map.

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

  • 0
Salve,con un processo parallelo stavo cercando di far apparire un immagine relativa all'eroe con questo comando:

 

	@hud = Sprite.new	@hud.bitmap = Bitmap.new("Graphics/Pictures/"+@actor.hero_name)

 

Però mi dà l'errore

Cosa devo fare?

C'è uno script per l'HUD, in questo forum, in due versioni, sia per un solo personaggio che per l'intero party, e, se non ricordo male, include "face", barre hp/sp, ecc.

 

Comunque, la parte per caricare la bitmap andrebbe scritta come

@hud.bitmap = Bitmap.new("Graphics/Pictures/"+$game_party.actors[0].name)

e non come l'hai scritta tu . . .

 


SCRIPT RGSS (RPG Maker XP) VINTAGE LIBRARY [2018+]


Breaking (in ogni senso) News: "Treno deraglia per via del seno di Sakurai Aoi . . ." - Info nello spoiler !!

 


http://afantasymachine.altervista.org/_altervista_ht/NOOOOOOOOOilMIOtreninooooo_500.gif


Non riesco a smettere di essere affascinato da immagini come questa . . .

http://anime.vl-vostok.ru/art/photos2011/17/78049800/wall_VladAnime_WWA_1885-1680x1050.jpg


Alcuni wallpapers che faccio ruotare sul mio vecchio PC . . .


http://afantasymachine.altervista.org/_altervista_ht/gits_window.jpg

http://afantasymachine.altervista.org/_altervista_ht/madoka_group01.jpg
http://afantasymachine.altervista.org/_altervista_ht/arisu_picipici_01.jpg
http://afantasymachine.altervista.org/_altervista_ht/phantom_wp01_einzwei.jpg


La parte più spassosa della mia vita è quando gli altri cercano di spiegarmi i miei pensieri . . .


BBCode Testing


Typeface & Size



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