Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,546 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Sprite texture from memory... #234834
11/04/08 22:14
11/04/08 22:14
Joined: Jul 2004
Posts: 40
UK
M
Macro Offline OP
Newbie
Macro  Offline OP
Newbie
M

Joined: Jul 2004
Posts: 40
UK
Hey,

I am trying to dynamically create a sprites texture from code (lite c)

I am happy that I can create the BMAP* object using the bmap_create functions etc but what I can't see is an easy way to apply that BMAP* texture to an already loaded sprite.

Is the only way to do this to generate the bitmap, save it to disk and then reload the sprite or am I missing somthing.

Grateful for any help.

MACRO

Re: Sprite texture from memory... [Re: Macro] #234836
11/04/08 22:27
11/04/08 22:27
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
could ent_morph be any help here? It can transform sprites into different bitmaps i think.

Re: Sprite texture from memory... [Re: DJBMASTER] #234840
11/04/08 22:48
11/04/08 22:48
Joined: Jul 2004
Posts: 40
UK
M
Macro Offline OP
Newbie
Macro  Offline OP
Newbie
M

Joined: Jul 2004
Posts: 40
UK
Perhaps I will give it a try but it looks like that is looking for a filepath and not an already loaded entity from the docs.

I will let you know how it goes smile

Cheers

MACRO


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

Gamestudio download | 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