[Dev] SVN: james/326 Experimenting with a different method of styling a creature's animations

James Paige Bob at HamsterRepublic.com
Fri Mar 28 06:46:29 PDT 2008


On Thu, Mar 27, 2008 at 07:35:20PM -0700, Brian Fisher wrote:
> whatever_pouch.broken_reference = object
> 
> ... so are you finding your imageasset references to get broken a lot?
> if so, how come? are you renaming and moving a bunch of files?

No, it is just when I create new stuff that hasn't been defined in the 
editor yet.

---
James

> On Thu, Mar 27, 2008 at 12:57 PM, James Paige <Bob at hamsterrepublic.com> wrote:
> >
> > On Thu, Mar 27, 2008 at 10:44:31AM -0700, Brian Fisher wrote:
> >  > On Thu, Mar 27, 2008 at 7:56 AM, James Paige <Bob at hamsterrepublic.com> wrote:
> >  > >  Perhaps the exception should be the default case, but there should be
> >  > >  some standard way of getting the broken-asset-by-default behavior
> >  > >
> >  > There is, see what crabgrab does for the asset types it registers. It
> >  > registers a broken assetid asset instance. I think if you wanted the
> >  > image or sound lists to behave the same, you could have your game
> >  > create an image and register it as the broken asset.
> >
> >  How would I do that? I have a !.png file in my data directory, but what
> >  do I need to do to register it as the broken asset for ImageAsset?
> >
> >
> >
> >  ---
> >  James
> >  _______________________________________________
> >  Dev mailing list
> >  Dev at lists.motherhamster.org
> >  http://lists.motherhamster.org/listinfo.cgi/dev-motherhamster.org
> >
> _______________________________________________
> Dev mailing list
> Dev at lists.motherhamster.org
> http://lists.motherhamster.org/listinfo.cgi/dev-motherhamster.org
> 
> 



More information about the Dev mailing list