Try changing that if statement in the destroy event to this:
if (instance_number(obj_death)<=1) { instance_create(320,200,obj_win); }
Hell yeah! that worked and better yet i understand and have learned from my mistake thanks mate!
Not Telling
14 December 2012 - 05:42 AM
Try changing that if statement in the destroy event to this:
if (instance_number(obj_death)<=1) { instance_create(320,200,obj_win); }
13 December 2012 - 09:29 PM
12 December 2012 - 11:16 PM
In what event is you're code?
It should be in red's destry event :GM124:/> I think
Also you should use comments, not strings to inform the user of about the code like this:if !instance_exists(obj_death/*red dot*/) then instance_create(320,200,obj_win/*yellow dot*/)
02 February 2011 - 03:31 PM
Set the hspeed as well has the vspeed?the momentum of me pushing it will not make it go horizontal at the same time
Post thine code from thow the player's step and collision events.Yet i have to problems, first off when i push the crate onto the gravity box and it starts bouncing, the player jumps on the box, and as its falling upon meeting the gravity box it cause the player to disappear
Community Forum Software by IP.Board
Licensed to: YoYo Games Ltd

Find content