English
Forum

SetBackgroundAutoCollision(...)

 
Hello together,

momentarily bid ProSpeed in things Hintergrundskollisionen Yes not yet plenty. the should itself but Change, with:

SetBackgroundAutoCollision(H,M,F)

H is the Spritehandle
M is a lever on a Maskenbitmap, any black spots hierin are of Sprite begehbar, any others colours mean, the the Sprite not hergehen can.
F is a Flag, which certainly, what automatically happens, if the Sprite on one not-schwarzes Pixel in the Maskenbitmap stößt.
? Happen? are me yet following invaded:

0 = no AutoCollision
1 = Sprite remaining stand
2 = Sprite kehrt x-axis circa
3 = Sprite kehrt y-axis circa
4 = Sprite kehrt x and y-axis circa
5 = Sprite becomes deleted (DeleteSprite)

If you yet others important ? Happen? to occur, would I glad, if your tappt im dunkeln here posting. time see what you yet sinnvolles falls in...

Greeting, Frank
 
04/19/04  
 



Hi,

here first Results...
piloting The bee by the labyrinth!

PacBiene.zipper download (32 KB)

Greeting, Frank
 
04/19/04  
 



Hi,

1 Flag appeared me yet meaningfully:

the Sprite should try itself moreover into festgelegte direction To moving. means, the itself the Sprite z.B. on the Wand along moving if it on a senkrechte Wand meets but the Y-movement the Sprites to supra or under goes.

so could one rollende stones The down entrapments or ähnliches release !

mfg Moritz
 
04/19/04  
 



Hello Moritz,

The festgelegte direction is Yes occupied, d.h. there is still one Hinderniss !!! How should I because check, where the Sprite turn off should ? do you know a Solution ?

The ? Happen? 2 and 3 having at testing fail. therefore emerged situations, in the itself the Sprite always deeper into Wand bohrte, is nothing To make.

Flag 4 sees but genial from, I have balls generiert, The through one chaotisches Felsensystem very realistic herumgesprungen are. The Programming hieran is not yet integrally completed.

Flag 5 have I not yet began, beautiful would it, if to the Delete another extra Animation run out could, z.B. a explosion.

Greeting, Frank
 
04/19/04  
 



Hi,

small example:

One Sprite moving itself on the X-axis with 2 Pixel, on the Y-axis with 3. now meets the Sprite on a waagerechten ground ! now can it not More on the Y-axis Fortbewegen because the next position one Schwarzes Pixel is. now müsstest You Verify whether it itself but yet on the X-axis can move, means 2 Pixel right Verify whether it white is. if so, moving itself the Sprite to right. the should each Durchlauf examined go, if the ground z.B. at the end is moving itself the Sprite again down.

so could one loosly Graphics, senkrechte or round plains along rumble let.

white not very whether I the now verständlich rübergebracht have, hears itself but theoretical not very difficult on

mfg Moritz
 
04/19/04  
 



Hi Moritz!

having already understood, How You the mean.
clear hears itself the theoretical slight on, is it useful but not...
the Sprite should means always a urge down having, if there no Hinderniss is, correctly.. the can you but hereafter rather in Profan make, in eachone Loop setting You by MoveSprite the Sprite again deeply down. If there one Hinderniss is, becomes the Sprite there not hingehen can. The X axis can you too over ands over again to right settle. This will with graden Wänden slight To make his, with bergigen Landscapes too. only with Überhängen we The whole thing failure, this is the trouble...
well schaun me time, what itself make can...

Greeting, Frank
 
04/19/04  
 



Hi Frank,

moreover falls me the Topic Schwerkraft so straight properly
one. Stell you still time on a Turm, The Turm has one
überstehendes housetop. stops a ball over the railing and
let it go. The ball becomes guaranteeing not to OBEN
fly, separate ehr down entrapments, means can the ball
neither by the housetop fly. Trift the ball now on
one Hinderniss, with the movement to under, becomes the ball
now not X and Y direction complete into sky
zurückfliegen, separate ehr try, itself into X Achste
weiterzubewegen, means to left or right rumble.
Vieleicht is of these reference point Yes some plainer.
 
04/19/04  
 



Hello Thorsten,

integrally so far goes SetBackAutoCollision() not yet. still weg yet one Springball-effect (only without Gravitation), 4 Rollball-effects (To eachone Page of/ one) and a animiertes Delete the Sprites. Also becomes with eachone Kollision one Wave abgespielt, if desired.
what in future yet comes, standing still in whom Sternen.

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

3.344 Views

Untitledvor 0 min.
iF07/08/11

Themeninformationen

this Topic has 1 subscriber:

unbekannt (8x)


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