I'm making an RTS-ish game, and I spent awhile setting up the box drawing and selection systems, that was the tough part for me. But that is working fine now, so I tried to add in a simple "move towards where the player clicks" system.
I made it so that when you click mb_right, it creates an instance of an object called obj_marker, and the units are supposed to go towards this marker if they are selected and if it exists.
This all works fine, but the problem comes when the units reach the marker. Lets say I only have one unit, so formations are unneeded, when this unit gets to the marker, instead of stopping and destroying the marker, like they're coded to, they simply stop on it and change their image_xscale back and forth really fast.
I have it set so that when the marker and the unit collide, the marker is supposed to be destroyed, but it doesn't get destroyed, I'm really stumped, I've never had it where a simple code like "instance_destroy()" just won't do anything...
So, any tips? I can send the .gmk to people if they need it to tell me what is wrong...
- Game Maker Community
- → Viewing Profile: Topics: lum taylor
lum taylor
Member Since 20 Dec 2006Offline Last Active Jun 27 2010 11:36 PM
Community Stats
- Group New Member
- Active Posts 421
- Profile Views 1469
- Member Title GMC Member
- Age 23 years old
- Birthday April 21, 1990
-
Gender
Not Telling
-
Location
From:From:From:From:
1
none
Friends
lum taylor hasn't added any friends yet.
Latest Visitors
Topics I've Started
Stumped, Move To Mouse Click Problem
08 June 2008 - 11:23 PM
Tiling Problem
02 June 2008 - 08:30 PM
When I try to tile a room in my game, and I place a tile on the map, it always deletes the one above it. Obviously this is tough to understand, so I've provided a .gmk with tiles and a room. Take the tiles, and try to make a box out of the road tiles, you'll see what I mean.
http://www.box.net/shared/x7gllrackw
Any help would be appreciated.
http://www.box.net/shared/x7gllrackw
Any help would be appreciated.
Making Your Character Look Good When It Rotates.
01 June 2008 - 04:01 AM
Yeah, the topic title sounds reeeaaally nooby, but stick with me.
I'm making a platform shooter, and I've tried a couple ways to make the image_angle thing with the upper body look good... But it never looks quite right.
I tried making it so that only the arm and gun rotate, but then you've got your guy pointing a gun straight up and looking straight forward. Looks bad.
I tried making the entire upper body rotate, but then, well, you can guess how bad that looked, my character was practically bending in half by the time he got to his straight up rotation and flipped the other way.
I was just wondering if there was any way I could have the arms with the gun, and the head rotate together to an extent but still stay within a reasonable angle with the body so that its realistic. I was thinking of maybe making the arms and gun rotate at a full 180 degrees and have the head rotate at half of that, but within the same ratio. But I was wondering if anyone here had used anything system that is better than this.
Confusing question I know, hope someone can make out what I mean...
I'm making a platform shooter, and I've tried a couple ways to make the image_angle thing with the upper body look good... But it never looks quite right.
I tried making it so that only the arm and gun rotate, but then you've got your guy pointing a gun straight up and looking straight forward. Looks bad.
I tried making the entire upper body rotate, but then, well, you can guess how bad that looked, my character was practically bending in half by the time he got to his straight up rotation and flipped the other way.
I was just wondering if there was any way I could have the arms with the gun, and the head rotate together to an extent but still stay within a reasonable angle with the body so that its realistic. I was thinking of maybe making the arms and gun rotate at a full 180 degrees and have the head rotate at half of that, but within the same ratio. But I was wondering if anyone here had used anything system that is better than this.
Confusing question I know, hope someone can make out what I mean...
Portals
26 September 2007 - 08:22 PM
There was recently a student project at some game college where they made an fps game with a pretty cool twist...
It involved the shooting of two portals at different positions anywhere on the map, then when you step into one, you appear where you shot the other one, its awesome...
So I was thinking of perhaps making a simple online or offline platform shooter that had this gimmick, it would be a great test of my, and anyone who wishes to join me's coding skills...
What do people think about this idea?
It involved the shooting of two portals at different positions anywhere on the map, then when you step into one, you appear where you shot the other one, its awesome...
So I was thinking of perhaps making a simple online or offline platform shooter that had this gimmick, it would be a great test of my, and anyone who wishes to join me's coding skills...
What do people think about this idea?
Integrity Of Yoyogames
30 April 2007 - 02:57 AM
I really think that yoyo games deserves alot of credit for finally coming through and delivering a quality site. After all of the sh$# that everyone in this community has given them, they pulled through and surprised us all. So I say, good job yoyo games, My views towards you, and I'm sure the views of my fellow GMC members, have changed for the the better.
DISCUSS!
DISCUSS!
- Game Maker Community
- → Viewing Profile: Topics: lum taylor
- Privacy Policy
- GMC Rules and Forum Rules ·



Find content