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

Pages: [1]
1
Feature requests / sf::RenderTexture <-- Colorkey ( SFML2.0)
« on: January 24, 2012, 10:51:57 am »
Hi there,  in my rpg tile game i started having troubles with low performance caused by huge maps,
instead of iterating containers (32x32) i just created one texture with all map-ground sprites being drawn on it, worked perfectly
but theres a problem with the second surface of my map - objects which are drawn on Map surface,
sf::RenderTexture doesnt read Colorkey, and when i render my objects, map is hidden by the (255,0,255) colorkey

i think that on creating rendertexture we should be able to choose a color that we dont want to render, this function is only able to do with sf::Image now ;/

@edit
how stupid i am, after i wrote this post, i managed to apply objects just on the map render texture, oh damn

2
General / Why is SFML 2.0 crashing?
« on: January 04, 2012, 05:28:33 pm »
http://www.speedyshare.com/file/qgc7X/download/SFML2.0.rar

i built it using Cmake

heres the working 2.0 sfml with all the include files and libs
with  -d prefix ( for debug)

3
General / Why is SFML 2.0 crashing?
« on: January 04, 2012, 04:54:28 pm »
can anyone here please upload his working SFML dynamic libs with include folder? ;/

im on Win7 64x and using VC10

@Down

i hate CMake :{
but looks like ill have to compile it by self

4
General / Why is SFML 2.0 crashing?
« on: January 03, 2012, 11:55:38 pm »
i did just like SFMLCoder, but jingle balls...
 it sometimes shows me the red window
but everytime i quit that im getting BEX errors and sometimes on running, drivers crashes :< i cant even sleep like that, having fact that it doesnt work in my mind

5
General / Why is SFML 2.0 crashing?
« on: January 03, 2012, 11:16:09 pm »
hi, since i download the 2.0 SFML i cant do anything
even the base code framework makes BEX crashes, ATI driver crashes,
bluescreens, satan screams and squeals


Code: [Select]

#include <SFML\Graphics.hpp>

#pragma comment(lib,"sfml-system-d.lib")
#pragma comment(lib,"sfml-window-d.lib")
#pragma comment(lib,"sfml-graphics-d.lib")

int main()
{
    sf::RenderWindow App(sf::VideoMode(800, 600, 32), "SFMLtest");
sf::Event Event;

App.SetFramerateLimit(20);
    while (App.IsOpened())
    {    
        while (App.PollEvent(Event))
        {
            if (Event.Type == sf::Event::Closed)
                App.Close();

            if (Event.Type == sf::Event::KeyPressed)
            {
                if (Event.Key.Code == sf::Keyboard::Escape)
                    App.Close();
            }
        }
        App.Clear(sf::Color(200, 0, 0));
        App.Display();
    }
    return EXIT_SUCCESS;
}

its Debugging mode with SFML_DYNAMIC set
VC10

i downloaded latest include files from github
and libs/dlls  compilted by
http://www.sfml-dev.org/forum/viewtopic.php?t=6548

i just dont know what to do with that, dont wanna go back to 1.6

Pages: [1]
anything