Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 08/29/26 06:56
Retrieve optimize() variables order (edited)
by NorbertSz. 08/25/26 13:24
Max Number of Strategies in /Strategy folder
by Martin_HH. 08/17/26 07:54
Pause button for evaluation shell?
by AndrewAMD. 08/13/26 17:16
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 08/10/26 12:46
phantom() not defined in indicators.c
by jcl. 08/07/26 11:45
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 7,142 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
riggi89, shuhari, KD1990, Student_64151, Koti
19230 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