<div dir="ltr"><div>For completeness of argument: I forgot to mention that it's very common for people to add a lookup code to a slice in a collection, load the collection, lookup the slice, reparent it where they want it, and maybe forget to delete the empty collection slice. The reason to do this is because of root slices, which IIRC originally were not editable in the editor. It should actually perfectly fine to modify the root slice for use directly, eg turn it into a sprite and give it a nonzero x,y.<br></div><div><br></div><div>However the slice editor doesn't save a slice collection if the root slice has no children, so that would need to be changed, which is tricky. I guess I could make use of the code that already exists to check whether the collection has been modified (which works by comparing the old and new RELOAD serialisations).<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 26 Oct 2020 at 12:07, James Paige <<a href="mailto:Bob@hamsterrepublic.com">Bob@hamsterrepublic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">I enthusiastically endorse all of this plan :)<div dir="auto"><br><div dir="auto">---</div><div dir="auto">James Paige</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun., Oct. 25, 2020, 6:23 p.m. Ralph Versteegen, <<a href="mailto:teeemcee@gmail.com" target="_blank">teeemcee@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Visibility of the root slice of a collection can be toggled with F5.</div><div>I feel like they should maybe be visible by default, because the root slice is the slice you get a handle to from "load collection", and so they're pretty important, but many people don't understand what they are or that they can be edited in the editor.</div><div><br></div><div>Also, root slices are set to Fill Parent by default, to ensure that they're the same size of the screen,  even if you change the game resolution. But I think that in most ways this is a bad thing and I suggest we change the default for newly created collections. <br></div><br><div>The problem with having the root set to fill is that you can't move or reposition the collection slice after loading it!! How many people have wondered why "put slice" didn't work? As Bena told me, "it seemed natural that I'd be able to do that; didn't give it a second thought until it didn't work". Plus if you try to reparent your collection to some slice that isn't the same size as the screen it will change size... although you're only going to align something to right or bottom edges of the root if its some kind of UI.<br></div><div><br></div><div>However, changing the default Fill Parent setting would be add a new source of confusion because you can't tell just by looking at a collection whether the root is set to fill or not. Maybe we should just add "(fill)" (or an icon! I'm planning to add lots of icons to the slice editor, and kylekrack has drawn me some!) in the root slice description line. Actually, yes, all filling slices should have a little Fill Parent icon.<br></div></div>
_______________________________________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" rel="noreferrer" target="_blank">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer noreferrer" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
</blockquote></div>
_______________________________________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
</blockquote></div>