Re: Game Prog. NEED HELP

new topic     » goto parent     » topic index » view thread      » older message » newer message

----- Original Message -----
From: Ray & Debbie Smith <smithr at IX.NET.AU>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Friday, January 12, 2001 1:56 PM
Subject: Re: Game Prog. NEED HELP


> Hi Dan,
>
> > First what is the best way to animate in Euphoria, you know
> > like in my game.  Will GIF files work, the kind I use on the net.
>
> What I did for the couple of very simple games I wrote
> was to:
>
> 1.  Create a number of images to be used as frames in the animation
> and save them as bmp files.
>
> 2.  Load all these bmp's in my program, (I used a sequence to hold
> the reference for each frame)
>
> 3.  Everytime (or 2nd, 3rd - depending on how fast you want to
> animate your sprites) through your main game loop add 1 to
> a counter (if > max then move 1 to counter) and display the image
> associated with the sequence loaded above.
>
> This might not be the best way of doing it but it works for me.
> If your interested check out euAllegro Games Pack which can
> be found through the RDS Contributions page.

Hey, it works for me! I've used this in a few "games" and it seems just
ducky.

-Thomas

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu