Jump to content
Rpg²S Forum

Search the Community

Showing results for tags 'Hud'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Rpg²S
    • Ingresso
    • Bacheca
  • Making
    • Tutorial
    • Grafica
    • Risorse sonore
    • Parlando del Making...
    • Oltre RpgMaker...
  • RpgMaker MZ
    • Supporto MZ
    • Risorse grafiche MZ
    • PLUGIN e Javascript per MZ
    • Progetti MZ
    • Release MZ
  • RpgMaker MV
    • Supporto MV
    • Risorse grafiche MV
    • PLUGIN e Javascript per MV
    • Progetti MV
    • Release MV
  • RpgMaker VX & VX-Ace
    • Supporto VX e VX-Ace
    • Risorse grafiche VX & VX-Ace
    • RGSS2 (VX)
    • RGSS3 (VX-Ace)
    • Progetti VX e VX-Ace
    • Release VX e VX-Ace
  • RpgMaker XP
    • Supporto XP
    • Risorse grafiche XP
    • RGSS (XP)
    • Progetti XP
    • Release XP
  • RpgMaker 2000/2003
    • Supporto 2K/2K3
    • Risorse grafiche 2K/2K3
    • Progetti 2K/2K3
    • Release 2K/2K3
  • Cortile
    • Off Topic
  • Team e Gilde
    • R²S Resources Team
    • Computer Dreams
    • Rpg2s RPG BY FORUM
  • Archivio
    • R²S Magazine
    • RenShop

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Twitter


Facebook


YouTube


LinkedIn


DeviantArt


Google Plus


Instagram


Provenienza


Interessi


Titoli


Skin Profilo


Skin Profilo Scelta


Conigli


Banana E3


XmaS14


Uova


Coniglio d'oro


ZucCasa

Found 10 results

  1. DESCRIZIONE HUD totalmente personalizzabile compreso di barre hp e mp, livello, nome e immagine del main character AUTORE Francesco "Frash" Ascenzi ISTRUZIONI Creare un nuovo file nella cartella plugin del proprio progetto denominandolo Hud.js. L'HUD può essere personalizzato direttamente nel plugin editor di RPG maker. Per modificare i colori si utilizzano i codice HEX; per la lunghezza, e l'altezza, i punti. BUG E CONFLITTI Non noti SCRIPT /*: * @plugindesc Show a custom HUD on screen. * @author Francesco Ascenzi | Frash * * @help Made by Francesco Ascenzi | Frash * _______________ * * Username on RPG2S. * Fash on RPG Maker forum. * * @param X position of HUD * @desc X position of HUD * Default: 25 * @default 25 * * @param Y position of HUD * @desc Y position of HUD * Default: 25 * @default 25 * * @param X position of actor name * @desc X position of actor name text * Default: 0 * @default 0 * * @param Y position of actor name * @desc Y position of actor name text * Default: 0 * @default 0 * * @param X position of HP * @desc X position of HP bar * Default: 15 * @default 15 * * @param Y position of HP * @desc Y position of HP bar * Default: 15 * @default 15 * * @param X position of MP * @desc Y position of MP bar * Default: 15 * @default 15 * * @param Y position of MP * @desc Y position of MP bar * Default: 30 * @default 30 * * @param X position of level * @desc X position of level bar * Default: 0 * @default 0 * * @param Y position of level * @desc Y position of level bar * Default: 0 * @default 0 * * @param HP width * @desc Width of HP bar * Default: 200 * @default 200 * * @param MP width * @desc Width of MP bar * Default: 80 * @default 80 * * @param HP height * @desc Height of HP bar * Default: 15 * @default 15 * * @param MP height * @desc Height of MP bar * Default: 10 * @default 10 * * @param Max HP bar width * @desc Max width of HP bar * Default: 200 * @default 200 * * @param Max MP bar width * @desc Max width of MP bar * Default: 80 * @default 80 * * @param HP back color * @desc HEX HP base bar color * Default: #000000 * @default #000000 * @require 1 * * @param HP color * @desc HEX HP bar color * Default: #0FBA48 * @default #0FBA48 * @require 1 * * @param HP gradient color * @desc HEX HP gradient bar color * Default: #0FBA48 * @default #0FBA48 * * @param MP back color * @desc HEX MP base bar color * Default: #000000 * @default #000000 * @require 1 * * @param MP color * @desc HEX MP bar color * Default: #1D7CDB * @default #1D7CDB * @require 1 * * @param MP gradient color * @desc HEX MP gradient bar color * Default: #1D7CDB * @default #1D7CDB * * @param Party member * @desc Number of party member that you want to show (0 => Leader) * Default: 0 * @default 0 * */ (function showHud() { // INPUT PARAMETERS var inputParams = PluginManager.parameters('Hud'); // HUD | Position var hudX = Number(inputParams["X position of HUD"]) || 0; var hudY = Number(inputParams["Y position of HUD"]) || 0; // Name position var nameX = Number(inputParams["X position of actor name"]) || 84; var nameY = Number(inputParams["Y position of actor name"]) || 0; // HP properties var hpX = Number(inputParams["X position of HP"]) || 84; var hpY = Number(inputParams["Y position of HP"]) || 10; var hpW = Number(inputParams["HP width"]) || 320; var hpH = Number(inputParams["HP height"]) || 15; // MP properties var mpX = Number(inputParams["X position of MP"]) || 84; var mpY = Number(inputParams["Y position of MP"]) || 30; var mpW = Number(inputParams["MP width"]) || 150; var mpH = Number(inputParams["MP height"]) || 5; // Level properties var lvlY = Number(inputParams["Y position of level"]) || 2; // COLORS | Properties var hpColor = inputParams["HP color"] || "#0FBA48"; var gradHpC = inputParams["HP gradient color"] || "#0FBA48"; var mpColor = inputParams["MP color"] || "#1D7CDB"; var gradMpC = inputParams["MP gradient color"] || "#1D7CDB"; // PARTY | Properties var partyMember = Number(inputParams["Party member"]) || 0; // ASSIGN Hud.prototype = Object.create(Window_Base.prototype); Hud.prototype.constructor = Hud; // START | Create the Hud object from method function Hud() { this.initialize.apply(this, arguments); } // INITIALIZE METHOD Hud.prototype.initialize = function() { // Use HP or MP bars width depends on which is wider var hudW = hpW; if (hpW < mpW) { var hudW = mpW; }; Window_Base.prototype.initialize.call(this, hudX, hudY, hudW, 220); this.opacity = 0; } // DRAW | Hp, Mp, set font size, actor name, level Hud.prototype.drawActorFace = function(actor) { this.drawFace(actor.faceName(), actor.faceIndex(), 0, 0, 64, 64); } Hud.prototype.drawActorName = function(actor) { this.contents.fontSize = 19; var actorName = actor.name(); if (actorName.length > 12) { actorName = actorName.substr(0, 12) + '...'; } this.drawText(actorName, nameX, nameY, null); } Hud.prototype.drawActorLevel = function(actor) { var levelString = 'lvl.' + actor.level; this.contents.fontSize = 15; var lvlLength = 0; if (levelString.length >= 6) { lvlLength += 9; } var lvlX = (hpW - 74 - lvlLength); this.drawText(levelString, lvlX, lvlY, null); } Hud.prototype.drawBar = function(actor, x, y, width, height, rate, color1, color2, tilted, hp) { var hpMW = actor.mhp / 2; var fillW = Math.floor(width * rate); var gaugeY = y + this.lineHeight() - 8; this.contents.fillRect(x, gaugeY, width, height, this.gaugeBackColor()); this.contents.gradientFillRect(x, gaugeY, fillW, height, color1, color2); }; // UPDATE Hud.prototype.update = function() { this.contents.clear(); var leader = $gameParty.members()[partyMember]; this.drawActorFace(leader); this.drawBar(leader, hpX, hpY, hpW, hpH, leader.hpRate(), hpColor, gradHpC, 1, 1); // Hp bar this.drawBar(leader, mpX, mpY, mpW, mpH, leader.mpRate(), mpColor, gradMpC, 1, 0); // Mp bar this.drawActorName(leader); this.drawActorLevel(leader); } // ADD _Scene_Map_createAllWindows = Scene_Map.prototype.createAllWindows; Scene_Map.prototype.createAllWindows = function() { if (!DataManager.isBattleTest()) { this._hudWindow=new Hud(); this.addWindow(this._hudWindow); }; }; })();
  2. Buonasera a tutti e Buon Anno! Nella speranza che abbiate passato delle buone feste, vi auguro anche una buona digestione! Ma veniamo alla mia domanda: In questi giorni sto lavorato sul creare la mia HUD con i parametri PV, EXP, Fame, Sete, Sonno. Al fine di rendere il gioco il piu leggero possibile, è meglio gestire la HUD con uno script (presumo di si). Oppure, farlo funzionare con i parametri in Evento Comune, non è poi così diverso? (prestazionalmente parlando) Nel caso in cui non ci fosse molta differenza, avrei gia la soluzione per gestire solo la Fame, la Sete ed il Sonno, sotto Evento Comune. Ma non riesco a far funzionare la barra Exp. Ne tanto meno la barra dei PV, visto che la vorrei far funzionare in modo circolare. (ad anello attorno all'img del PG) Nel caso fosse meglio un PlugIn, non saprei dove sbattere la testa.
  3. Ciao a tutti , stavo lavorando alla battle hud per il mio gioco, e dopo qualche ora di lavoro è uscito fuori questo. Qualche opinione? Non sono il miglior grafico del mondo, ma il risultato non mi sembra malaccio. Se avete qualche consiglio da darmi per migliorare sono aperto a tutto. (Non fate caso al Leonardo XD)
  4. Ciao a tutti, sono nuovo sul forum e non ho idea se questo sia un re-post (ho fatto un veloce scroll e non ho notato nulla di simile) Mi servirebbe uno script per cambiare la finestra di dialogo ,o , in caso non sia necessario uno script, un mini-tutorial che mi spieghi come fare. Non so se sono stato abbastanza chiaro,non esitate a chiedere spiegazioni Grazie in anticipo :smile: (Progetto a fini commerciali) Questa finestra per intenderci http://www.ludomedia.it/upload/screens/pc/39203/Ao-Oni-0.png
  5. Nome: Barra generica su mappa Creatore: Holy87 Difficoltà: ?? Descrizione: Questo script permette di mostrare una barra sulla mappa per qualsiasi scopo. È possibile cambiare posizione, larghezza, colore e nome della barra, e impostare valore da 0 a 100 per il riempimento della barra e ovviamente nasconderla e mostrarla quando si vuole. Questo è uno dei pochi script che è compatibile sia su VX che su Ace XD Istruzioni: Incollare lo script sotto Materials e prima del main. Utilizzare call_script e inserire i seguenti comandi a scelta: set_genbar("nome") #cambia il testo della barra in nome set_genbar("nome",colore,x,y) #colore è Color.new(R,G,B) bar_resize(lunghezza, altezza) show_bar #mostra la barra hide_bar #nasconde la barraEsempio: http://img809.imageshack.us/img809/7118/s1ee.png Screenshot: http://img545.imageshack.us/img545/3744/ebwt.png Script: Scaricabile su Pastebin qui. Oppure qui Generic bar 1.1.txt (vecchia versione: barra_generica_vx.txt) Compatibilità Spriteset_Map -> alias initialize, update, dispose
  6. Nome: Barra generica su mappa Creatore: Holy87 Difficoltà: ?? Descrizione: Questo script permette di mostrare una barra sulla mappa per qualsiasi scopo. È possibile cambiare posizione, larghezza, colore e nome della barra, e impostare valore da 0 a 100 per il riempimento della barra e ovviamente nasconderla e mostrarla quando si vuole. Istruzioni: Incollare lo script sotto Materials e prima del main. Utilizzare call_script e inserire i seguenti comandi a scelta: set_genbar("nome") #cambia il testo della barra in nome set_genbar("nome",colore,x,y) #colore è Color.new(R,G,B) bar_resize(lunghezza, altezza) show_bar #mostra la barra hide_bar #nasconde la barra Esempio: http://img809.imageshack.us/img809/7118/s1ee.png Screenshot: http://img545.imageshack.us/img545/3744/ebwt.png Script: Scaricabile su Pastebin qui.Oppure qui barra_generica_vx.txt Compatibilità Spriteset_Map -> alias initialize, update, dispose
  7. Simple Hud Autore Guilherm_Gamer Descrizione Un piccolo e semplice hud, con faceset, nome, hp e mp e le barre colorate. Screen http://i41.tinypic.com/330sc4x.png Script
  8. In Time - HuD v 1.0 Descrizione Tutto nello script! Fare attenzione a non dimenticare di mettere il file PNG nella cartella system del vostro progetto! AGGIORNAMENTO 14/02/2013 - BUG FIXED Autore Freddo Allegati File PNG http://imageshack.us/a/img42/7403/struttura.png Screenshot (Solo in alto a sinistra!!!) http://imageshack.us/a/img547/4259/screeniy.png Istruzioni per l'uso Installare lo script sopra Main e sotto Materials! Ricordarsi il file PNG di inserirlo nella cartella System!!! Script Bugs e Conflitti Noti N/A (per ora) Potete contattarmi se ne trovate alcuni o vi servono modifiche! :D
  9. HUD MP/MP Descrizione Lo script è utile quando nel vostro gioco gli hp hanno un massimo di 10 punti e gli mp un massimo di 8 punti! Potete impostare variabili di hp e mp, switch di visibilità e persino le coordinate degli sprite! NOTA BENE: Ricordarsi di aggiungere nella cartella system le rtp che vi fornirò!!! Autore Freddo Istruzioni per l'uso Aggiungere le RTP che vi fornirò in http://www.mediafire.com/?fokvc8ijy2cbfi5 nella cartella System del progetto! Screen http://img844.imageshack.us/img844/2323/screenscript.png Script Bugs e Conflitti Noti N/A
  10. Ciao a tutti! Come da titolo avrei bisogno di un HUD molto semplice che stia costantemente sopra la testa del pg (ovviamente che si tolga durante una battaglia). Tutto ciò che gli serve sarebbe 2 barre, quella sopra con gli HP di colore rosso e quella sotto con gli MP di colore blu (classico xD). Poi se è possibile, mi piacerebbe anche un secondo HUD in alto a sinistra della schermata di gioco che mostri la faccia del personaggio e a destra della faccia compaiono il livello corrente e una barra dell'EXP con una percentuale che ne indica l'avanzamento. Oppure farne uno unico in alto a destra un pelino più grande che rappresenta le 3 barre e l'immagine. Ringrazio in anticipo tutti.
×
×
  • Create New...