Skocz do zawartości

Ab-Dul

Użytkownicy
  • Postów

    3
  • Dołączył

  • Ostatnia wizyta

Odpowiedzi opublikowane przez Ab-Dul

  1. wyskakuje mi coś takiego podczas włączania gry. Nie mogę za chiny dojśćo co mu chodzi :D

     

    GML
    ___________________________________________

    ################################################################################

    ############

    FATAL ERROR in

    action number 1

    of Draw Event

    for object o_pokaz:

     

    Push :: Execution Error - Variable Get 9.s(100003, -1)

    at gml_Object_o_pokaz_Draw_0 (line 2) - if ( Controller.s == 0 )

    ################################################################################

    ############

     

     

     

     

    A tak wygląda ten napisany:

     

    GML
    draw_sprite( sprite_index, 0, x, y );

    if ( Controller.s == 0 )

    _s = s_koszary;

    else if ( Controller.s == 1 )

    _s = s_baza;

    else if ( Controller.s == 2 )

    _s = s_fabryka;

    else if ( Controller.s == 3 )

    _s = s_pobory;

    else if ( Controller.s == 4 )

    _s = s_ratusz;

     

    draw_sprite( _s, 0, x + 2, y - 25 );

×
×
  • Dodaj nową pozycję...