| |
|
|
| 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 |
|
|
| |
|
|
|
| Hi,
here first Results... piloting The bee by the labyrinth!
PacBiene.zipper download (32 KB)
Greeting, Frank |
|
|
| |
|
|
|
| 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 |
|
|
| |
|
|
|
| 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 |
|
|
| |
|
|
|
| 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 |
|
|
| |
|
|
|
| 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 |
|
|
| |
|
|
|
| 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. |
|
|
| |
|
|
|
| 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 |
|
|
| |
|
|