Being silly with penguins

RM richmondmathewson at gmail.com
Fri Apr 22 01:53:12 EDT 2016


Personally I like the graphic object with its backGroundPattern set to a 
series of images
the best.

The "HyperCard" method of flipping through tons of cards is resource hungry
and could grind to a halt on slower processors.

I wonder whether a graphic object couldn't be set up as a sort of sprite 
where it has its own code about how its
backGroundPattern changes, so that that doesn't have to be programmed 
into the button or what-have-you that
moves the graphic object; something like this:

(pseudocode)

on moveControl
    *flip through a sequence of images*
end moveControl

The only problem as far as I can see it is that that code will probably 
not 'fire' when a graphic object
is moved programmatically, only by an end user.

Richmond.

On 22.04.2016 00:50, William Prothero wrote:
> Richmond:
> What’s interesting is that they all look good on my Mac, ElCapitan and LC 8 RC1. I also like the image flipping method rather than the animated gif one. I’m considering making an animation system, for my purposes, that is kind of like a Director “score” where a property list holds “frames” and “sprites” can be moved, images changed, etc.
>
> Thanks for the examples. Now all we need is a physics engine and we’re set.
>
> Best,
> Bill
>
>> On Apr 21, 2016, at 11:02 AM, RM <richmondmathewson at gmail.com> wrote:
>>
>> I have now uploaded 4 stacks that effectively produce the same animation using
>> 4 different techniques.
>>
>> Go and have some fun!
>>
>> Love, Richmond.
>>
>> On 21.04.2016 13:12, RM wrote:
>>> I'm starting a sequence of stacks showing different ways of producing animation.
>>>
>>> My first stack is here:
>>>
>>> http://forums.livecode.com/viewtopic.php?f=10&t=27089
>>>
>>> It uses a graphic object that is continually having its backGroundPattern changed.
>>>
>>> Richmond.
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list