SFML community forums

General => Feature requests => Topic started by: MahanGM on February 26, 2011, 07:46:52 pm

Title: Write some more 2D functions
Post by: MahanGM on February 26, 2011, 07:46:52 pm
Hi. I wonder if some functions for 2d using such as point_direction for getting a direct degree of rotation between 2 points will be written in SFML. I just said an example but I mean more power full functions for 2d use.

Thanks in Advance.  :D
Title: Write some more 2D functions
Post by: Laurent on February 26, 2011, 08:21:11 pm
Nop.
Title: Write some more 2D functions
Post by: MahanGM on February 26, 2011, 08:23:30 pm
So straight !. Anyway thanks  :(
Title: Write some more 2D functions
Post by: Hiura on February 26, 2011, 09:44:42 pm
There are a lot of stuff like that on the wiki.

(Personal opinion : the scalability and power of SFML is not based on high-level features, on the contrary, but on the ability to create them easily.)
Title: Write some more 2D functions
Post by: MahanGM on February 27, 2011, 11:37:55 am
I know the purpose of sfml is not game making of course. but it was some personal needs that I asked  :D .
Title: Write some more 2D functions
Post by: panithadrum on March 01, 2011, 11:44:02 pm
When I was novice I wanted also to have everything in the same library... which is not very useful.

Functions like point_direction (Game Maker? :P) can be easily implemented in a header, and copy that header to your projects (along with more functions).

Greetings!
Title: Write some more 2D functions
Post by: MahanGM on March 02, 2011, 03:22:31 pm
Yup, Game Maker  :D I just said an example, Not exactly point_direction and other stuffs like move_towards and etc. I think of a class in sf namespace like sf::2DEngine  :D . Nevermind, Take it easy.