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

Pages: [1]
1
SFML projects / Re: First forray into SFML - a Tic-Tac-Toe game
« on: April 15, 2012, 03:52:56 am »
Well guys, I just updated my tic-tac-toe game to change its interface from keyboard to simply clicking on the corresponding grid and included win conditions to the programming.

It can be downloaded here.

2
SFML projects / First forray into SFML - a Tic-Tac-Toe game
« on: February 04, 2012, 09:14:10 pm »
Quote from: "Naufr4g0"
Quote! I compiled the game for windows and it works only with numeric keys, not keypad ones.
Why don't control the game with mouse? ;)


It seemed easier for me to make it use the numeric keys as opposed to the mouse at the time.  I'll probably give the program mouse support in a later revision.

3
SFML projects / First forray into SFML - a Tic-Tac-Toe game
« on: February 04, 2012, 08:25:21 pm »
Quote from: "Haikarainen"
Umm, why did you put the numbers in reverse y-order as to the numpad on 99% of the keyboards?


The program isn't really using the numpad; instead, it is using the number keys above the letters.

4
SFML projects / First forray into SFML - a Tic-Tac-Toe game
« on: February 04, 2012, 03:15:27 am »
I'm not sure whether I should post this here since it's not really a long-term project, but I couldn't find another place to post this.

I just started out in game programming as well as SFML and decided to practice by first writing a tic-tac-toe game.  It works by pressing the number of the square with the number on the keypad.  The numbering starts from left to right, up to down in the following manner:

1 | 2 | 3
4 | 5 | 6
7 | 8 | 9

I compiled it in Linux, but I have the source code and the required images for it in the following link if you guys wish to try compiling it in your own system.

http://www.mediafire.com/?oih9ez1yai33mcw

The program is still a bit incomplete since I have yet to make it recognize if a character wins or not.

Keep in mind that the program uses the C++0x and 2.0 SFML library.

I also have a question to ask.  Which game do you guys suggest I write after this?

5
General / problem compiling SFML 2.0 in cygwin
« on: December 22, 2011, 09:16:39 pm »
Since I have no idea of how to patch it at the moment, I posted it on the bug tracker.  Meanwhile, I'll just play around with SFML on my other system.

6
General / problem compiling SFML 2.0 in cygwin
« on: December 22, 2011, 06:23:05 pm »
When I ran the Makefile generated from cmake, I got this error.

Code: [Select]
[  1%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Clock.cpp.
o
In file included from /home/Chris/LaurentGomila-SFML-537e8c9/include/SFML/System
/Clock.hpp:31,
                 from /home/Chris/LaurentGomila-SFML-537e8c9/src/SFML/System/Clo
ck.cpp:28:
/home/Chris/LaurentGomila-SFML-537e8c9/include/SFML/Config.hpp:65:6: #error This
 operating system is not supported by SFML library
make[2]: *** [src/SFML/System/CMakeFiles/sfml-system.dir/Clock.cpp.o] Error 1
make[1]: *** [src/SFML/System/CMakeFiles/sfml-system.dir/all] Error 2
make: *** [all] Error 2


Does this mean that the current library isn't supported by cygwin at the moment?  And if that's the case, should I just try minGW instead?  I'm currently trying to do this under a 64-bit Windows 7 system, and I was able to compile the SFML 2.0 library just fine under my Linux system.

Pages: [1]