animated textures

Creating Games? Developing something for fun?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
cwkalish
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 78
Joined: Thu Sep 30, 2010 2:24 am

animated textures

Post by cwkalish » Fri Oct 25, 2013 10:20 pm

Hi. This is not a livecode-specific question, but maybe something that game designers just know how to do.
Is there a way to get an animated texture/filling for a graphic object? I'd like to make "laser beams" that seem to pulse or twinkle (or do more than just sit there statically). A progress bar- like graphic would be great. Would I make an animated gif of the texture and then use that as the content of an image (which I would stretch to make my beam?)

Thanks for any suggestions.

chris25
Posts: 354
Joined: Tue Oct 08, 2013 9:32 pm

Re: animated textures

Post by chris25 » Fri Nov 01, 2013 11:57 pm

Hi, I am not really qualified to answer this question, but I can share with you how I would at least experiment. I would make an animated gif in photoshop and put that in a button for starters. Or make a simple gif graphic line a few pixels in width and use the move command in Livecode according to the simple rules there; Or I would use my camera to video a flashing beam in a darkroom or tin foil to reflect white light or something imaginative, then convert that video file into a gif animation, clipping off bits as necessary. The latter is done using a simple software product from the app store called gifBrewery. (No, i am not affiliated in any way, it's just a very handy thing to have when making a gif animation assembly in photoshop would take hours rather than 1 hour).

Hope something here helps.
Chris

Post Reply