1
SFML game jam / Re: Who's going to stream ?
« on: January 31, 2014, 03:58:18 pm »
I've already begun, the jam starts in 2 minutes. The stream has great quality and I'll probably be playing music from Spotify.
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.
static void Main(string[] args)
{
RenderWindow window = new RenderWindow(new VideoMode(800, 600), "Vertex Test", Styles.Close, new ContextSettings() { AntialiasingLevel = 2 });
window.Closed += (s, e) => { window.Close(); };
VertexArray vertices = new VertexArray(PrimitiveType.Quads, 4);
vertices[4] = new Vertex(new Vector2f(10, 10), Color.Red);
while (window.IsOpen())
{
window.DispatchEvents();
window.Draw(vertices);
window.Display();
}
}