Jump to content


3D2DGAMES

Member Since 30 Dec 2004
Offline Last Active May 03 2013 02:29 PM

Posts I've Made

In Topic: Timers, Again...

21 April 2013 - 03:43 PM

in the step event when the ovendeur is 0 and the pizza done is 1 then you set alarm 0 to 30.... each step... so this means the lowest it gets is to 29 before its reset to 30... try the following instead

 

if obj_ovendeur.image_index != 0
and obj_pizza_done.image_index != 1
{
starttime = true;
alarm[0] = 30;
}

image_index = time_left;

 

 

 

edit: do note that this prolly wont fix your problem but it will help you better understand alarms... you ought to figure out another way to code it.


In Topic: Declaring Variables Problems

19 April 2013 - 06:25 PM

it will execute Up=0; with the object object_bridge


In Topic: Weird Sprite Error When Calling Sprite.X/Y

19 April 2013 - 06:24 PM

prolly because you have an object with the same index number of that sprite. so its accessing an object with the same value the sprite has... however they are not the same


In Topic: Declaring Variables Problems

19 April 2013 - 06:18 PM

try this...

 

with(object_bridge){up=0;}


In Topic: Weird Sprite Error When Calling Sprite.X/Y

19 April 2013 - 06:17 PM

a sprite is not an object therefore it does not have an x and y value... it cannot be assigned an x or y value... you will need an object with that sprite assigned to it.. then you can move the object around or call its x and y values