<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Lock object movement on X or Y axis]]></title><description><![CDATA[<p dir="auto">I’m making a game where I give the illusion of the camera movement by having obstacles move towards the player, however eventually the character will accidentally move on the X axis, ruining the experience.</p>
<p dir="auto">This can be easily solved by giving an option to lock an object’s X or Y axis movement.</p>
]]></description><link>https://forum.hyperpad.com/topic/650/lock-object-movement-on-x-or-y-axis</link><generator>RSS for Node</generator><lastBuildDate>Mon, 18 May 2026 10:05:41 GMT</lastBuildDate><atom:link href="https://forum.hyperpad.com/topic/650.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 17 Nov 2017 02:55:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Lock object movement on X or Y axis on Sat, 18 Nov 2017 22:48:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kamdroid" aria-label="Profile: Kamdroid">@<bdi>Kamdroid</bdi></a> Again, WELL DONE! I'll get to it soon. Promise. Sorry I haven't had a chance yet.... fighting with spawning and "relationships" in hyperPad's worlds without them.</p>
]]></description><link>https://forum.hyperpad.com/post/4138</link><guid isPermaLink="true">https://forum.hyperpad.com/post/4138</guid><dc:creator><![CDATA[Deeeds]]></dc:creator><pubDate>Sat, 18 Nov 2017 22:48:10 GMT</pubDate></item><item><title><![CDATA[Reply to Lock object movement on X or Y axis on Sat, 18 Nov 2017 22:45:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/deeeds" aria-label="Profile: Deeeds">@<bdi>Deeeds</bdi></a> Oh, haha. I always get projects done if I’m happy with how the quality of the game and gameplay will be.</p>
]]></description><link>https://forum.hyperpad.com/post/4137</link><guid isPermaLink="true">https://forum.hyperpad.com/post/4137</guid><dc:creator><![CDATA[Kamdroid]]></dc:creator><pubDate>Sat, 18 Nov 2017 22:45:45 GMT</pubDate></item><item><title><![CDATA[Reply to Lock object movement on X or Y axis on Sat, 18 Nov 2017 22:21:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kamdroid" aria-label="Profile: Kamdroid">@<bdi>Kamdroid</bdi></a> Haven't played it yet. I was congratulating you on getting finished. That's rare!</p>
]]></description><link>https://forum.hyperpad.com/post/4127</link><guid isPermaLink="true">https://forum.hyperpad.com/post/4127</guid><dc:creator><![CDATA[Deeeds]]></dc:creator><pubDate>Sat, 18 Nov 2017 22:21:46 GMT</pubDate></item><item><title><![CDATA[Reply to Lock object movement on X or Y axis on Sat, 18 Nov 2017 22:18:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/deeeds" aria-label="Profile: Deeeds">@<bdi>Deeeds</bdi></a> Thank you. Do you get any stutter while playing?</p>
]]></description><link>https://forum.hyperpad.com/post/4126</link><guid isPermaLink="true">https://forum.hyperpad.com/post/4126</guid><dc:creator><![CDATA[Kamdroid]]></dc:creator><pubDate>Sat, 18 Nov 2017 22:18:38 GMT</pubDate></item><item><title><![CDATA[Reply to Lock object movement on X or Y axis on Sat, 18 Nov 2017 15:40:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kamdroid" aria-label="Profile: Kamdroid">@<bdi>Kamdroid</bdi></a> WELL DONE!!!</p>
]]></description><link>https://forum.hyperpad.com/post/4106</link><guid isPermaLink="true">https://forum.hyperpad.com/post/4106</guid><dc:creator><![CDATA[Deeeds]]></dc:creator><pubDate>Sat, 18 Nov 2017 15:40:35 GMT</pubDate></item><item><title><![CDATA[Reply to Lock object movement on X or Y axis on Sat, 18 Nov 2017 06:43:16 GMT]]></title><description><![CDATA[<p dir="auto">By the way, this is the game I was talking about, which I just released now!</p>
<p dir="auto"><a href="https://www.hyperpad.com/projects/aubjkay_/versions/bounce-tap" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.hyperpad.com/projects/aubjkay_/versions/bounce-tap</a></p>
]]></description><link>https://forum.hyperpad.com/post/4105</link><guid isPermaLink="true">https://forum.hyperpad.com/post/4105</guid><dc:creator><![CDATA[Kamdroid]]></dc:creator><pubDate>Sat, 18 Nov 2017 06:43:16 GMT</pubDate></item><item><title><![CDATA[Reply to Lock object movement on X or Y axis on Fri, 17 Nov 2017 04:58:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kamdroid" aria-label="Profile: Kamdroid">@<bdi>Kamdroid</bdi></a> Nice! I guess with efficiency, I’d just wanna make sure that the FPS is always at 60.</p>
]]></description><link>https://forum.hyperpad.com/post/4039</link><guid isPermaLink="true">https://forum.hyperpad.com/post/4039</guid><dc:creator><![CDATA[Aidan_Fire]]></dc:creator><pubDate>Fri, 17 Nov 2017 04:58:05 GMT</pubDate></item><item><title><![CDATA[Reply to Lock object movement on X or Y axis on Fri, 17 Nov 2017 04:56:47 GMT]]></title><description><![CDATA[<p dir="auto">@Aidan-Oxley Thanks, this works. I was thinking of doing this but got mixed up with apply force, and thought this wouldn’t work.</p>
<p dir="auto">I will use this for now, but I feel inefficient, as directly talking to the physics engines to do this would yield less of a performance impact.</p>
]]></description><link>https://forum.hyperpad.com/post/4037</link><guid isPermaLink="true">https://forum.hyperpad.com/post/4037</guid><dc:creator><![CDATA[Kamdroid]]></dc:creator><pubDate>Fri, 17 Nov 2017 04:56:47 GMT</pubDate></item><item><title><![CDATA[Reply to Lock object movement on X or Y axis on Fri, 17 Nov 2017 04:46:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kamdroid" aria-label="Profile: Kamdroid">@<bdi>Kamdroid</bdi></a> So your player is a physics object right? I don’t know how well it would work, but you could try running a 0 second timer with Set Velocity, leaving Y as current and X as 0. Haven’t tried it, it might not work. It would depend on the controls of the player and what the player is doing exactly.</p>
]]></description><link>https://forum.hyperpad.com/post/4031</link><guid isPermaLink="true">https://forum.hyperpad.com/post/4031</guid><dc:creator><![CDATA[Aidan_Fire]]></dc:creator><pubDate>Fri, 17 Nov 2017 04:46:22 GMT</pubDate></item><item><title><![CDATA[Reply to Lock object movement on X or Y axis on Fri, 17 Nov 2017 03:25:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kamdroid" aria-label="Profile: Kamdroid">@<bdi>Kamdroid</bdi></a><br />
DOH. Don't know ....</p>
]]></description><link>https://forum.hyperpad.com/post/4018</link><guid isPermaLink="true">https://forum.hyperpad.com/post/4018</guid><dc:creator><![CDATA[Deeeds]]></dc:creator><pubDate>Fri, 17 Nov 2017 03:25:40 GMT</pubDate></item><item><title><![CDATA[Reply to Lock object movement on X or Y axis on Fri, 17 Nov 2017 03:16:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/deeeds" aria-label="Profile: Deeeds">@<bdi>Deeeds</bdi></a> I’m aware of this, but the character is not followed by a camera.</p>
<p dir="auto">The player always need to have an X of 6, (the only thing that should be moving is the Y, for jumping),</p>
<p dir="auto">While  obaticals spawn at X 36 (right edge of screen) and move to the left (towards player), and you tap to jump to avoid the obstical etc</p>
]]></description><link>https://forum.hyperpad.com/post/4016</link><guid isPermaLink="true">https://forum.hyperpad.com/post/4016</guid><dc:creator><![CDATA[Kamdroid]]></dc:creator><pubDate>Fri, 17 Nov 2017 03:16:23 GMT</pubDate></item><item><title><![CDATA[Reply to Lock object movement on X or Y axis on Fri, 17 Nov 2017 03:13:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kamdroid" aria-label="Profile: Kamdroid">@<bdi>Kamdroid</bdi></a></p>
<p dir="auto">One more thing...</p>
<p dir="auto">when updating your camera dummy, don't just adjust its position, also update its velocity. This will get rid of the little lag that occurs where the engine has to accelerate your object after moving it to the new position, which seems to be a frame or two behind the positional change, always. Most noticeable in very high speed stuff. This has completely gotten rid of the lag.</p>
<p dir="auto">Or... use a Weld behaviour and make sure your dummy has absolutely no mass and no friction, and then move it relative to your object whenever you want by changing the anchor position.</p>
<p dir="auto">These are some of the quirks and foibles I've worked around within hyperPad cameras and dummy objects. I hope they help. It took me a couple of days to iron out all the kinks in the camera follow system I made... but for one... still got a little lerping fake that's got a bit of a jump in it that I don't like, but I'll leave that for later.</p>
]]></description><link>https://forum.hyperpad.com/post/4015</link><guid isPermaLink="true">https://forum.hyperpad.com/post/4015</guid><dc:creator><![CDATA[Deeeds]]></dc:creator><pubDate>Fri, 17 Nov 2017 03:13:46 GMT</pubDate></item><item><title><![CDATA[Reply to Lock object movement on X or Y axis on Fri, 17 Nov 2017 03:08:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kamdroid" aria-label="Profile: Kamdroid">@<bdi>Kamdroid</bdi></a> btw, if you're moving something to make a fake/dummy object for you camera to follow, so you can do delays of the camera and fake lerping (which I am) then do your update on Timer set at:</p>
<p dir="auto">0.016666666666</p>
<p dir="auto">This is 1/60th of a second, or thereabouts</p>
<p dir="auto">with as many 6's as you can be bothered typing.</p>
<p dir="auto">This got rid of a weird set of vibrations and other stuttering that was very fast but visible when I had this set to 0.</p>
<p dir="auto">I would not have thought this would make a difference, assuming that 0 was equivalent to 0.016666, but it's obviously not.</p>
]]></description><link>https://forum.hyperpad.com/post/4014</link><guid isPermaLink="true">https://forum.hyperpad.com/post/4014</guid><dc:creator><![CDATA[Deeeds]]></dc:creator><pubDate>Fri, 17 Nov 2017 03:08:14 GMT</pubDate></item><item><title><![CDATA[Reply to Lock object movement on X or Y axis on Fri, 17 Nov 2017 03:04:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/deeeds" aria-label="Profile: Deeeds">@<bdi>Deeeds</bdi></a> Found it. It's in "Screen Follow" behaviour, Under Screen Behaviours.</p>
<p dir="auto">You can lock to one of the axis.</p>
]]></description><link>https://forum.hyperpad.com/post/4013</link><guid isPermaLink="true">https://forum.hyperpad.com/post/4013</guid><dc:creator><![CDATA[Deeeds]]></dc:creator><pubDate>Fri, 17 Nov 2017 03:04:59 GMT</pubDate></item><item><title><![CDATA[Reply to Lock object movement on X or Y axis on Fri, 17 Nov 2017 03:02:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kamdroid" aria-label="Profile: Kamdroid">@<bdi>Kamdroid</bdi></a> I've seen this somewhere. And I think I use it something I built for a camera dummy a while back... it might be a behaviour.</p>
]]></description><link>https://forum.hyperpad.com/post/4012</link><guid isPermaLink="true">https://forum.hyperpad.com/post/4012</guid><dc:creator><![CDATA[Deeeds]]></dc:creator><pubDate>Fri, 17 Nov 2017 03:02:01 GMT</pubDate></item></channel></rss>