1
Fork 0
mirror of https://github.com/Steffo99/stack.git synced 2025-03-21 16:13:31 +00:00

Aggiunti i totem al freeplay.

This commit is contained in:
Steffo 2013-07-01 15:56:28 +03:00
parent 0378427301
commit e35e4e530f
2 changed files with 31 additions and 1 deletions

View file

@ -84,6 +84,16 @@
<object>objects\moon</object>
<object>objects\nbomb</object>
<object>objects\dbomb</object>
<object>objects\otA</object>
<object>objects\otB</object>
<object>objects\otC</object>
<object>objects\otD</object>
<object>objects\otE</object>
<object>objects\otF</object>
<object>objects\otG</object>
<object>objects\otH</object>
<object>objects\otI</object>
<object>objects\otJ</object>
</objects>
<objects name="Pezzi">
<object>objects\wall</object>

View file

@ -1,7 +1,7 @@
//Seleziona il primo oggetto.
selected = 0;
//Definisci qual è il numero massimo, ad esempio se arriva a stack_names[9] scrivi 9.
totalitems = 9;
totalitems = 19;
//Definisci l'array con tutti i nomi degli oggetti da fare spawnare.
stack_names[0] = squadraL;
stack_names[1] = gomma;
@ -13,6 +13,16 @@ stack_names[6] = gommag;
stack_names[7] = matita;
stack_names[8] = moon;
stack_names[9] = specialroll;
stack_names[10] = otA;
stack_names[11] = otB;
stack_names[12] = otC;
stack_names[13] = otD;
stack_names[14] = otE;
stack_names[15] = otF;
stack_names[16] = otG;
stack_names[17] = otH;
stack_names[18] = otI;
stack_names[19] = otJ;
//Definisci l'array con tutti i nomi degli sprite da disegnare con il mouse.
spr_names[0] = rtri;
spr_names[1] = lball;
@ -24,6 +34,16 @@ spr_names[6] = bigball;
spr_names[7] = matitasp;
spr_names[8] = moonball;
spr_names[9] = radio;
spr_names[10] = totemA;
spr_names[11] = totemB;
spr_names[12] = totemC;
spr_names[13] = totemD;
spr_names[14] = totemE;
spr_names[15] = totemF;
spr_names[16] = totemG;
spr_names[17] = totemH;
spr_names[18] = totemI;
spr_names[19] = totemJ;
//Disattiva il mouse normale visto che viene generato automaticamente.
window_set_cursor(cr_none);
//Apri il file di salvataggio, carica il record e chiudi il file.