English
Forum

SwapSpriteLayers

 
Hello!

I program one Adevnture in the it possible his should, sowohl behind as well as to one subject To walk. For this is it necessary The Layer To swap once one the level (Y) the Gegenstandes over- or unterschreitet. long speech kurzer sense, the Swappen bring everything to that stand obwohk it a 0 (=ok) zurückgibt. here one simples example, the of course none makes sense but nevertheless functions ought to:

player&=InitSprite(spriteplane&,%HDC,bg1&,bg2&,0,0,32,32,4,1,20,50,270,1,1)

gegenstand&=InitSprite(tischbmp&,%HDC,bg1&,bg2&,0,0,254,73,1,1,0,94,235,0,0)

SwapSpriteLayers(player&,gegenstand&)

If the Layer vertauscht get is not More possible whom player Sprite To moving. has someone a Idea I wrong make?

Sincerely,
Sven
 
04/19/04  
 



Hello Sven,

with my ausgiebigen Tests klappte everything to content.
Perhaps can you me whom betreffenden Source to that testing send?
will be SwapSpriteLayers() today evening otherwise over again testing.

Sincerely,
Frank
 
04/19/04  
 



Hello over again,

SwapSpriteLayers() works integrally normal, though must the first Sprite to not uses go. the first generierte Sprite position a conscience Sonderstatus dar, because it the Endesprite is in the row all verketteten Sprites. tricky ?
OK, my Tipp: at that using of SwapSpriteLayers() simply one small unsichtbares Sprite first thing Generate, then Gibts no Problems More.

Sincerely,
Frank
 
04/19/04  
 



Hi,

it was still one ziemlicher Bug in the function... 8-((
in the next ProSpeed-Version is the Error but fixed.

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.521 Views

Untitledvor 0 min.
funkheld01/08/14

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