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

Pages: [1]
1
Feature requests / Re: Rounded Rectangle
« on: May 02, 2013, 01:16:39 am »
Why would there be one?
Because I think it's common shape? I know, you can do it on your own (not so hard), but why we need to discover wheel every time? I think it could be useful (mainly for newbies).

2
Feature requests / Rounded Rectangle
« on: May 01, 2013, 09:36:09 pm »
Hi,
Why there is not a RoundedRectangle shape in SFML ?  :)

3
DotNet / Re: Thread bug ?
« on: May 01, 2013, 03:16:26 pm »
By the way, is it better to add all Draw logic into thread?

4
DotNet / Re: Thread bug ?
« on: May 01, 2013, 03:00:25 pm »
Ehm, thanks  :) I thought It was only C++ (threads) related tutorial.

5
DotNet / Thread bug ?
« on: May 01, 2013, 02:54:52 pm »
Hello,
there is probably bug in SFML (or only .net binding?), it can't draw things which were loaded in thread before (like text, textures etc.). I debugged this and It reach app.Draw(text); (it's loaded fully) but It can't draw it on screen.

using SFML.Graphics;
using SFML.Window;
using System;
using System.Threading;

namespace SFMLThreads
{
    class Program
    {
        static void Main(string[] args)
        {
            RenderWindow app = new RenderWindow(new VideoMode(800,600), "SFML Threads Test");
            app.SetFramerateLimit(60);
            app.Closed += (s,e) => app.Close();

            //Create and start thread
            Text text = null;
            new Thread(() =>
                {
                    text = new Text("test", new Font("C:\\Windows\\Fonts\\Verdana.ttf"), 25);
                }).Start();

            while (app.IsOpen())
            {
                app.DispatchEvents();

                app.Clear();
                if (text != null)
                {
                    app.Draw(text);
                }
                app.Display();
            }
        }
    }
}

6
SFML website / Re: New website
« on: May 01, 2013, 02:19:30 pm »
What about creating some comparison table, for example: SFML vs SDL vs allegro and more... Tell people why is SFML better.

7
General discussions / Re: A new logo for SFML
« on: May 01, 2013, 01:47:57 pm »
What about creating a new page on sfml website where could people download sfml logo/splash screen logos for their games? Also someone could create some banners with SFML subject  ;) These two things can make SFML more popular.

8
General discussions / Re: SFML 2 and its new website released
« on: April 30, 2013, 01:30:00 am »
Hi,
Thanks for v2.0, nice!  :)

BTW: I am using .net binding but you have mistake on website in .net 32bit binding link - sfml-dev.org/download/sfml.net/SFML.Net-2.0-32bits.zip

Pages: [1]
anything