Gamestudio Links
Zorro Links
Newest Posts
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
2 registered members (AndrewAMD, dr_panther), 1,282 guests, and 4 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
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