Hi my name is Vedran i come frome Croatia...
I am beginner in C++ but i have experience with Allegro,AS 3.0,Flixel,python,pygame...xD
My latest mini game writen(ported) in Action Script 3 is called Suicide Is Not The Answer,play here -> http://www.swfcabin.com/open/1271434497
Now i want to learn SFML but i have problems with collision!!!
Can someone send me link for basic collision?
~tnQ
SFML and Collision
Moderator: Coders of Rage
- MrDeathNote
- ES Beta Backer
- Posts: 594
- Joined: Sun Oct 11, 2009 9:57 am
- Current Project: cocos2d-x project
- Favorite Gaming Platforms: SNES, Sega Megadrive, XBox 360
- Programming Language of Choice: C/++
- Location: Belfast, Ireland
- Contact:
Re: SFML and Collision
Collision isn't anything to do with SFML, the c++ code for collision is common to all api's. What kind of collision detection do you need? Axis aligned bounding box, oriented bounding box, circular collision, pixel perfect? Until we know what kind you need it's hard to give advice, you should check out the education index anyway http://elysianshadows.com/phpBB3/viewto ... f=6&t=4257WedranB wrote:Hi my name is Vedran i come frome Croatia...
I am beginner in C++ but i have experience with Allegro,AS 3.0,Flixel,python,pygame...xD
My latest mini game writen(ported) in Action Script 3 is called Suicide Is Not The Answer,play here -> http://www.swfcabin.com/open/1271434497
Now i want to learn SFML but i have problems with collision!!!
Can someone send me link for basic collision?
~tnQ
http://www.youtube.com/user/MrDeathNote1988
"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup
"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup
Re: SFML and Collision
I think i need bounding box collision! (:MrDeathNote wrote:Collision isn't anything to do with SFML, the c++ code for collision is common to all api's. What kind of collision detection do you need? Axis aligned bounding box, oriented bounding box, circular collision, pixel perfect? Until we know what kind you need it's hard to give advice, you should check out the education index anyway http://elysianshadows.com/phpBB3/viewto ... f=6&t=4257WedranB wrote:Hi my name is Vedran i come frome Croatia...
I am beginner in C++ but i have experience with Allegro,AS 3.0,Flixel,python,pygame...xD
My latest mini game writen(ported) in Action Script 3 is called Suicide Is Not The Answer,play here -> http://www.swfcabin.com/open/1271434497
Now i want to learn SFML but i have problems with collision!!!
Can someone send me link for basic collision?
~tnQ
- MrDeathNote
- ES Beta Backer
- Posts: 594
- Joined: Sun Oct 11, 2009 9:57 am
- Current Project: cocos2d-x project
- Favorite Gaming Platforms: SNES, Sega Megadrive, XBox 360
- Programming Language of Choice: C/++
- Location: Belfast, Ireland
- Contact:
Re: SFML and Collision
Axis aligned or oriented? Axis aligned bounding box is pretty simple and theres a great topic already here about it. Heres a link http://elysianshadows.com/phpBB3/viewto ... art=999999WedranB wrote:I think i need bounding box collision! (:MrDeathNote wrote:Collision isn't anything to do with SFML, the c++ code for collision is common to all api's. What kind of collision detection do you need? Axis aligned bounding box, oriented bounding box, circular collision, pixel perfect? Until we know what kind you need it's hard to give advice, you should check out the education index anyway http://elysianshadows.com/phpBB3/viewto ... f=6&t=4257WedranB wrote:Hi my name is Vedran i come frome Croatia...
I am beginner in C++ but i have experience with Allegro,AS 3.0,Flixel,python,pygame...xD
My latest mini game writen(ported) in Action Script 3 is called Suicide Is Not The Answer,play here -> http://www.swfcabin.com/open/1271434497
Now i want to learn SFML but i have problems with collision!!!
Can someone send me link for basic collision?
~tnQ
http://www.youtube.com/user/MrDeathNote1988
"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup
"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup