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

Pages: [1]
1
DotNet / Re: Disable resizing window in SFML.NET
« on: June 11, 2014, 10:00:24 am »
well ... my problem was somewhere else. I knew that i can overload RenderWindow constructor, i knew that there are Window.Styles but i didnt know that i can use more that one style. I was trying to use styles dont worry. I didnt want to be defending or something, i was jus little annoyed.

2
DotNet / Re: Disable resizing window in SFML.NET
« on: June 05, 2014, 10:36:49 am »
okay i dont have solution for this. If you want, lock this thread. I didnt figure it out, i dont have time for deep studying SFML, im doing this only for fun.I wanted straight answer and i didnt get it. So thanks for nothing i guess. I will try unity, it looks like that community about unity is much opened against community about SFML. Nothing personal

3
DotNet / Re: Disable resizing window in SFML.NET
« on: June 03, 2014, 05:24:01 pm »
obviously i didnt found solution for my problem. If i did, i wouldnt be writing this post for sure :) Okay okay ... unless you didnt helped me with my problem, i presume that you love riddles and dont love straight answers :) so at least please point me to the right direction . Thanks ! :)
edit : look, i read tutorials. I tried this with C++ and it works lovely. But with C#, well ... here i am on forums

4
DotNet / Disable resizing window in SFML.NET
« on: June 03, 2014, 11:58:55 am »
Hello

im wondering how can i disable resizing window in SFML.NET . I have tried many websites but i didnt find suitable answer.

im working with basic class Game, which is almost in all tutorials on web

class Game
    {
        RenderWindow window;

        public void start()
        {
            window = new RenderWindow(new VideoMode(800,600),"title");
            window.SetVisible(true);
            window.Closed += new EventHandler(onClose);

            while (window.IsOpen())
            {
                window.DispatchEvents();
                window.Clear();
                window.Display();
            }
        }

        void onClose(object sender, EventArgs e)
        {
            window.Close();
        }
    }
I think resizing window is pretty undesirable in game development, so im trying to solve this on very beginning of develop my first game :)
Im begginer with SFML, but i made few games in  XNA and I know C# very well.
can anyone help me ?
Thanks for answers

Pages: [1]
anything