Gamestudio Links
Zorro Links
Newest Posts
Z9 getting Error 058
by k_ivan. 04/25/26 19:13
ZorroGPT
by TipmyPip. 04/25/26 16:09
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 3,421 guests, and 19 spiders.
Key: Admin, Global Mod, Mod
Newest Members
valino, juergenwue, VladMak, Geir, ondrej
19209 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
2D Collision #349699
12/10/10 14:25
12/10/10 14:25
Joined: Apr 2008
Posts: 144
Germany | Niedersachsen (Lower...
Roxas Offline OP
Member
Roxas  Offline OP
Member

Joined: Apr 2008
Posts: 144
Germany | Niedersachsen (Lower...
Heya people

I wondered if you might have an idea how 2D collision in 3D Gamestudio works. Do i have to make a special layer with a special color or something to make the player realize that he won't be able to pass a wall for example?

I have really no idea how it works, hope you can help me, because i'd like to make a mini game in 2D

thanks in advance, as always.

greetz

Re: 2D Collision [Re: Roxas] #349701
12/10/10 14:39
12/10/10 14:39
Joined: Dec 2008
Posts: 271
Saturnus Offline
Member
Saturnus  Offline
Member

Joined: Dec 2008
Posts: 271
This function might help you:
http://www.conitec.net/beta/c_intersect.htm

However, it's not available in the public version yet. You have to wait until the new version gets released.

Re: 2D Collision [Re: Saturnus] #350109
12/13/10 19:57
12/13/10 19:57
Joined: May 2009
Posts: 5,377
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,377
Caucasus
Just look into AUM magazine, there was a great workshop about 2D games and making collusions. Good luck.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: 2D Collision [Re: 3run] #350204
12/14/10 15:27
12/14/10 15:27
Joined: Dec 2008
Posts: 605
47°19'02.40" N 8°32'54.67"...
hopfel Offline
User
hopfel  Offline
User

Joined: Dec 2008
Posts: 605
47°19'02.40" N 8°32'54.67"...
For a jump n' run or something like that I advice you to make
a layer (which is invisible in your game) with spezial colors
and then you can use the pixelfunctions to simulate collisions.
That's the way it's discribed in the AUM.

Then you can use different colors for Whater etc. also, and thats very useful,
just a bit slow, and if you want to make collisions with enemies you have to
look for another solution.
(just painting with pixel_to_bitmap on the collisions-bitmap over the enemies is too slow)


Hilf mir, dir zu helfen!

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