<br><div class="gmail_quote">On Tue, Jan 20, 2009 at 11:53 AM, James Paige <span dir="ltr">&lt;<a href="mailto:Bob@hamsterrepublic.com">Bob@hamsterrepublic.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Mon, Jan 19, 2009 at 08:52:38PM -0800, S&#39;orlok Reaves wrote:<br>
&gt;<br>
&gt; I like this approach to slices a lot! In a few releases, I&#39;ll incorporate this approach into the OHRRPGCE FMF --it makes a lot more sense.<br>
&gt;<br>
&gt; Here&#39;s an idea: make a slice &quot;insurmountable&quot;. If you have:<br>
&gt;<br>
&gt; parent_slice<br>
&gt; &nbsp; &nbsp; child_slice_1<br>
&gt; &nbsp; &nbsp; child_slice_2<br>
&gt; &nbsp; &nbsp; child_slice_3, (insurmountable = true)<br>
&gt; &nbsp; &nbsp; child_slice_4<br>
&gt; &nbsp; &nbsp; child_slice_5<br>
&gt;<br>
&gt; ...then, adding a child slice to parent_slice will add it after child_slice_2.<br>
&gt;<br>
&gt; In this example, slices 3, 4, and 5 might be used to make some complex cursor (with a hat :D), and we want to enforce that new sprites are never added after it.<br>
&gt;<br>
&gt; By adding the &quot;insurmountable&quot; property, we enforce this. And, if we want to explicitly add child_slice_6 after child_slice_5, we can still iterate to slice_5 and call &quot;add sibling&quot;. So everybody wins.<br>

&gt;<br>
&gt; That&#39;s my only suggestion; I feel it makes a lot of sense for cursors and other top-level objects (like hats). What do you think?<br>
<br>
</div>No, I think it would be easier to do<br>
<br>
parent_slice<br>
 &nbsp; &nbsp;container_slice_1<br>
<div class="Ih2E3d"> &nbsp; &nbsp; &nbsp; &nbsp;child_slice_1<br>
 &nbsp; &nbsp; &nbsp; &nbsp;child_slice_2<br>
</div> &nbsp; &nbsp;container_slice_2<br>
 &nbsp; &nbsp; &nbsp; &nbsp;child_slice_3<br>
<div class="Ih2E3d"> &nbsp; &nbsp; &nbsp; &nbsp;child_slice_4<br>
 &nbsp; &nbsp; &nbsp; &nbsp;child_slice_5<br>
<br>
</div><div class="Ih2E3d">&gt; --&gt;Seth<br>
&gt; PS: Another use for this flag is if you want to give a sprite custom graphics depending on his armor: always make the helmet &quot;insurmountable&quot;, and you can simply add/remove the weapon/armor/helmet slices in any order.<br>

<br>
</div>I would just make the hero a parent, and all the armor would be children<br>
of that parent.<br>
</blockquote><div><br><br>Here&#39;s my nagging question: what about shields? If the hero is facing down, it&#39;s in front of him, but if he&#39;s facing up, it&#39;s behind.<br>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
---<br>
<font color="#888888">James Paige<br>
</font><div><div></div><div class="Wj3C7c">_______________________________________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>&quot;Today is victory over yourself of yesterday; tomorrow is victory over lesser men&quot; -Miyamoto Musashi.<br>