You could use a timer that fires a few bullets, and then set another timer to continue walking to the enemy
like:
begin: set timer 0 to 400+random(100); move to target
timer 0: stop moving, if target in range shoot, set timer 1 to 100+random(50);
time 1: stop firing, start moving to target, set time 0 to 400 + random(100)
repeat
- Game Maker Community
- → Viewing Profile: Posts: tha master
tha master
Member Since 21 Mar 2005Offline Last Active Jan 30 2011 12:25 AM
Community Stats
- Group New Member
- Active Posts 84
- Profile Views 1802
- Member Title GMC Member
- Age 22 years old
- Birthday February 13, 1991
-
Gender
Male
-
Location
Holland
1
none
Latest Visitors
Posts I've Made
In Topic: Monster AI
23 August 2010 - 01:07 AM
In Topic: sprites skipping frames?
23 August 2010 - 12:46 AM
Could you show us some of the code that you are using? Because I can't say much about it now. Is the image speed variable set to a normal value?
In Topic: gm internal tools
23 August 2010 - 12:22 AM
As long as it doesn't break the rules, I'd like to check it out
In Topic: Tga Or Bmp To Blp
15 February 2010 - 11:40 PM
Oh no, the BLP format is indeed used by Blizzard, but I can't find anything about copyright or anything. I was talking about the textures, since he stated "blizzard image" in the title.
In Topic: Tga Or Bmp To Blp
15 February 2010 - 01:02 AM
I think they are also copyrighted.
- Game Maker Community
- → Viewing Profile: Posts: tha master
- Privacy Policy
- GMC Rules and Forum Rules ·



Find content
