Witajcie!
Lekko się zakłopotałem z funkcjami, może niech ktoś to napisze
if nuclear = 1
{
if right = 1
{
instance_create(+5,y,obj_nuclear);
}
else (do right)
instance_create(-5,y,obj_nuclear2);
}
else (do nuclear)
{
}
if missile = 1
{
if right = 1
{
instance_create(+5,y,obj_missile);
}
else (do right)
instance_create(-5,y,obj_missile2);
}
else (do missile)
{
}
I ostatnie
if gun = 1
{
if right = 1
{
instance_create(+5,y,obj_gun);
}
else (do right)
instance_create(-5,y,obj_gun2);
}
else (do gun)
{
}
To wszystko, może ktoś to złączyć, żeby pykało?