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 - James A

Pages: [1]
1
General / Re: Issue with SFML Game Development book example
« on: September 02, 2017, 01:17:07 am »
So when you run it in debug mode, do you get key press events?
Yes. I changed the handlePlayerInput function to print what key was pressed, however, as I said, the circle is not doing anything.

2
General / Re: Issue with SFML Game Development book example
« on: September 01, 2017, 11:21:45 am »
Should work fine. What's your OS?
My OS is Windows 10.

3
General / Issue with SFML Game Development book example
« on: September 01, 2017, 08:23:00 am »
Hi,

I am reading through 'SFML Game Development' and I was up to the first example - getting a player to move a circle with WASD. Unfortunately, after going through the steps, when I ran my code the circle did nothing. Furthermore, I ran the example off github and It didn't do anything either. My goal is to get this to work. Do you have any advice?

Github links:

https://github.com/SFML/SFML-Game-Development-Book/blob/master/01_Intro/Include/Book/Game.hpp
https://github.com/SFML/SFML-Game-Development-Book/blob/master/01_Intro/Source/Game.cpp
https://github.com/SFML/SFML-Game-Development-Book/blob/master/01_Intro/Source/Main.cpp

4
General / SFML button example
« on: July 03, 2017, 08:54:00 am »
I've been looking for a way to create a clickable button in SFML, and I came across Rect::Contains. Can somebody give a quick example of how it is used?

5
General / Re: SFML custom make issues
« on: July 03, 2017, 02:47:03 am »
 ??? Probably should have figured that out. Thanks for your help, I have converted my CLI Minesweeper program to a GUI.

6
General / Re: SFML custom make issues
« on: July 02, 2017, 12:57:15 am »
CMakeFiles
doc
examples
lib
src
tools
CMakeCache.txt
cmake_install.cmake
Makefile
SFML.cbp
SFML.layout

7
General / Re: SFML custom make issues
« on: July 01, 2017, 11:59:17 am »
Sorry, I wasn't aware :). I downloaded the source code, and went through the installation instructions on the website. I used cmake gui, selected the source, where to build, and I finished up the cmake process. After that I looked up a tutorial to get it to work with code blocks and I had to link the include directory, but it wasn't present.

8
General / Re: SFML custom make issues
« on: June 30, 2017, 12:17:50 am »
Make install did not work.

9
General / SFML custom make issues
« on: June 29, 2017, 11:50:52 am »
Hi there

I just built SFML for 32 bit linux and everything seemed to be ok till I realised there was no /include folder in the final product. I need the /include to make SFML word with codeblocks. Help?

Pages: [1]