<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://wikidot.org/rss-namespace">

	<channel>
		<title>Game Maker - new forum posts</title>
		<link>http://gamemaker.wikicomplete.info/forum/start</link>
		<description>Posts in forums of the site &quot;Game Maker&quot; - Free Game Maker Tutorials &amp; Game Maker Help Wiki</description>
				<copyright></copyright>
		<lastBuildDate></lastBuildDate>
		
					<item>
				<guid>http://gamemaker.wikicomplete.info/forum/t-4591#post-17165</guid>
				<title>Re: Replacing a variable name throughout your entire game</title>
				<link>http://gamemaker.wikicomplete.info/forum/t-4591/replacing-a-variable-name-throughout-your-entire-game#post-17165</link>
				<description></description>
				<pubDate>Sat, 21 Nov 2009 06:36:02 +0000</pubDate>
				<wikidot:authorName>NicAdi</wikidot:authorName>				<wikidot:authorUserId>287</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>@<span class="printuser avatarhover"><a href="http://www.wikicomplete.info/user:info/louiskepler" ><img class="small" src="http://gamemaker.wikicomplete.info/common--images/avatars/1/1261/a16.png" alt="louiskepler" style="background-image:url(http://www.wikicomplete.info/userkarma.php?u=1261)" /></a><a href="http://www.wikicomplete.info/user:info/louiskepler" >louiskepler</a></span>: Why don't you try that out? ;-)</p> <br/>Forum category: <a href="http://gamemaker.wikicomplete.info/forum/c-266">The Community / Game Maker Help</a><br/>Forum thread: <a href="http://gamemaker.wikicomplete.info/forum/t-4591/replacing-a-variable-name-throughout-your-entire-game">Replacing a variable name throughout your entire game</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamemaker.wikicomplete.info/forum/t-4591#post-17164</guid>
				<title>Re: Replacing a variable name throughout your entire game</title>
				<link>http://gamemaker.wikicomplete.info/forum/t-4591/replacing-a-variable-name-throughout-your-entire-game#post-17164</link>
				<description></description>
				<pubDate>Sat, 21 Nov 2009 03:41:02 +0000</pubDate>
				<wikidot:authorName>DaedricLord</wikidot:authorName>				<wikidot:authorUserId>1698</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <div class="code"> <pre> <code>old_var = new_var Doesn't work</code> </pre></div> <br /> That code would assign whatever is in new_var and put it into old_var. It wouldn't change the name of the variable. As NicAdi said you have to do it manually.<br/>Forum category: <a href="http://gamemaker.wikicomplete.info/forum/c-266">The Community / Game Maker Help</a><br/>Forum thread: <a href="http://gamemaker.wikicomplete.info/forum/t-4591/replacing-a-variable-name-throughout-your-entire-game">Replacing a variable name throughout your entire game</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamemaker.wikicomplete.info/forum/t-4591#post-17163</guid>
				<title>Re: Replacing a variable name throughout your entire game</title>
				<link>http://gamemaker.wikicomplete.info/forum/t-4591/replacing-a-variable-name-throughout-your-entire-game#post-17163</link>
				<description></description>
				<pubDate>Fri, 20 Nov 2009 21:23:54 +0000</pubDate>
				<wikidot:authorName>louiskepler</wikidot:authorName>				<wikidot:authorUserId>1261</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Could you not just in maybe the step event of on object use the code</p> <div class="code"> <div class="hl-main"> <pre> <span class="hl-comment">//insert new code</span><span class="hl-code"> </span><span class="hl-identifier">old_var</span><span class="hl-code"> = </span><span class="hl-identifier">new_var</span> </pre></div> </div> <br/>Forum category: <a href="http://gamemaker.wikicomplete.info/forum/c-266">The Community / Game Maker Help</a><br/>Forum thread: <a href="http://gamemaker.wikicomplete.info/forum/t-4591/replacing-a-variable-name-throughout-your-entire-game">Replacing a variable name throughout your entire game</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamemaker.wikicomplete.info/forum/t-4650#post-17162</guid>
				<title>Re: Hey new here :P need help :)</title>
				<link>http://gamemaker.wikicomplete.info/forum/t-4650/hey-new-here:p-need-help#post-17162</link>
				<description></description>
				<pubDate>Fri, 20 Nov 2009 20:16:31 +0000</pubDate>
				<wikidot:authorName>NicAdi</wikidot:authorName>				<wikidot:authorUserId>287</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Can you upload the file?</p> <br/>Forum category: <a href="http://gamemaker.wikicomplete.info/forum/c-20">The Community / How May We Help You?</a><br/>Forum thread: <a href="http://gamemaker.wikicomplete.info/forum/t-4650/hey-new-here:p-need-help">Hey new here :P need help :)</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamemaker.wikicomplete.info/forum/t-4652#post-17160</guid>
				<title>Re: Moving a path with the view</title>
				<link>http://gamemaker.wikicomplete.info/forum/t-4652/moving-a-path-with-the-view#post-17160</link>
				<description></description>
				<pubDate>Fri, 20 Nov 2009 20:01:39 +0000</pubDate>
				<wikidot:authorName>shwhjw</wikidot:authorName>				<wikidot:authorUserId>1838</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hoo-bleedin-rah: got it!<br /> Just gonna explain quickly in case anyone else needs this, as it was a nightmare to find any help on.</p> <p><strong>Paths cannot be moved while there is an instance following them.</strong></p> <p>After assigning path(in <em>Create</em> event):<br /> <strong>CREATE EVENT</strong></p> <div class="code"> <div class="hl-main"> <pre> <span class="hl-comment">//create variable for old position</span><span class="hl-code"> </span><span class="hl-identifier">pos</span><span class="hl-code"> = </span><span class="hl-identifier">path_position</span><span class="hl-code"> </span><span class="hl-comment">//take object off path</span><span class="hl-code"> </span><span class="hl-identifier">path_end</span><span class="hl-brackets">()</span><span class="hl-code">; </span><span class="hl-comment">//move path to view</span><span class="hl-code"> </span><span class="hl-identifier">path_shift</span><span class="hl-brackets">(</span><span class="hl-identifier">path0</span><span class="hl-code">, </span><span class="hl-number">0</span><span class="hl-code">, </span><span class="hl-identifier">view_yview</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-comment">//put object back on path, absolute = true</span><span class="hl-code"> </span><span class="hl-identifier">path_start</span><span class="hl-brackets">(</span><span class="hl-identifier">path0</span><span class="hl-code">,</span><span class="hl-number">1</span><span class="hl-code">,</span><span class="hl-number">0</span><span class="hl-code">,</span><span class="hl-reserved">true</span><span class="hl-brackets">)</span><span class="hl-code">; </span><span class="hl-comment">//move along path a bit</span><span class="hl-code"> </span><span class="hl-identifier">path_position</span><span class="hl-code"> = </span><span class="hl-identifier">pos</span><span class="hl-code"> + </span><span class="hl-number">0.004</span><span class="hl-code">;</span> </pre></div> </div> <p><strong>STEP EVENT</strong></p> <div class="code"> <div class="hl-main"> <pre> <span class="hl-identifier">pos</span><span class="hl-code"> = </span><span class="hl-identifier">path_position</span><span class="hl-code"> </span><span class="hl-identifier">path_end</span><span class="hl-brackets">()</span><span class="hl-code">; </span><span class="hl-comment">//move path with view (in this case, y -1)</span><span class="hl-code"> </span><span class="hl-identifier">path_shift</span><span class="hl-brackets">(</span><span class="hl-identifier">path0</span><span class="hl-code">, </span><span class="hl-number">0</span><span class="hl-code">, -</span><span class="hl-number">1</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-comment">//put object back on path</span><span class="hl-code"> </span><span class="hl-identifier">path_start</span><span class="hl-brackets">(</span><span class="hl-identifier">path0</span><span class="hl-code">,</span><span class="hl-number">1</span><span class="hl-code">,</span><span class="hl-number">0</span><span class="hl-code">,</span><span class="hl-reserved">true</span><span class="hl-brackets">)</span><span class="hl-code">; </span><span class="hl-comment">//move a bit</span><span class="hl-code"> </span><span class="hl-identifier">path_position</span><span class="hl-code"> = </span><span class="hl-identifier">pos</span><span class="hl-code"> + </span><span class="hl-number">0.004</span><span class="hl-code">;</span> </pre></div> </div> <p>Hope this helps other people. gawd knows i struggled with it.</p> <br/>Forum category: <a href="http://gamemaker.wikicomplete.info/forum/c-266">The Community / Game Maker Help</a><br/>Forum thread: <a href="http://gamemaker.wikicomplete.info/forum/t-4652/moving-a-path-with-the-view">Moving a path with the view</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamemaker.wikicomplete.info/forum/t-4652#post-17159</guid>
				<title>Re: Moving a path with the view</title>
				<link>http://gamemaker.wikicomplete.info/forum/t-4652/moving-a-path-with-the-view#post-17159</link>
				<description></description>
				<pubDate>Fri, 20 Nov 2009 19:00:22 +0000</pubDate>
				<wikidot:authorName>shwhjw</wikidot:authorName>				<wikidot:authorUserId>1838</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Thanks, found a method called path_shift() that is supposed to move the path, but I have no idea of the syntax, and can't seem to find anywhere that explains it. Can anyone help?</p> <br/>Forum category: <a href="http://gamemaker.wikicomplete.info/forum/c-266">The Community / Game Maker Help</a><br/>Forum thread: <a href="http://gamemaker.wikicomplete.info/forum/t-4652/moving-a-path-with-the-view">Moving a path with the view</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamemaker.wikicomplete.info/forum/t-4652#post-17158</guid>
				<title>Re: Moving a path with the view</title>
				<link>http://gamemaker.wikicomplete.info/forum/t-4652/moving-a-path-with-the-view#post-17158</link>
				<description></description>
				<pubDate>Fri, 20 Nov 2009 18:06:07 +0000</pubDate>
				<wikidot:authorName>mr glasses</wikidot:authorName>				<wikidot:authorUserId>841</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>try checking the the game maker manuel (that comes with game maker)</p> <br/>Forum category: <a href="http://gamemaker.wikicomplete.info/forum/c-266">The Community / Game Maker Help</a><br/>Forum thread: <a href="http://gamemaker.wikicomplete.info/forum/t-4652/moving-a-path-with-the-view">Moving a path with the view</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamemaker.wikicomplete.info/forum/t-4652#post-17155</guid>
				<title>Re: Moving a path with the view</title>
				<link>http://gamemaker.wikicomplete.info/forum/t-4652/moving-a-path-with-the-view#post-17155</link>
				<description></description>
				<pubDate>Fri, 20 Nov 2009 16:24:47 +0000</pubDate>
				<wikidot:authorName>shwhjw</wikidot:authorName>				<wikidot:authorUserId>1838</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I realise I could edit the path points to compensate, but the path has circles, and it'll take forever to get it right. Just looking for an easier way!</p> <br/>Forum category: <a href="http://gamemaker.wikicomplete.info/forum/c-266">The Community / Game Maker Help</a><br/>Forum thread: <a href="http://gamemaker.wikicomplete.info/forum/t-4652/moving-a-path-with-the-view">Moving a path with the view</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamemaker.wikicomplete.info/forum/t-4652#post-17154</guid>
				<title>Moving a path with the view</title>
				<link>http://gamemaker.wikicomplete.info/forum/t-4652/moving-a-path-with-the-view#post-17154</link>
				<description></description>
				<pubDate>Fri, 20 Nov 2009 16:03:54 +0000</pubDate>
				<wikidot:authorName>shwhjw</wikidot:authorName>				<wikidot:authorUserId>1838</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi,</p> <p>I'm working on a project which uses a view, which moves from the bottom of the room to the top.</p> <p>It needs to have an object follow a path, left to right across the view. The path is working, however because the view is moving up, it causes the object to appear to shift downwards, instead of staying at the view's vertical position.</p> <p>I've tried moving the object itself up every frame (both with '<em>jump to position</em>' and '<em>set vertical speed</em>'), which has no effect. Not sure what else to try.</p> <p>Is there any way to move the path with the view? I'm using GM Pro.</p> <p>Thanks,<br /> Simon.</p> <br/>Forum category: <a href="http://gamemaker.wikicomplete.info/forum/c-266">The Community / Game Maker Help</a><br/>Forum thread: <a href="http://gamemaker.wikicomplete.info/forum/t-4652/moving-a-path-with-the-view">Moving a path with the view</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamemaker.wikicomplete.info/forum/t-4650#post-17153</guid>
				<title>Hey new here :P need help :)</title>
				<link>http://gamemaker.wikicomplete.info/forum/t-4650/hey-new-here:p-need-help#post-17153</link>
				<description></description>
				<pubDate>Fri, 20 Nov 2009 14:55:09 +0000</pubDate>
				<wikidot:authorName>Krakken</wikidot:authorName>				<wikidot:authorUserId>1787</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hey, ma names Ryan and i am a student. I am working on a course at the moment and i need to create a game. The problem i am having is that after deciding to create a missile defence game, the turret doesn't work correctly.</p> <p>I followed this tutorial, because it is 99% similar to what i want.<a href="http://gamemaker.wikicomplete.info/helprequest:how-do-you-make-the-mouse-act-as-point">http://gamemaker.wikicomplete.info/helprequest:how-do-you-make-the-mouse-act-as-point</a>. I want to be able to have a turret that follows the mouse in a 90 degree angle and stop past that, after following this tutorial, it works however, if i go past 90 degrees its flicks back to the original frame.</p> <p>Sorry if it isn't explained very well but i quite literally started game making about 2/4 weeks ago :P</p> <p>Thanks. Ryan.</p> <br/>Forum category: <a href="http://gamemaker.wikicomplete.info/forum/c-20">The Community / How May We Help You?</a><br/>Forum thread: <a href="http://gamemaker.wikicomplete.info/forum/t-4650/hey-new-here:p-need-help">Hey new here :P need help :)</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamemaker.wikicomplete.info/forum/t-4342#post-17152</guid>
				<title>Status Report on Light Whip Leroy</title>
				<link>http://gamemaker.wikicomplete.info/forum/t-4342/doing-something-different-ms-style#post-17152</link>
				<description></description>
				<pubDate>Fri, 20 Nov 2009 13:07:12 +0000</pubDate>
				<wikidot:authorName>D-BoyWheeler</wikidot:authorName>				<wikidot:authorUserId>1138</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Currently I'm making the lesser enemy sprites (i.e. non-boss enemies). I'm gonna be away during Thanksgiving week, in a place that's kinda in the sticks (and thus internet access is at a crawl). So don't fret if you don't hear from me.</p> <br/>Forum category: <a href="http://gamemaker.wikicomplete.info/forum/c-268">The Community / Game Maker Games and Projects</a><br/>Forum thread: <a href="http://gamemaker.wikicomplete.info/forum/t-4342/doing-something-different-ms-style">Doing something different... MS Style</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamemaker.wikicomplete.info/forum/t-4622#post-17151</guid>
				<title>Re: Jumps and Jumps</title>
				<link>http://gamemaker.wikicomplete.info/forum/t-4622/jumps-and-jumps#post-17151</link>
				<description></description>
				<pubDate>Fri, 20 Nov 2009 07:54:26 +0000</pubDate>
				<wikidot:authorName>DaedricLord</wikidot:authorName>				<wikidot:authorUserId>1698</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>What exactly are you trying to accomplish? Just a simple jump? double jumps? Are you having problems making the character jump or is it having them come down or is it stopping when the character hits the ground?</p> <br/>Forum category: <a href="http://gamemaker.wikicomplete.info/forum/c-266">The Community / Game Maker Help</a><br/>Forum thread: <a href="http://gamemaker.wikicomplete.info/forum/t-4622/jumps-and-jumps">Jumps and Jumps</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamemaker.wikicomplete.info/forum/t-4645#post-17148</guid>
				<title>I art a n00b</title>
				<link>http://gamemaker.wikicomplete.info/forum/t-4645/i-art-a-n00b#post-17148</link>
				<description></description>
				<pubDate>Thu, 19 Nov 2009 22:57:32 +0000</pubDate>
				<wikidot:authorName>mysterious b</wikidot:authorName>				<wikidot:authorUserId>1837</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>hello i had recent geek aspirations so i began reading some articles on coding in basic. i was talking to my friend during lunch and he reffered this to me. and here i am. i dream of creating a cross-referencing database to determine the statistically best hockey players of all time. or create a computerized judicial system</p> <br/>Forum category: <a href="http://gamemaker.wikicomplete.info/forum/c-20">The Community / How May We Help You?</a><br/>Forum thread: <a href="http://gamemaker.wikicomplete.info/forum/t-4645/i-art-a-n00b">I art a n00b</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamemaker.wikicomplete.info/forum/t-4627#post-17147</guid>
				<title>Re: Battle Grounds (WIP)</title>
				<link>http://gamemaker.wikicomplete.info/forum/t-4627/battle-grounds-wip#post-17147</link>
				<description></description>
				<pubDate>Thu, 19 Nov 2009 22:22:38 +0000</pubDate>
				<wikidot:authorName>mr glasses</wikidot:authorName>				<wikidot:authorUserId>841</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>That's definately something that I'm gonna fix. The whole view movement system will be completely revamped…</p> <br/>Forum category: <a href="http://gamemaker.wikicomplete.info/forum/c-268">The Community / Game Maker Games and Projects</a><br/>Forum thread: <a href="http://gamemaker.wikicomplete.info/forum/t-4627/battle-grounds-wip">Battle Grounds (WIP)</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamemaker.wikicomplete.info/forum/t-4620#post-17146</guid>
				<title>Re: Orange Spook (WIP)</title>
				<link>http://gamemaker.wikicomplete.info/forum/t-4620/orange-spook-wip#post-17146</link>
				<description></description>
				<pubDate>Thu, 19 Nov 2009 20:30:49 +0000</pubDate>
				<wikidot:authorName>ChaosStar</wikidot:authorName>				<wikidot:authorUserId>1761</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Just remember that this is my first game, so I'm using the lite edition.</p> <br/>Forum category: <a href="http://gamemaker.wikicomplete.info/forum/c-268">The Community / Game Maker Games and Projects</a><br/>Forum thread: <a href="http://gamemaker.wikicomplete.info/forum/t-4620/orange-spook-wip">Orange Spook (WIP)</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamemaker.wikicomplete.info/forum/t-4627#post-17144</guid>
				<title>Re: Battle Grounds (WIP)</title>
				<link>http://gamemaker.wikicomplete.info/forum/t-4627/battle-grounds-wip#post-17144</link>
				<description></description>
				<pubDate>Thu, 19 Nov 2009 15:54:11 +0000</pubDate>
				<wikidot:authorName>kake_fisk</wikidot:authorName>				<wikidot:authorUserId>33</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>The view moves down when you hover the mouse over the HUD. I found that extremely annoying.</p> <br/>Forum category: <a href="http://gamemaker.wikicomplete.info/forum/c-268">The Community / Game Maker Games and Projects</a><br/>Forum thread: <a href="http://gamemaker.wikicomplete.info/forum/t-4627/battle-grounds-wip">Battle Grounds (WIP)</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamemaker.wikicomplete.info/forum/t-4622#post-17137</guid>
				<title>Re: Jumps and Jumps</title>
				<link>http://gamemaker.wikicomplete.info/forum/t-4622/jumps-and-jumps#post-17137</link>
				<description></description>
				<pubDate>Wed, 18 Nov 2009 23:29:30 +0000</pubDate>
				<wikidot:authorName>louiskepler</wikidot:authorName>				<wikidot:authorUserId>1261</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Yeah and if you want a double jump effect you can use a variable to an effect of:</p> <div class="code"> <pre> <code>In the create event: jumps = however many jumps you want to be able to do jumpable = jumps In the jump event: if jumpable &lt; jumps +1 -do the code for jump- jumpable -=1 In the collision with ground event: jumpable = jumps</code> </pre></div> <p>I used this in a couple of games each with a different means of jumping but in all of them I was able to limit the number of jumps until the player hit the floor.<br /> Be wary, though you have to make the ground object different from say a wall or ceiling. other wise you will have to find out which side of it you are hitting and that can take awhile, I find.</p> <br/>Forum category: <a href="http://gamemaker.wikicomplete.info/forum/c-266">The Community / Game Maker Help</a><br/>Forum thread: <a href="http://gamemaker.wikicomplete.info/forum/t-4622/jumps-and-jumps">Jumps and Jumps</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamemaker.wikicomplete.info/forum/t-4599#post-17136</guid>
				<title>Re: Enemy line of sight</title>
				<link>http://gamemaker.wikicomplete.info/forum/t-4599/enemy-line-of-sight#post-17136</link>
				<description></description>
				<pubDate>Wed, 18 Nov 2009 23:10:08 +0000</pubDate>
				<wikidot:authorName>NicAdi</wikidot:authorName>				<wikidot:authorUserId>287</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <blockquote> <p><span class="printuser avatarhover"><a href="http://www.wikicomplete.info/user:info/sir-willard" ><img class="small" src="http://gamemaker.wikicomplete.info/common--images/avatars/0/349/a16.png" alt="Sir_Willard" style="background-image:url(http://www.wikicomplete.info/userkarma.php?u=349)" /></a><a href="http://www.wikicomplete.info/user:info/sir-willard" >Sir_Willard</a></span>: <em>[…]</em> shouldn't some kind of tolerance be added to the code <span style="font-size:150%;">|</span> <tt>if (direction == point_direction(x, y, OPlayer.x, y))</tt></p> </blockquote> <p>No, it shouldn't. I know what you're talking about, but that's not the case here. The main reason is that this particular game is some sort of platformer (as suggested by a statement made in a previous post that the Enemy units can only move LEFT or RIGHT), thus <tt><strong>direction</strong></tt> can only be either 0<sup>o</sup> or 180<sup>o</sup>. That takes care of one side of the identity; as for the other, you may notice that I have used __the same value (i.e. <tt><strong>y</strong></tt>) for the two 'y' coordinates required. This guarantees the vector whose direction is being evaluated is horizontal, thus its direction, again, can only be either 0<sup>o</sup> or 180<sup>o</sup>.</p> <p>In conclusion, additional tolerances are not required simply because there are no "rogue" values that can be produced on either side of the identity.</p> <br/>Forum category: <a href="http://gamemaker.wikicomplete.info/forum/c-266">The Community / Game Maker Help</a><br/>Forum thread: <a href="http://gamemaker.wikicomplete.info/forum/t-4599/enemy-line-of-sight">Enemy line of sight</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamemaker.wikicomplete.info/forum/t-4627#post-17129</guid>
				<title>Battle Grounds (WIP)</title>
				<link>http://gamemaker.wikicomplete.info/forum/t-4627/battle-grounds-wip#post-17129</link>
				<description></description>
				<pubDate>Wed, 18 Nov 2009 17:27:59 +0000</pubDate>
				<wikidot:authorName>mr glasses</wikidot:authorName>				<wikidot:authorUserId>841</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Recen;ty I have been working on battle grounds. It is an RTS…but it definately is unique. Hartnell might recognize this project. Anyway. I just released prototype V0.4 and was looking for some pointers. More information about the game and a download link can be found <a href="http://gmc.yoyogames.com/index.php?showtopic=452685">here</a>.</p> <p>Just to wet your appatite:<br /> <img src="http://chees-eink.ismywebsite.com/bg/screenshots/screenshot100.png" alt="screenshot100.png" class="image" /></p> <br/>Forum category: <a href="http://gamemaker.wikicomplete.info/forum/c-268">The Community / Game Maker Games and Projects</a><br/>Forum thread: <a href="http://gamemaker.wikicomplete.info/forum/t-4627/battle-grounds-wip">Battle Grounds (WIP)</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamemaker.wikicomplete.info/forum/t-4599#post-17123</guid>
				<title>Re: Enemy line of sight</title>
				<link>http://gamemaker.wikicomplete.info/forum/t-4599/enemy-line-of-sight#post-17123</link>
				<description></description>
				<pubDate>Wed, 18 Nov 2009 07:45:08 +0000</pubDate>
				<wikidot:authorName>Sir_Willard</wikidot:authorName>				<wikidot:authorUserId>349</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Not to jump into this at the very end and nitpick the code, but shouldn't some kind of tolerance be added to the code</p> <div class="code"> <pre> <code>if (direction == point_direction(x, y, OPlayer.x, y))</code> </pre></div> <p>from my experience, this fails a good amount of the time, since the direction isn't rounded. You have to be pixel for pixel lined up in that direction for this code to work consistently.</p> <p>Of course, I've been out of this for a while. Just an observation.</p> <br/>Forum category: <a href="http://gamemaker.wikicomplete.info/forum/c-266">The Community / Game Maker Help</a><br/>Forum thread: <a href="http://gamemaker.wikicomplete.info/forum/t-4599/enemy-line-of-sight">Enemy line of sight</a>
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>