Page 1 of 1

2D Collisions

Posted: Sun Jul 06, 2008 3:25 pm
by zxtunes.com
2D collision by a forum are in demand.

By the way and why them to not include in standard functions PB?



There there could be such functions (the majority are already written and is in Code Archive and on forum):

1. Point to Line
2. Point to Triangle
3. Point to Poligon
4. Point to Circle
5. Line to Line
6. Poligon to Poligon
...

your offers?

Posted: Sun Jul 06, 2008 4:42 pm
by y3an
Such library can be intresting to write.

I have discovred includefiles ( .pbi ) nearly, it's very usefull with macros.
It can be very usefull for someone want to go fast in certains problems of the game on his mind.

Make this kind of lib free for use in a community is very usefull, but a nattive command is not funny. You cant play with it and possibly transform it for an optimized use in your specific prog.

With a nattive function like that, the programming pleasure is not the same.

But maybe i have not understand what you mean.


However, "compile" all that stuff can be intresting for "personal experience"

Posted: Sun Jul 06, 2008 4:44 pm
by Kaeru Gaman
I prefer includes...

why not write some nice procedures and add it to the codearchive and to the PBOSL?

Posted: Sun Jul 06, 2008 4:58 pm
by Psychophanta
Kaeru Gaman wrote:I prefer includes...
+1 :wink: