<?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[Need help with shooting and monsters killing you.]]></title><description><![CDATA[<p dir="auto">I need help with something in my game, does anyone know how to make monsters kill you and move and when you shoot they die?</p>
]]></description><link>https://forum.hyperpad.com/topic/607/need-help-with-shooting-and-monsters-killing-you</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Jul 2026 00:00:10 GMT</lastBuildDate><atom:link href="https://forum.hyperpad.com/topic/607.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 09 Nov 2017 13:46:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Need help with shooting and monsters killing you. on Thu, 16 Nov 2017 01:25:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/murtaza" aria-label="Profile: Murtaza">@<bdi>Murtaza</bdi></a> Argh. Got it...</p>
<p dir="auto">Achievement unlocked:</p>
<p dir="auto"><img src="https://assets.forum.hyperpad.com/assets/3e6e9236-0813-49e0-a3bd-13ac35fb5b6e.jpg" alt="0_1510795548812_GirlyBumper.jpg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.hyperpad.com/post/3924</link><guid isPermaLink="true">https://forum.hyperpad.com/post/3924</guid><dc:creator><![CDATA[Deeeds]]></dc:creator><pubDate>Thu, 16 Nov 2017 01:25:55 GMT</pubDate></item><item><title><![CDATA[Reply to Need help with shooting and monsters killing you. on Thu, 16 Nov 2017 01:18:38 GMT]]></title><description><![CDATA[<p dir="auto">When it comes to spawned object, there are definitely limitations. We're working on solutions. The new broadcast/receive is only the first step.</p>
<p dir="auto">We're not turning a blind eye to the core problem. But coming up with an elegant (and feasible) solution takes some time. While not perfect, we update things like the message system as a work around until a proper solution is in place.</p>
<p dir="auto">Unfortunately given the nature of "visual programming" you usually need to work around things to make it work the same way as traditional programming.</p>
]]></description><link>https://forum.hyperpad.com/post/3923</link><guid isPermaLink="true">https://forum.hyperpad.com/post/3923</guid><dc:creator><![CDATA[Murtaza]]></dc:creator><pubDate>Thu, 16 Nov 2017 01:18:38 GMT</pubDate></item><item><title><![CDATA[Reply to Need help with shooting and monsters killing you. on Thu, 16 Nov 2017 01:09:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/murtaza" aria-label="Profile: Murtaza">@<bdi>Murtaza</bdi></a> Yes, for this example there are dozens of ways this can probably be achieved. I'm attempting to use this example, however, to examine the potential for communication FROM spawned objects to somewhere else.</p>
<p dir="auto">Please don't consider the problem, think about the question I'm asking from the perspective of: What are the capabilities of awareness and messaging within spawned objects?</p>
]]></description><link>https://forum.hyperpad.com/post/3920</link><guid isPermaLink="true">https://forum.hyperpad.com/post/3920</guid><dc:creator><![CDATA[Deeeds]]></dc:creator><pubDate>Thu, 16 Nov 2017 01:09:02 GMT</pubDate></item><item><title><![CDATA[Reply to Need help with shooting and monsters killing you. on Thu, 16 Nov 2017 00:52:16 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> said in <a href="/post/3917">Need help with shooting and monsters killing you.</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jack8680" aria-label="Profile: Jack8680">@<bdi>Jack8680</bdi></a> I think this approach sounds somewhat similar to how prototypes work in JavaScript.</p>
<p dir="auto">In hyperCard:  I'm still struggling with how an object can have awareness of itself and use that knowledge to pass some information of itself to something else.</p>
<p dir="auto">In plain speak:</p>
<p dir="auto">Spawn a bunch of bumpers for a pinball game:</p>
<p dir="auto">When one is hit by the ball it sends a message describing the collision (from whence the ball came, at what speed and where it got hit) to a scoring system, along with information about itself, like its position and current points value and the time of the contact and other state it might have been in at the time of the contact.</p>
</blockquote>
<p dir="auto">For this, example couldn't you just use broadcast message and send all the relevant information? The main hurdle, would be that you need other behaviours to first get the position then put that into broadcast.<br />
Attributes work as well. This was one of the reasons why we built attributes. You can give your object certain properties. (like points). Then any other object can see that objects attributes. The attributes method doesn't work so well in the case of spawned objects. But I think the new broadcast/receive messages should.</p>
]]></description><link>https://forum.hyperpad.com/post/3919</link><guid isPermaLink="true">https://forum.hyperpad.com/post/3919</guid><dc:creator><![CDATA[Murtaza]]></dc:creator><pubDate>Thu, 16 Nov 2017 00:52:16 GMT</pubDate></item><item><title><![CDATA[Reply to Need help with shooting and monsters killing you. on Thu, 16 Nov 2017 00:31:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jack8680" aria-label="Profile: Jack8680">@<bdi>Jack8680</bdi></a> I think this approach sounds somewhat similar to how prototypes work in JavaScript.</p>
<p dir="auto">In hyperCard:  I'm still struggling with how an object can have awareness of itself and use that knowledge to pass some information of itself to something else.</p>
<p dir="auto">In plain speak:</p>
<p dir="auto">Spawn a bunch of bumpers for a pinball game:</p>
<p dir="auto">When one is hit by the ball it sends a message describing the collision (from whence the ball came, at what speed and where it got hit) to a scoring system, along with information about itself, like its position and current points value and the time of the contact and other state it might have been in at the time of the contact.</p>
]]></description><link>https://forum.hyperpad.com/post/3917</link><guid isPermaLink="true">https://forum.hyperpad.com/post/3917</guid><dc:creator><![CDATA[Deeeds]]></dc:creator><pubDate>Thu, 16 Nov 2017 00:31:13 GMT</pubDate></item><item><title><![CDATA[Reply to Need help with shooting and monsters killing you. on Wed, 15 Nov 2017 19:10:47 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> ok...I don’t have time for anymore pointless posting.....but if you have a real question....I’ll help you theorize!</p>
]]></description><link>https://forum.hyperpad.com/post/3892</link><guid isPermaLink="true">https://forum.hyperpad.com/post/3892</guid><dc:creator><![CDATA[iTap Development]]></dc:creator><pubDate>Wed, 15 Nov 2017 19:10:47 GMT</pubDate></item><item><title><![CDATA[Reply to Need help with shooting and monsters killing you. on Wed, 15 Nov 2017 18:42:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/itap-development" aria-label="Profile: iTap-Development">@<bdi>iTap-Development</bdi></a> I'm BOOP,</p>
<p dir="auto">Before OOP</p>
]]></description><link>https://forum.hyperpad.com/post/3891</link><guid isPermaLink="true">https://forum.hyperpad.com/post/3891</guid><dc:creator><![CDATA[Deeeds]]></dc:creator><pubDate>Wed, 15 Nov 2017 18:42:46 GMT</pubDate></item><item><title><![CDATA[Reply to Need help with shooting and monsters killing you. on Wed, 15 Nov 2017 18:36:11 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> haha you are charming! But that would make you just about prehistoric!</p>
]]></description><link>https://forum.hyperpad.com/post/3887</link><guid isPermaLink="true">https://forum.hyperpad.com/post/3887</guid><dc:creator><![CDATA[iTap Development]]></dc:creator><pubDate>Wed, 15 Nov 2017 18:36:11 GMT</pubDate></item><item><title><![CDATA[Reply to Need help with shooting and monsters killing you. on Wed, 15 Nov 2017 18:28:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/itap-development" aria-label="Profile: iTap-Development">@<bdi>iTap-Development</bdi></a> argh. Ok. You must be very young and have only ever been exposed to "tutorials" as teaching.</p>
]]></description><link>https://forum.hyperpad.com/post/3884</link><guid isPermaLink="true">https://forum.hyperpad.com/post/3884</guid><dc:creator><![CDATA[Deeeds]]></dc:creator><pubDate>Wed, 15 Nov 2017 18:28:45 GMT</pubDate></item><item><title><![CDATA[Reply to Need help with shooting and monsters killing you. on Wed, 15 Nov 2017 18:26:52 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> no one needs the theory, because most can probably do it!<br />
And how will you teach him to fish? “The concept is simple, throw the hook in the water. Now theoretically the fish should bite....so go catch some fish!”</p>
]]></description><link>https://forum.hyperpad.com/post/3882</link><guid isPermaLink="true">https://forum.hyperpad.com/post/3882</guid><dc:creator><![CDATA[iTap Development]]></dc:creator><pubDate>Wed, 15 Nov 2017 18:26:52 GMT</pubDate></item><item><title><![CDATA[Reply to Need help with shooting and monsters killing you. on Wed, 15 Nov 2017 18:17:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/itap-development" aria-label="Profile: iTap-Development">@<bdi>iTap-Development</bdi></a> Because understanding HOW things work is like this:</p>
<p dir="auto">Teach a man to fish... etc</p>
<p dir="auto">Too subtle for you?</p>
]]></description><link>https://forum.hyperpad.com/post/3880</link><guid isPermaLink="true">https://forum.hyperpad.com/post/3880</guid><dc:creator><![CDATA[Deeeds]]></dc:creator><pubDate>Wed, 15 Nov 2017 18:17:28 GMT</pubDate></item><item><title><![CDATA[Reply to Need help with shooting and monsters killing you. on Wed, 15 Nov 2017 18:15: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> good grief! How’s anyone going to help you then?<br />
And why do you need help? Theorize elsewhere.</p>
]]></description><link>https://forum.hyperpad.com/post/3878</link><guid isPermaLink="true">https://forum.hyperpad.com/post/3878</guid><dc:creator><![CDATA[iTap Development]]></dc:creator><pubDate>Wed, 15 Nov 2017 18:15:38 GMT</pubDate></item><item><title><![CDATA[Reply to Need help with shooting and monsters killing you. on Wed, 15 Nov 2017 17:54:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/itap-development" aria-label="Profile: iTap-Development">@<bdi>iTap-Development</bdi></a> This is a theoretical and conceptual question, not a specific one.</p>
]]></description><link>https://forum.hyperpad.com/post/3869</link><guid isPermaLink="true">https://forum.hyperpad.com/post/3869</guid><dc:creator><![CDATA[Deeeds]]></dc:creator><pubDate>Wed, 15 Nov 2017 17:54:17 GMT</pubDate></item><item><title><![CDATA[Reply to Need help with shooting and monsters killing you. on Wed, 15 Nov 2017 17:26:35 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> so by call functions you mean trigger it’s own behaviors? And define “inspect elements”, what elements are you wanting to inspect?</p>
]]></description><link>https://forum.hyperpad.com/post/3865</link><guid isPermaLink="true">https://forum.hyperpad.com/post/3865</guid><dc:creator><![CDATA[iTap Development]]></dc:creator><pubDate>Wed, 15 Nov 2017 17:26:35 GMT</pubDate></item><item><title><![CDATA[Reply to Need help with shooting and monsters killing you. on Wed, 15 Nov 2017 16:26:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/itap-development" aria-label="Profile: iTap-Development">@<bdi>iTap-Development</bdi></a> In just about every known modern language there is the concept of self, either explicitly or implicitly. This means an object can call functions on itself and inspect its own elements. I don't see this ability in the workaround that is spawning objects in hyperPad.</p>
]]></description><link>https://forum.hyperpad.com/post/3860</link><guid isPermaLink="true">https://forum.hyperpad.com/post/3860</guid><dc:creator><![CDATA[Deeeds]]></dc:creator><pubDate>Wed, 15 Nov 2017 16:26:16 GMT</pubDate></item><item><title><![CDATA[Reply to Need help with shooting and monsters killing you. on Wed, 15 Nov 2017 15:17:24 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> what do you mean reference itself? Like trigger it’s own behaviors with broadcast?</p>
]]></description><link>https://forum.hyperpad.com/post/3859</link><guid isPermaLink="true">https://forum.hyperpad.com/post/3859</guid><dc:creator><![CDATA[iTap Development]]></dc:creator><pubDate>Wed, 15 Nov 2017 15:17:24 GMT</pubDate></item><item><title><![CDATA[Reply to Need help with shooting and monsters killing you. on Wed, 15 Nov 2017 14:30:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/itap-development" aria-label="Profile: iTap-Development">@<bdi>iTap-Development</bdi></a> Again, the problem is one of reference. For example, how does an object reference itself?</p>
]]></description><link>https://forum.hyperpad.com/post/3858</link><guid isPermaLink="true">https://forum.hyperpad.com/post/3858</guid><dc:creator><![CDATA[Deeeds]]></dc:creator><pubDate>Wed, 15 Nov 2017 14:30:28 GMT</pubDate></item><item><title><![CDATA[Reply to Need help with shooting and monsters killing you. on Wed, 15 Nov 2017 12:01:32 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> do you understand how to trigger an objects behaviors with the broadcast? If so, you just put the position(as an array) in the value field of the broadcast behavior and then you can use it in the object to set the position.</p>
]]></description><link>https://forum.hyperpad.com/post/3849</link><guid isPermaLink="true">https://forum.hyperpad.com/post/3849</guid><dc:creator><![CDATA[iTap Development]]></dc:creator><pubDate>Wed, 15 Nov 2017 12:01:32 GMT</pubDate></item><item><title><![CDATA[Reply to Need help with shooting and monsters killing you. on Wed, 15 Nov 2017 05:43:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jack8680" aria-label="Profile: Jack8680">@<bdi>Jack8680</bdi></a> I've read this a dozen times, and I still can't see how to have a reverence to an object so I can tell it to "go to this position!"</p>
]]></description><link>https://forum.hyperpad.com/post/3824</link><guid isPermaLink="true">https://forum.hyperpad.com/post/3824</guid><dc:creator><![CDATA[Deeeds]]></dc:creator><pubDate>Wed, 15 Nov 2017 05:43:25 GMT</pubDate></item><item><title><![CDATA[Reply to Need help with shooting and monsters killing you. on Mon, 13 Nov 2017 01:14:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jack8680" aria-label="Profile: Jack8680">@<bdi>Jack8680</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/itap-development" aria-label="Profile: iTap-Development">@<bdi>iTap-Development</bdi></a>  Thank you both very much... I'm knee deep in graphic design at the moment, and considering how that influences what I can do, and want to do... but will get to this in a few hours, I hope.</p>
]]></description><link>https://forum.hyperpad.com/post/3760</link><guid isPermaLink="true">https://forum.hyperpad.com/post/3760</guid><dc:creator><![CDATA[Deeeds]]></dc:creator><pubDate>Mon, 13 Nov 2017 01:14:46 GMT</pubDate></item><item><title><![CDATA[Reply to Need help with shooting and monsters killing you. on Sun, 12 Nov 2017 23:04:10 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> how you assign them an ID depends on what you want to use them for.</p>
<p dir="auto">If you have a game with objects you want to select by position, their IDs could be based on the X and Y position.</p>
<p dir="auto">If you want to be able to select the Nth spawned object or just give an object a unique ID, create an attribute on some non-spawned object that always exists, and let the spawned object get this value, set it as its ID, and increment the value by 1.</p>
<hr />
<p dir="auto">You can use this kind of thing to add a relationship between objects. If you want a long and probably hard to follow example I'm making a game right now where an enemy spawns a hitbox for a sword thrust, that will damage the player, unless the player is parrying, which will deflect the hit and stun the opponent for a moment.</p>
<p dir="auto">Enemies spawn a hitbox are spawned using a broadcast message, broadcasting to 'damageBox' with the value being an array of information (owner position, rotation, offset to spawn at, etc).</p>
<p dir="auto">I have an empty object that is never destroyed that receives this message. When the message is received, it uses an internal object counter in the form of a box container, which is incremented by 1 each time. It combines this with text to make a unique attribute for each hitbox being spawned. It sets this attribute to the array of values.</p>
<p dir="auto">The hitbox object is simply an empty object that uses the values passed on to it to calculate the position and rotation it should go to. It uses an incremental ID attribute on the main empty object to get the attribute that was set before (a work around because when multiple run at once there is a slight delay before spawned objects run, so they would all get the last attribute without an ID system). The Hitboxes set an attribute to the ID of their owner.</p>
<p dir="auto">The player has behaviours when collided with the hitbox, if the player is parrying it will get the hitbox' owner attribute and broadcast to combine text of "parry" and the owner ID. The owner has a receive message for this that causes it to turn of its behaviours for a moment.</p>
]]></description><link>https://forum.hyperpad.com/post/3758</link><guid isPermaLink="true">https://forum.hyperpad.com/post/3758</guid><dc:creator><![CDATA[Jack8680]]></dc:creator><pubDate>Sun, 12 Nov 2017 23:04:10 GMT</pubDate></item><item><title><![CDATA[Reply to Need help with shooting and monsters killing you. on Sun, 12 Nov 2017 18:12:58 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> here are some screen shots from the tutorial with some basic explanations...hope it helps!<img src="https://assets.forum.hyperpad.com/assets/3b09a95c-3765-4c2d-8572-69ae4a31f1b8.jpeg" alt="0_1510510239477_23B51BFF-6BA1-4831-9B70-B4921379BCA4.jpeg" class=" img-fluid img-markdown" /> <img src="https://assets.forum.hyperpad.com/assets/bf8d1d15-b58b-4fc2-95b8-86abd01af72f.jpeg" alt="0_1510510327808_FD9D7265-DC28-4CA5-A6CE-5853273999C7.jpeg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.hyperpad.com/post/3750</link><guid isPermaLink="true">https://forum.hyperpad.com/post/3750</guid><dc:creator><![CDATA[iTap Development]]></dc:creator><pubDate>Sun, 12 Nov 2017 18:12:58 GMT</pubDate></item><item><title><![CDATA[Reply to Need help with shooting and monsters killing you. on Sun, 12 Nov 2017 16:39:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/itap-development" aria-label="Profile: iTap-Development">@<bdi>iTap-Development</bdi></a> Cheers. I'll do some more mulling and experimenting. There are other things I'm doing and exploring and working around the ways of hyperPad, and with it... I agree... dynamic addressing needs to be first, before even functions, parenting, Undo in behaviours, etc.</p>
]]></description><link>https://forum.hyperpad.com/post/3749</link><guid isPermaLink="true">https://forum.hyperpad.com/post/3749</guid><dc:creator><![CDATA[Deeeds]]></dc:creator><pubDate>Sun, 12 Nov 2017 16:39:17 GMT</pubDate></item><item><title><![CDATA[Reply to Need help with shooting and monsters killing you. on Sun, 12 Nov 2017 16:22:04 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> yep you could use a loop or create your own, I guess depending on you needs.<br />
So you are saying you want to have an array of the objects you’ve created so you know what to broadcast? I don’t think that would be necessary with numerically named id but if you want names like wall 1 or enemy 3 then I can see where that would come in. So if I understand correctly, just put id’s in an array when you create the objects.<br />
I don’t think anyone will argue that we need everything to be dynamic. I would honestly prefer dynamic everything came before new features, since no dynamic means less use for the features.</p>
<p dir="auto">Spawned objects are basically exact replicas of the object. They can, for the most part, work independently with the exception of not being able to be talked to by object name. Although you can use tags for limited use, for example put a tag on the object and then it or any of its spawned objects could have a collide behavior with that tag, and then when one collides only that one would react.</p>
]]></description><link>https://forum.hyperpad.com/post/3748</link><guid isPermaLink="true">https://forum.hyperpad.com/post/3748</guid><dc:creator><![CDATA[iTap Development]]></dc:creator><pubDate>Sun, 12 Nov 2017 16:22:04 GMT</pubDate></item></channel></rss>