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

Pages: [1] 2
1
Graphics / Re: How to use RenderTarget?
« on: September 15, 2012, 10:31:26 am »
Thanks, I solved it.

2
Graphics / How to use RenderTarget?
« on: September 15, 2012, 03:03:55 am »
I used some older version of SFML2, where I used RenderWindow->ConvertCoords();
But in the rc I can't use that anymore, I can't find out how to use RenderTarget I can't even declare it.

Gives the error:
Quote
G:\CBprojects\PazookaCB\ingame.h|29|error: cannot declare field 'InGame::RT' to be of abstract type 'sf::RenderTarget'|
G:\SFML-2.0-rc\include\SFML\Graphics\RenderTarget.hpp|52|note:   because the following virtual functions are pure within 'sf::RenderTarget':|
G:\SFML-2.0-rc\include\SFML\Graphics\RenderTarget.hpp|206|note:    virtual sf::Vector2u sf::RenderTarget::getSize() const|
G:\SFML-2.0-rc\include\SFML\Graphics\RenderTarget.hpp|345|note:    virtual bool sf::RenderTarget::activate(bool)|
||=== Build finished: 1 errors, 0 warnings ===|

Please provide me an example.

3
General / Re: Redistribute static without Microsoft Redistribution Files
« on: September 14, 2012, 09:09:02 am »
At school using my .DLLs gives the error:

Quote
The application or DLL on path\MSVCR100.dll is an unvalid Windows-copy

Any help?

4
General / Re: Redistribute static without Microsoft Redistribution Files
« on: September 13, 2012, 05:36:23 pm »
I think I just had downloaded some sort of corrupt .dll file. I've got mine from my installation folder these work fine on my PC. Just have to test them on my school.

Thank you too.

5
General / Re: Redistribute static without Microsoft Redistribution Files
« on: September 13, 2012, 04:07:36 pm »
Apparently the searcher can't find them. //E: I found them by hand.
I've got them working on my usb now. Im going to try it tomorrow.

Thanks for all your help guys!

6
General / Re: Redistribute static without Microsoft Redistribution Files
« on: September 13, 2012, 03:29:47 pm »

Have you tried with your own DLLs (the ones installed in your C:\Windows folder)?
Have you tried with the official "Visual C++ 2010 redistributable package" from Microsoft website?

Can't find mine in C:/Windows folder. Neither in the folder where visual is installed. No redist folder.
As I stated before, I won't be able to use the package since I want to run it on schoolcomputers.

And at school we have 32bit windows, and at home I have 64bit. I didn't know/can't find more dll versions of them.

7
General / Re: Redistribute static without Microsoft Redistribution Files
« on: September 13, 2012, 02:45:53 pm »
Well the problem is; I already did put MSVCR100.dll and MSVCP100.dll (the 2 the .exe is asking for) in the same directory, where the .exe is which is on an USB stick.

Even when I run my .exe from my usb on my own PC gives the same error.

8
General / Re: Redistribute static without Microsoft Redistribution Files
« on: September 13, 2012, 12:23:22 pm »
I'm at school right now I've got the same problem with dynamically building it + the necesarry DLL files. But I get the same error as provided with my first post.

What do?

9
General / Re: Redistribute static without Microsoft Redistribution Files
« on: September 13, 2012, 12:43:54 am »
Ahh, ok thanks for clearing that up.

I'm going to try to link it dynamically, and provide those DLLs. And from the "as usually" I make up it's better to link dynamically?

10
General / Re: Redistribute static without Microsoft Redistribution Files
« on: September 13, 2012, 12:20:12 am »
I know little about the building libraries, but how do I build SFML ontop of my other build? Won't they get ambiguous?

11
General / Redistribute static without Microsoft Redistribution Files
« on: September 12, 2012, 11:55:44 pm »
Hello,

I'm using Windows 7 and SFML pre-RC build for Microsoft Visual C++ 2010 and want to test my application on other computers, like school PC's. I can't install anything on those PCs. But how do I manage this.

What I've tried:

-Release SFML staticly on /MT then when I try to compile it starts crying about multiple symbols, so I allowed multiple symbols. Then it builds fine, but when I try to run it gives the error:

Quote
The procedure entry point ??1_NonReentrantPPLLockHolder@details@concurrency@@blaball
cout not be located in the dynamic link library MSVCR100.dll

Or should  just building it on Release, static, /MD. And then include the msvcp100 and msvcr100 work?

Thanks!


12
General / Max Framerate
« on: May 24, 2012, 12:11:59 pm »
Hello,

When I'm drawing my map( 300 32x32 tiles) from a file. It goes from 3000 to 500 frames per second. Pretty big drop I know. But when I'm using the SetMaxFramerate(60) function. It goes like 59, 60, 59, 58, 61, 120, 125, 123, 60, 61, etc. The jumps to 120 makes the game really weird.

Does someone know how to fix this? Or what the problem is?

- Windows 7 64bit (laptop)
- SFML pre-RC version

13
General / How to install SFML 1.6 with Code::Blocks ?
« on: March 13, 2012, 09:57:10 pm »
I think you can better try to install v2.0 it's stable enough.

14
General / How to manage different screens?
« on: March 13, 2012, 03:34:20 pm »
Game State Pattern; this is what I was searching for. Thanks

15
General / How to manage different screens?
« on: March 13, 2012, 12:53:35 am »
Hello guys,

I just can't figure it out, what is a proper way of using multiple screens. By this I mean a flash screen, menu, in-game, options etc.

Can someone explain this to me?

Thx in advance.

Pages: [1] 2
anything