Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (degenerate_762, AbrahamR, AndrewAMD, ozgur), 667 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Will .GIF work in 3DGS? #11429
01/03/03 09:18
01/03/03 09:18
Joined: Jan 2003
Posts: 54
californa
S
Stan_dup1 Offline OP
Junior Member
Stan_dup1  Offline OP
Junior Member
S

Joined: Jan 2003
Posts: 54
californa
Small question will .GIF Animation work in 3dgs?
I mean like not still gif image, gif animation

Thanks in advance [Smile]

Re: Will .GIF work in 3DGS? #11430
01/03/03 11:36
01/03/03 11:36
Joined: Mar 2002
Posts: 1,123
California
Cellulaer Offline
Expert
Cellulaer  Offline
Expert

Joined: Mar 2002
Posts: 1,123
California
GIFs are not supported. The way 3DGS handles animated images is to have all of the images side by side in the same image. You can also do animation in code like this:

Bmap img1 = <anim1.bmp>;
Bmap img2 = <anim2.bmp>;

Panel panel1 {
Bmap imgblank;
}

Function animation() {
Var I = 1;
While(1) {
If (i=2) {
Panel1.bmap = img2;
I =1;
}
If (i==1){
Panel1.bmap = img1;
I = 2;
}
Waitt(16);
}
}

Or something like that.


Buy, Sell, & Archive Realtime 3D Content @ RedRock7.com *BETA* A5.5+ Plugin DLLs: GSADO, GSHTTP, GSImgLst, FreeMod, GSFlash, GSPython http://cellulear.slashbang.com/
Re: Will .GIF work in 3DGS? #11431
01/04/03 01:18
01/04/03 01:18
Joined: Jul 2002
Posts: 1,529
Sudbury, Ontario, Canada
Shummy Offline
Expert
Shummy  Offline
Expert

Joined: Jul 2002
Posts: 1,529
Sudbury, Ontario, Canada
i think there are plugins to uwe gifs on teh download page or maybe there just jpegs and tother buti though i saw some gif plugins!..


~Shummy Level Designer/Scripts º_º€Lkº_ºBð¥º_Šøƒ†_º [url=http://www.elkboysoftware.cjb.net]www.elkboysoftware.cjb.net[/url] skater_boy29@hotmail.com
Re: Will .GIF work in 3DGS? #11432
01/04/03 04:47
01/04/03 04:47
Joined: Jul 2000
Posts: 11,321
Virginia, USA
Dan Silverman Offline
Senior Expert
Dan Silverman  Offline
Senior Expert

Joined: Jul 2000
Posts: 11,321
Virginia, USA
Pg. 97 of the WDL Manual explains a thing or two about animated sprites and textures. Its actually easier than the manual states. Here is what you do:

1 - Create a SINGLE graphic that contains ALL of the animation frames in it laid out side to side with frame 0 at the left side and the last frame on the opposite end (of course, all other frames sit between in their proper order [Smile] ).

2 - Save the image in this format: name+#.pcx

Name = the name of the file
+ = Must be there right after the name
# = The number of frames in the image
.pcx = the type of file (PCX, BMP or TGA)

3 - Bring this graphic into WED and it will now automatically animate.

If you need to control the speed of the animation, then you will need C-Script to do it. See page 97 of the WDL Manual.


Professional 2D, 3D and Real-Time 3D Content Creation:
HyperGraph Studios

Moderated by  HeelX, Spirit 

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