English
Forum

SetSpriteAnim

 
Hi Frank!

now, I have again trouble.
i'm just thereby a routine To write, The my Sprites within one Program manages. One part of it is zuständig for the loading the BMPs and anschließendem settle the Sprites. The Size the Sprite-BMP becomes accounts from the amount the Spritehöhen and the wide the breitesten Sprites. so far so well.
If but now The routine one further time called becomes, should The Sprite-BMP with the new Sprite-Image-data extended go,speak The new data go appended. I can now of course simply The existing Image-data into new erzeugtes,größeres ExtBMP copy and the new data zuladen, but the changed Yes unfortunately whom Sprite-BMP-lever, whom I with InitSprite set have. so remaining me nothing other spare, as any Sprites To delete and the new lever new to create.

my from it resultierende question:
is it possible The Dll circa a function To strain, a ExtBMP enhance, or. verkleinern can?
or/and is it possible SetSpriteAnim with a further worth, the Sprite-BMP-lever, To strain?

with the best greet,
Mischa
 
04/19/04  
 



Hi Mischa,

now, I have again trouble.
i'm just thereby a routine To write, The my Sprites within one Program manages. One part of it is zuständig for the loading the BMPs and anschließendem settle the Sprites. The Size the Sprite-BMP becomes accounts from the amount the Spritehöhen and the wide the breitesten Sprites. so far so well.
If but now The routine one further time called becomes, should The Sprite-BMP with the new Sprite-Image-data extended go,speak The new data go appended. I can now of course simply The existing Image-data into new erzeugtes,größeres ExtBMP copy and the new data zuladen, but the changed Yes unfortunately whom Sprite-BMP-lever, whom I with InitSprite set have. so remaining me nothing other spare, as any Sprites To delete and the new lever new to create.

Why verwendest thou not at the outset a more Bitmap, The you in all Make ausreicht? then can you The Sprites anytime with CopyExtBmp() update and The Bitmap copy...

my from it resultierende question:
is it possible The Dll circa a function To strain, a ExtBMP enhance, or. verkleinern can?

the goes unfortunately not. i'm no API famous, The the could, without whom lever thereby To Change.

or/and is it possible SetSpriteAnim with a further worth, the Sprite-BMP-lever, To strain?

i want The SetSpriteAnim() from Kompatibilitätsgründen not change, can but gladly a new function install, z.B.:
SetNewSpriteBitmap(spritehandle&,newspritehdc&)

Sinnvoller is But nevertheless, The new Spritedaten simply with CopyExtBmp() into graphic To settle...
what hälst You of it?

with the best greet,
Frank
 
04/19/04  
 



over again Hello!

clear, I could a BMP lay out The big enough is. though white I do not in the Vorfeld How big these his should. its well not very good Resources-schonend, simply a BMP with say we 2000 x 4000 to create. there are Yes yet others BMPs in the game. Möglicherweise is the but too foolish of me To believe I should Resources go easy on.
at that Verkleinern is the trouble already deutlicher. If I The data one Sprites Remove wants can I of course whom under lain BMP-area simply around the Höhe the Sprite-data hochkopieren, then having The Sprites but until Setspriteanim incorrect data. If I but a second Sprite-In BMP new Size beget, can I there The BMP-reaches properly together copy, then The Sprites SetNewSpriteBitmap (presupposed this commands would too X u. Y-Koordinate the Sprite-Image-data new settle) hereon redirecting and then The old Sprite-BMP lösche, and there's no Error. faith I!?
Hm, quite umständlich. Presumably need one these function not too often.
my trouble have so did i already More or little resolved, because I hold any Sprites lösche and then with new data anew setting. there it itself with the routine circa a editor-function deals, comes it Yes not so very the tempo on. I thought only, it would möglicherweise sense make with one game... Well, nevertheless thanks for your speedy response!

Sincerely,
Mischa

PS: becomes it time a function give, How CopySizedExtBmp? then can itself namely whom detour over Startpaint -1 save
 
04/19/04  
 



Hello Mischa,

Resources go easy on is still always meaningfully.

well Yes, if You nevertheless once more so a function benötigst, then login you hold again, too with new X and Y indicated.

One CopySizeExtBmp()? well who can tell, i'll me bemühen you the To supplying, what your needed...

Greeting, Frank
 
04/19/04  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.918 Views

Untitledvor 0 min.
iF09/21/14
Gabor Krizsma08/08/11

Themeninformationen

this Topic has 1 subscriber:

unbekannt (4x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie