Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
basik85278
by basik85278. 04/28/24 08:56
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (blaurock), 750 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Animated sprite #316017
03/20/10 18:56
03/20/10 18:56
Joined: Oct 2009
Posts: 110
Porto-Portugal
Elektron Offline OP
Member
Elektron  Offline OP
Member

Joined: Oct 2009
Posts: 110
Porto-Portugal
I have 5 bitmaps making a animated sprite.
I have to use 5 panels and show in sequence one of them then the next and hide previously panel and so on?
Or there is way for use just one panel? If yes, how?

Thanks in advance


Carlos Ribeiro aka Elektron
Check my blog: http://indiegamedeveloper71.wordpress.com/
Re: Animated sprite [Re: Elektron] #316024
03/20/10 19:31
03/20/10 19:31
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline
Expert
Espér  Offline
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
the word you are searching for is "window"
=> http://www.conitec.net/beta/apanel-window.htm

Set all images in a row and save it as a single bitmap

Just create a window in the panel, with the size of 1 frame of your bitmap.

Then just run the X-Pos variable of the window, and your sprite is animated in the panel.


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: Animated sprite [Re: Espér] #316027
03/20/10 19:50
03/20/10 19:50
Joined: Jan 2010
Posts: 145
Doc_Savage Offline
Member
Doc_Savage  Offline
Member

Joined: Jan 2010
Posts: 145
theres no way to just convert the images to a .gif huh?


Do not concern yourself with my race, personality or origin. find my record in the pits, and then make your wager.
Re: Animated sprite [Re: Doc_Savage] #316028
03/20/10 19:51
03/20/10 19:51
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline
Expert
Espér  Offline
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
no.. A7 doesn´t support Gif..

but.. why Gif?

Use TGA with Alpha Channel.. and create a function wich creates a window panel with bitmap at a specified point for you. That saves codelines and time ^^


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1