Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 767 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Animated sprite within a panel? #251286
02/12/09 12:03
02/12/09 12:03
Joined: Nov 2008
Posts: 9
C
Couzin_Pete Offline OP
Newbie
Couzin_Pete  Offline OP
Newbie
C

Joined: Nov 2008
Posts: 9
Does anyone know how I would go about placing an animated sprite (.bmp) within a panel?

Have tried various things, would like to know if this is possible.

many thanks

Re: Animated sprite within a panel? [Re: Couzin_Pete] #251298
02/12/09 12:30
02/12/09 12:30
Joined: Nov 2008
Posts: 9
C
Couzin_Pete Offline OP
Newbie
Couzin_Pete  Offline OP
Newbie
C

Joined: Nov 2008
Posts: 9
Perhaps I should explain a bit more ^^

I can run, say, 'explosion+11.bmp', and it will animate when I shoot something in A 3D game..

Recently, I've been reading about 2D games and I'm trying to get an animated sprite into a panel - The most recent AUM ( 82 ) has their own space invaders copy.. I want to animate the enemy models within their own panels..

Is it possible?
:P

Hope it explains my problem further smile

Re: Animated sprite within a panel? [Re: Couzin_Pete] #251300
02/12/09 12:51
02/12/09 12:51
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
You can change the bmap of the Panel at yourself.

enemy_panel.bmap = my_bmap_1;
wait(1);
enemy_panel.bmap = my_bmap_2;

and so on...

Re: Animated sprite within a panel? [Re: Widi] #251302
02/12/09 12:53
02/12/09 12:53
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
is there a way to animate Buttons too??


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: Animated sprite within a panel? [Re: Widi] #251304
02/12/09 13:02
02/12/09 13:02
Joined: Nov 2008
Posts: 9
C
Couzin_Pete Offline OP
Newbie
Couzin_Pete  Offline OP
Newbie
C

Joined: Nov 2008
Posts: 9
Yeah I've seen that in the AUM 82, I'm working using ideas from that (I've only done 3D prior to this!)

I am aware about changing the images like that, but I want to ANIMATE within the Panel using an animated bitmap (###+11.bmp)

Re: Animated sprite within a panel? [Re: Couzin_Pete] #251339
02/12/09 16:38
02/12/09 16:38
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
@ Espér:
Use one seperate Panel for the button, and so you can animate it at the same.
Or use: pan_setbmap(PANEL*,var type,var num,BMAP*).
I know, it is not THE ONE solution, but it works.

Re: Animated sprite within a panel? [Re: Widi] #251468
02/13/09 08:31
02/13/09 08:31
Joined: Apr 2008
Posts: 437
dracula Offline
Senior Member
dracula  Offline
Senior Member

Joined: Apr 2008
Posts: 437
I also wanted to do something similar to this: I wanted to have a looping animation (just like an animated GIF)that formed a logo

Any ideas ?

Re: Animated sprite within a panel? [Re: dracula] #251547
02/13/09 17:14
02/13/09 17:14
Joined: Jul 2004
Posts: 1,710
MMike Offline
Serious User
MMike  Offline
Serious User

Joined: Jul 2004
Posts: 1,710
It's possible, search forum alittle bit. I know jozzey he did work with it..




Last edited by MMike; 02/13/09 17:18.
Re: Animated sprite within a panel? [Re: MMike] #251555
02/13/09 18:03
02/13/09 18:03
Joined: Aug 2003
Posts: 63
UK
ptrc1c Offline
Junior Member
ptrc1c  Offline
Junior Member

Joined: Aug 2003
Posts: 63
UK
The solution is in AUM 17.

Re: Animated sprite within a panel? [Re: ptrc1c] #251934
02/15/09 17:24
02/15/09 17:24
Joined: Nov 2008
Posts: 9
C
Couzin_Pete Offline OP
Newbie
Couzin_Pete  Offline OP
Newbie
C

Joined: Nov 2008
Posts: 9
Ah ok, thanks laugh


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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