Even with the fixed code it doesn't do anything
edit: use A I R's code
- Game Maker Community
- → Viewing Profile: Posts: oldschool_wolf
oldschool_wolf
Member Since 13 Oct 2009Offline Last Active Sep 29 2011 12:07 PM
Community Stats
- Group New Member
- Active Posts 25
- Profile Views 2145
- Member Title GMC Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Male
1
none
Friends
oldschool_wolf hasn't added any friends yet.
Latest Visitors
Posts I've Made
In Topic: Code.
17 May 2011 - 08:16 PM
In Topic: Code.
17 May 2011 - 08:12 PM
"mp_potential_step(image_angle,image_angle,8)"
That function requires 4 conditions(not sure if that's the right word to use), you have 3
That function requires 4 conditions(not sure if that's the right word to use), you have 3
In Topic: Multiple Playable Characters Streamlined control
17 May 2011 - 07:51 PM
I don't claim to be an expert, but this is how i'd do it:
1)Place all that code in a parent object.
2)Create a child object for each character type.
3)Have a global variable named "selected" (or whatever you want)
4)Only execute the code if selected = id.
5)You just need a method of selecting the characters, e.g. In the "left button" event selected = id
1)Place all that code in a parent object.
2)Create a child object for each character type.
3)Have a global variable named "selected" (or whatever you want)
4)Only execute the code if selected = id.
5)You just need a method of selecting the characters, e.g. In the "left button" event selected = id
In Topic: Make 2D Topdown Sprite Looks 3D Tutorial UPDATED!
17 May 2011 - 06:58 PM
You are a god amongst men! Very, very cool and so simple to use. Can't wait to see what I can do with it!
Just out of curiosity, Is this technique well known in the games industry? Are there any commercial games that uses this method?
Just out of curiosity, Is this technique well known in the games industry? Are there any commercial games that uses this method?
In Topic: Rotating to view selected area.
15 May 2011 - 04:56 PM
If i understand correctly:
1) I'm assuming this code is in the step event, if not put it in there.
2)Cut all the code out of the if statement (but not the target_dir = point_direction(x,y,mouse_x,mouse_y)).
3)Paste it below the if statement.
That way the code is executed every step, not just when you press the mouse.
1) I'm assuming this code is in the step event, if not put it in there.
2)Cut all the code out of the if statement (but not the target_dir = point_direction(x,y,mouse_x,mouse_y)).
3)Paste it below the if statement.
That way the code is executed every step, not just when you press the mouse.
- Game Maker Community
- → Viewing Profile: Posts: oldschool_wolf
- Privacy Policy
- GMC Rules and Forum Rules ·



Find content