Jump to content


paj

Member Since 11 Jul 2009
Offline Last Active Yesterday, 06:41 PM

Posts I've Made

In Topic: Draw_Text

18 April 2013 - 06:55 PM

Haha, yeah i know how it is :P

In Topic: Draw_Text

18 April 2013 - 04:48 PM

The draw_text function must be in the draw event, not in the step event...

In Topic: A Better Looking Save And Load Game Feature

16 April 2013 - 04:51 PM

I usually use .ini files and draw sprites as the interface. Works pretty well.


In Topic: Animation Is Buggy When Enemy Get Between Two Wall

09 April 2013 - 05:51 AM

Aha, I thought it was stuck forever... Well, have a moving variable. Create: moving = 1 //Start moving, Step: if moving = 1 and hspeed = 0 then hspeed = 4 and 

 

 

if place_meeting(x-10,y,objWall) and place_meeting(x+10,y,objWall) then
{ sprite_index = sprStuck
hspeed = 0
moving = 0 }

else

moving = 1
if direction=0 then {
sprite_index=sprEnemyR 
}
else
{
sprite_index=sprEnemyL
}

In Topic: Animation Is Buggy When Enemy Get Between Two Wall

08 April 2013 - 06:50 PM

After the "else", don't have that "hspeed = 4" then.