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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - woozie

Pages: [1]
1
General / Re: SFML implementing grid
« on: July 05, 2019, 11:37:00 pm »
Oh, thank you! One more question. How would i find the coordinates of the black dots if it's an image? What do I need to implement a coordinate system, which functions and module? Thanks, sorry for so much questions.

2
General / SFML implementing grid
« on: July 05, 2019, 09:16:31 pm »
Hello,

I'm trying to make a replica of a classic board game. I have created a background image and I'm trying to find specific points of that background image(the black dots). I know how to do that in Unity but I'm trying to make it work here. I'm thinking that probably isn't the best approach though. In other words if anyone has any other suggestions, feel free to correct me. I need to find the black dots and I need to create a mouse input where on release the yellow sprite would snap onto the black dots of the background image. I'm not sure if having a background image is the best way to do it (I'm thinking that drawing the entire background in SFML would probably be easier?). I don't need a full solution, just some help on the logic and what I should use.

TLDR; How would I accomplish that the yellow dot snaps onto different black dots with mouse release

Pages: [1]
anything