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

Pages: 1 ... 612 613 [614] 615 616 ... 720
9196
SFML projects / Re: Open Hexagon - challenging fast paced game
« on: November 18, 2012, 06:12:43 pm »
I have to say it again: I really like your game. ;D

83.3
45.8
20.3
18.4
6.3
4.1
5.7
Still rising! :D

I'm not sure if you've missed that in my last comment, but it would be nice if the mouse cursor gets hidden, since it's actually not needed (i.e. use window.setMouseCursorVisible(false)).

Btw: How would one import the stats, if there's another update coming?

9197
Graphics / Re: Font .loadFromFile throwing a access violation.
« on: November 18, 2012, 05:44:02 pm »
Any ideas?

Quote from: ForumRules
It is important that:
  • the code is complete, so people can test it
  • the code is as simple as possible, the best is one main() with all the code inside -- people don't want to setup a complex project just to test your code
  • the code reproduces the initial problem
Complete rules can be found here. ;)

9198
SFML website / AW: Re: Slow and aborted loading of forum pages
« on: November 18, 2012, 01:02:14 pm »
Thought I'd add half loaded page screenshot.
Yeah I get that too from time to time.

9199
SFML projects / Re: Open Hexagon - challenging fast paced game
« on: November 17, 2012, 06:01:14 pm »
Well this is a very nice game!

I really like it, but most of what you got to hear (in the beginning) is "Game...Play". ;D
I guess you really have to learn the different patters and react to them automatically, otherwise you don't really stand a chance. ;)

As for your first complete game, congrats! Not many get here and even less people get such as product such a nice game. :)

Maybe as a suggestion, you could disable the mouse cursor, since we won't gonna need it anyways.

9200
General / Re: Slow startup
« on: November 17, 2012, 12:06:21 am »
i think you have to setFrameLimit() before you create() the window.
Nope, you can set it whenever you want and it's setFramerateLimit(). ;)

9201
General / AW: Re: Handling loading of images
« on: November 16, 2012, 10:30:10 pm »
Do you load all of your images when your program first starts?
I load the resources when their needed, i.e. in the state that needs them.

If so, how do you store your images so they will be accessible to the different classes when they are needed?  I'm thinking about making a global struct to load all images into.  Is that a good way to do it, or is there a different recommended way?
I wouldn't to use any global variables.
If you're only conserne is the existance of some files, then you could simply do an integrity check at startup, i.e. check if every file exists or even better check if the checksum/md5sum match the original one. This method isn't recommended for big projects, because there would be many many files to check, which would take a while. ;)

9202
General discussions / Re: Unofficial Nightly Builds
« on: November 16, 2012, 05:33:46 pm »
How did you build the static ones for VS2012? I tried multiple times, but it never worked.
I've had no problems so far. Make sure you're using the latest CMake version (iirc 2.8.10) and then set the flags: BUILD_SHARED_LIBS=FALSE and SFML_USE_STATIC_STD_LIBS=TRUE
Builds just fine here. ;)

I used cmake like explained in the tutorial but VS2012 did not wanted to work with those files. According to cmake I could not use BUILD_SHARED_LIBS and SFML_USE_STATIC_STD_LIBS, which seems logical. CMAKE_BUILD_TYPE was Release, but that seems logical too, then build it with VS2012 without any error (Debug and Release), setup VS2012 to work with those files (with SFML_STATIC defined) and nothing but errors.
I could try to build it again and post the errors if you wish to have a closer look.
I don't have any problems, so if you want to figure out what goes wrong on your end, you should open a new thread, since this wouldn't have anything to do with my Nightly Builds.

In any case, thanks for the files  now I can at least try some VS2012 to compare.
I'm glad, that I could help out. :)

9203
General discussions / Re: Unofficial Nightly Builds
« on: November 16, 2012, 12:44:40 am »
Would you mind sharing your batch scripts with us exploiter?
Pretty please. ;D
I'm usually all for sharing, but there are multiple reasons I don't want to share the batch scripts directly.
If you know how to handle the command line, you essentially can write a batch script on your own. Since working with the command line is an essential step in effectively working with different applications, one should have to learn it.
Writing a batch script is also to some extend programming and since the main idea behind programming isn't strictly language specific, the process of writing a batch script adds to the overall experience in programming.
And the more rational reason is, that most of the involved code is setup specific. I've setup my applications and directories in a special way, so if I'd just give out the script, you'd still need to adapt some parts.

The batch script essentially setup the compiler environment variable, updates the source directories with git, then invokes CMake, runs the compiler, changes the CMake settings, builds, etc. and at the end everything gets automatically 7zipped.

9204
General / Re: Why no 64bit SFML2 on Windows?
« on: November 16, 2012, 12:34:49 am »
These nightly builds may be of help: http://en.sfml-dev.org/forums/index.php?topic=9513.0;topicseen
Keep in mind though that I only support Visual Studio 2010 and 2012, but unless you own a paid version of Visual Studio 2008, I don't see a reason not to upgrade to at least 2010. ;)

9205
General / AW: Re: How do i put icons at my application?
« on: November 15, 2012, 11:27:02 pm »
Also keep in mind that this will only change the icon at runtime, but the application icon in for example the explorer won't change. You'd have to set this in your IDE. ;)
... which includes the Win7 taskbar icon...

9206
General / Re: Slow startup
« on: November 15, 2012, 11:24:12 pm »
Yeah I guess its OS related at which point in time the window gets fully displayed. Just insert some "press any button to start" functionality into your pong.

9207
SFML projects / AW: Re: Fractal - Mandelbrot Set
« on: November 15, 2012, 09:53:44 am »
You say this is pure mathematics?
Yes, unless you want to go all philosophical, then you could ask yourself where the math comes from and how it can be so complex and yet still beautiful... :D

9208
General / AW: Storing a list of resolutions as an array?
« on: November 15, 2012, 08:22:53 am »
You can leave it as is, since it will automatically choose 32 which is common value.

9209
General / Re: How do i put icons at my application?
« on: November 15, 2012, 12:48:49 am »
I have only the express version of visual studio, so i cant use resources.
Yes you can! You simply have to write the .rc file on your own, without the resource editor. ;)

Yes, i use renderwindow. But where in the code should i write so my program knows where to load the icon, and what can i write in the 3rd parameter of sf::Window::SetIcon?
Load the image into a sf::Image, then pass its size (width & height) as the first two parameters and for the third one: image.getPixelsPtr().

9210
General / Re: Storing a list of resolutions as an array?
« on: November 15, 2012, 12:29:20 am »
Thanks a ton though! sf::VideoMode would work, any specific reason you chose sf::VideoMode over sf::Vector2u?
Well sf::VideoMode is what you'll have to apply to your window, once you'd change the resolution, thus you'd could use it directly instead of copying the values of the sf::Vector2u first into a sf::VideoMode. On top of that you can also directly check if the resolution is actually a valid one for the current PC/monitor (if(vec[2].isValid())).

Pages: 1 ... 612 613 [614] 615 616 ... 720
anything