<br><br><div class="gmail_quote">On Mon, Jan 19, 2009 at 11:00 AM, James Paige <span dir="ltr"><<a href="mailto:Bob@hamsterrepublic.com">Bob@hamsterrepublic.com</a>></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><div></div><div class="Wj3C7c">On Mon, Jan 19, 2009 at 09:21:02AM -0800, Adam Perry wrote:<br>
>    On Mon, Jan 19, 2009 at 9:12 AM, James Paige <<a href="mailto:Bob@hamsterrepublic.com">Bob@hamsterrepublic.com</a>><br>
>    wrote:<br>
</div></div>And so-on. The upshot is that younger siblings are always  drawn on top<br>
of older siblings, and that children of a parent are always drawn<br>
directly on top of their parent. Once you get use to it, it is pretty<br>
easy to understand how to arrange your slices to make them draw in the<br>
order you want.<br>
</blockquote><div><br>I see. In that case, I'd want "move slice to top" and "move slice to bottom" functions: if I'm using a slice as a mouse cursor, I want it to go on top always. Slices go above heroes and NPCs, right? In my example, the mouse cursor is likely one of the first things I'm creating on the map.<br>
<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Does that make sense?<br>
<div><div></div><div class="Wj3C7c"></div></div></blockquote><div><br>Yes. I'm not sure I see the need for containers in general (except for layering), but I saw you made the enemy armada one container in Space InvadOHRs, which makes sense.<br>
 </div></div>Regarding plotdict:<br><br>I think this is an error:<br><font style="background-color: rgb(0, 0, 0);" size="2"><br><tt style="background-color: rgb(51, 102, 255);"><b><font color="yellow">sprite later</font></b><br>

                        Returns a slice handle for the layer which contains sprites created with commands such as <a class="ref" href="http://hamsterrepublic.com/ohrrpgce/docs/plotdict.xml#about-loadherosprite">load hero sprite</a>, <a class="ref" href="http://hamsterrepublic.com/ohrrpgce/docs/plotdict.xml#about-loadwalkaboutsprite">load walkabout sprite</a> and others. You can use this together with <a class="ref" href="http://hamsterrepublic.com/ohrrpgce/docs/plotdict.xml#about-firstchild">first child</a> if you want to loop through all your sprites without knowing their handles.</tt></font><br>
<br clear="all">Should say "sprite layer."<br><br>Also, I noticed today that the menu commands aren't in the wiki either.<br><br>"slice collide point" has imprecise documentation: I assume x and y are pixel coordinates, but are they absolute with respect to the map or relative to the screen?<br>
<br>It would be really awesome to allow alpha transparency for slices (and textboxes and menus, for that matter).<br>-- <br>"Today is victory over yourself of yesterday; tomorrow is victory over lesser men" -Miyamoto Musashi.<br>