Jump to content
Rpg²S Forum
  • 0

Problemino rgss


Annoyed Grunt
 Share

Question

class SIB

 

 

def initialize

window_gold.new

window_goldx=3000

window_goldy=3000

 

arepresent=false

 

if Input.tigger (Input::A) #per non usare Z (A) modificare qui (Input::lettera)

case arepresent

when true

window_goldx=3000

window_goldy=3000

arepresent=false

when false

window_goldx=150

window_goldy=150

arepresent=true

 

end

end

end

end

 

 

 

questo codice l'ho fatto io,ma non riesco a capire perchè non funziona.

 

Praticamente consiste nel fare visualizzare i gols alla pressione del tasto Z.

Quando i gold non devono essere visibili,li sposto a 3000x 3000y

così da non essere visibili,quando dovrebbero esserlo,li sposto a 150 150,

il problema è che non me li visualizza comunque!

As I peeked through the window to observe the wretched things lurking in the shadows beyond, I could only think of one thing, "Truly, these are Days of Despair".

 

Messaggio gentilmente concesso da Annoyed Grunt. Che la forza sia con voi e state attenti agli accenti circonflessi. Ed agli OT ^ ^ ^ ^


http://i.imgur.com/ZKYj69N.png

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Non ho capito cosa hai scritto...

Prima di tutto dove deve apparire la finestra?

Scene_map?

O nel menù?

 

non è più semplice scrivere nel def update:

 

if Input.trigger?(Input::A)

@gold_window.visible = ! @gold_window.visible

end

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

Annoyed quando hai settato la x e la y alla gold_window hai dimenticato il punto.

infatti è:

window_gold.x = 3000

Per qualsiasi motivo non aprite questo spoiler.

 

 

Ho detto di non aprirlo !

 

 

Se lo apri ancora esplode il mondo.

 

 

Aaaaaa è un vizio.

 

 

Contento? Il mondo è esploso, sono tutti morti

per colpa della tua curiosità .

 

 

Vuoi che ti venga anche il morbillo, la varicella e l'AIDS???

 

 

O bravo ora sei un malato terminale e nessuno

ti puo curare, sono tutti morti !

 

 

Se clicchi ancora una volta il PC esplode.

 

 

E dai smettila !!

 

Uff!! Hai cliccato tante volte che ho dovuto sostituirlo con un codebox.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

http://s8.postimg.org/yntv9nxld/Banner.png

http://img204.imageshack.us/img204/8039/sccontest3octpl3.gif

Link to comment
Share on other sites

  • 0
grazie dell'aiuto,se incontrerò ulteriori problemi ripostterò qui (è il mio primo script)

As I peeked through the window to observe the wretched things lurking in the shadows beyond, I could only think of one thing, "Truly, these are Days of Despair".

 

Messaggio gentilmente concesso da Annoyed Grunt. Che la forza sia con voi e state attenti agli accenti circonflessi. Ed agli OT ^ ^ ^ ^


http://i.imgur.com/ZKYj69N.png

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