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 - lockandstrike

Pages: [1] 2 3
1
Window / Re: Resizing the Window
« on: January 25, 2014, 07:29:45 pm »
Sorry. Just never saw it. I always thought in would be in the Window Module section.

Thank you.

2
Window / Re: Resizing the Window
« on: January 25, 2014, 03:35:17 pm »
@zsbzsb Can you give me an example? I tried doing what you said and my screen just goes black.

3
Window / [SOLVED]Resizing the Window
« on: January 24, 2014, 12:04:32 am »
I am using the sf::CircleShape to create hexagons. However I want the user to be able to resize the window but when I do that the hexagons change their size. What can I do to prevent this from happen?

4
General discussions / Re: Android and iOS ports available for testing
« on: December 02, 2013, 05:38:04 pm »
I'm trying to build the android port but it is not working. Cmake says that the CMAKE_TOOLCHAIN_FILE  isn't being used by the project

5
General / Re: Point position relative to Window
« on: November 24, 2013, 04:13:58 pm »
Thank you!

6
General / Point position relative to Window
« on: November 23, 2013, 11:54:25 pm »
So I am working with hexagons and the easiest way I found to do this with SFML is set a CircleShape point count to 6. But now I'm implementing a mouse check and I needed the points position but the getPoint() function gives me the position relative to the hexagon bounding rect instead of giving the position relative to the Window. So my question is:

How do I get the point position relative to the window?

7
General / Re: An Hexagon Rect
« on: November 17, 2013, 04:50:18 pm »
Ok you have the
Rect<T>
class and what I want is the same but for an Hexagon. That is, a class that allows me to check if a vector is contained inside an hexagon instead of it checking if it is contained inside of a rectangle like with the Rect class

8
General / Re: An Hexagon Rect
« on: November 17, 2013, 02:43:45 pm »
As to the title I had anticipated that sort of response what I'm looking for is something of the like of
Hex<T>
.

The problem is in the 8th grade (at least in my country) the only thing were taught in terms of geometry is how to draw triangles using the compass. I'll study those subjects, but I would be very happy if could just give me a hint.

Lots of thanks, lockandstrike

9
General / An Hexagon Rect
« on: November 17, 2013, 02:17:38 pm »
Okay so I've seen the Rect.inl file and understood what was going on for the rect/squares but because I'm in 8th grade I don't know how to do the same for an hexagon, I just don't know the mathematical form for it. So if someone could guide me through it.

Lots of thanks, lockandstrike

10
SFML game jam / Re: SFML Game Jam 2 Preparations
« on: November 16, 2013, 12:42:11 pm »
That's cool. Two months of preparation for the single most brilliant game jam EVER

11
SFML game jam / Re: SFML Game Jam 2 Preparations
« on: November 15, 2013, 11:45:05 pm »
You're saying sooner. I thought it would be hold at the 31st of January

12
It's also important that you link them in the correct order. Like so:

g++ main.cpp -o  main -lsfml-graphics -lsfml-window -lsfml-system

13
SFML game jam / Re: SFML Game Jam Time info
« on: November 14, 2013, 11:12:46 pm »
Yeah I think it's a good day. I'll be sure to take part in this one :)

14
Graphics / Re: Problems with sf::RenderWindow::draw ()
« on: November 14, 2013, 11:09:16 pm »
As Foaly sad there is a lot going wrong there but your app is not responding due to this line of code:

a.draw (a);

You are probably looking for this:

a.draw (b);

But the text won't draw anything because you don't specify a font (At least I think SFML 2.x doesn't have a default font). Another thing is you shouldn't name your variables like a,b and c. Name them after what they are for.

15
SFML game jam / Re: SFML Game Jam Time info
« on: November 14, 2013, 06:14:26 pm »
I know this thread as sat still for a long time and I'm sorry I'm reopening it but I had something that I thought I should share.

The SFML Game Jam always starts on Friday

I don't know if its already like that but if it isn't it should start to be like so

Pages: [1] 2 3
anything