2D Collisions

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
zxtunes.com
Enthusiast
Enthusiast
Posts: 375
Joined: Wed Apr 23, 2008 7:51 am
Location: Saint-Petersburg, Russia
Contact:

2D Collisions

Post 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?
y3an
User
User
Posts: 56
Joined: Sun Mar 09, 2008 6:06 am

Post 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"
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

I prefer includes...

why not write some nice procedures and add it to the codearchive and to the PBOSL?
oh... and have a nice day.
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

Kaeru Gaman wrote:I prefer includes...
+1 :wink:
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Post Reply