hallo COMMUNITY
so, nach längerer Zeit sitz ich wieder mal am Swing-Clone
mein Problem:
wenn man wild auf den Pfeiltasten rumhämmert, kann es sein, dass man auf einmal mehrere Bälle im "Chooser" hat, im Anhang ist die .gm6 und hier ist der Code fürs Down Press Event:
Alles anzeigen
gruß,
euer kopierjunge
so, nach längerer Zeit sitz ich wieder mal am Swing-Clone
mein Problem:
wenn man wild auf den Pfeiltasten rumhämmert, kann es sein, dass man auf einmal mehrere Bälle im "Chooser" hat, im Anhang ist die .gm6 und hier ist der Code fürs Down Press Event:
GML-Quellcode
- // -- BALL INS FELD WERFEN --
- with(instance_position(x,y,obj_ball)){
- y+=48
- typ='field'}
- // -- BALL AUFNEHMEN --
- with(instance_position(x,y-48,obj_ball)){
- y+=48
- typ='chooser'}
- // -- REIHE 1 BALL EIN RUNTERSCHIEBEN --
- with(instance_position(x,y-96,obj_ball)){
- y+=48
- typ='reihe2'}
- // -- BALL IN REIHE 1 ERSTELLEN --
- var obj;
- obj=instance_create(x,y-96,obj_ball)
- obj.typ='reihe1'
gruß,
euer kopierjunge

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von copyboy ()