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

Pages: [1]
1
Graphics / Re: Issue with tilemap/vertex arrays tutorial
« on: June 09, 2024, 12:15:32 pm »
I found the issue...

I managed to delete this line of code:
Quote
triangles[0].position = sf::Vector2f(i * tileSize.x, j * tileSize.y);

2
Graphics / [Solved] Issue with tilemap/vertex arrays tutorial
« on: June 09, 2024, 12:02:58 pm »
Hey, I'm having the attached issue when trying to generate a tilemap from following this tutorial: https://www.sfml-dev.org/tutorials/2.6/graphics-vertex-array.php

See the attached "render error.png" for what's displayed.

I'm using vs and I don't get any build errors so I think I've set up headers etc properly.

Below is my code:
(click to show/hide)

Pages: [1]
anything