Gamestudio Links
Zorro Links
Newest Posts
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, Akow, 1 invisible), 1,499 guests, and 11 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 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 | 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