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

Pages: [1]
1
Thanks Jesper, I will comment that flag in my Makefile so that I can remember later :)

Best regards,
Pedro ;)

2
Merci Laurent, that solved the problem :D

But is that like a Windows-only flag, or can I keep it afterwards if I want to compile the game to other platforms?

Best regards,
Pedro ;)

3
Hey guys ;)

So, my name is Pedro and I am a portuguese developer. I love SFML because of its simplicity and ease of use for game development purposes (I used to develop games in XNA until Microsoft discontinued it and then I moved to HTML5 and JavaScript gaming but it is not as good as C++ in terms of performance). This is my first post in the forum and it starts with a simple problem...

I use MinGW as my toolchain for C++ and Sublime Text as my code editor. I have been reading the official SFML Game Development book and everything works smoothly. The program compiles into object files and then links with the required libraries through a Makefile but when I run the compiled game, a command prompt window opens. I do not mind that at all but I have read on some posts that sfml-main can be linked to the compiled game because of the entry point but it still opens the command prompt first and then the game window.

I am using GCC 4.8.1 with SFML 2.1.

Is it normal to open up like that or is there something that I am missing?

Thanks in advance and best regards,
Pedro ;)

Pages: [1]
anything