Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Write some more 2D functions  (Read 3962 times)

0 Members and 1 Guest are viewing this topic.

MahanGM

  • Newbie
  • *
  • Posts: 18
    • Yahoo Instant Messenger - mahan_pro2000
    • View Profile
    • http://www.df-gamez.com
Write some more 2D functions
« 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
This is a land of broken hearts, where bullets shatter dreams (50 Cent)

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Write some more 2D functions
« Reply #1 on: February 26, 2011, 08:21:11 pm »
Nop.
Laurent Gomila - SFML developer

MahanGM

  • Newbie
  • *
  • Posts: 18
    • Yahoo Instant Messenger - mahan_pro2000
    • View Profile
    • http://www.df-gamez.com
Write some more 2D functions
« Reply #2 on: February 26, 2011, 08:23:30 pm »
So straight !. Anyway thanks  :(
This is a land of broken hearts, where bullets shatter dreams (50 Cent)

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Write some more 2D functions
« Reply #3 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.)
SFML / OS X developer

MahanGM

  • Newbie
  • *
  • Posts: 18
    • Yahoo Instant Messenger - mahan_pro2000
    • View Profile
    • http://www.df-gamez.com
Write some more 2D functions
« Reply #4 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 .
This is a land of broken hearts, where bullets shatter dreams (50 Cent)

panithadrum

  • Sr. Member
  • ****
  • Posts: 304
    • View Profile
    • Skyrpex@Github
    • Email
Write some more 2D functions
« Reply #5 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!

MahanGM

  • Newbie
  • *
  • Posts: 18
    • Yahoo Instant Messenger - mahan_pro2000
    • View Profile
    • http://www.df-gamez.com
Write some more 2D functions
« Reply #6 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.
This is a land of broken hearts, where bullets shatter dreams (50 Cent)