Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Are you using it on desktop or mobile?

Desktop. Mac to be specific. I do see the menu and I can change the color of the background, but I can't see the map or player

(1 edit)

It's supposed to look like the cover image ( I am using FireFox on Windows). On Android the map and player don't display properly (textures look skewed ). I wrote the renderer from scratch last night, so I am probably messing up an order of operation or not calculating byte offset properly somewhere


Send me a screenshot of the console if you can, usually it will throw up errors there if you setup opengl options incorrectly.

Haha, that sounds like a fun issue to debug. It doesn't look like a rendering issue, but I'm not sure. It works fine in Chrome, though.

Yep, was using a vec4 for color in the C++ code and was using a vec3 in the shader code.

Oh and I was changing the element buffer object data without a VAO bound. https://www.khronos.org/opengl/wiki/Vertex_Specification says you should not, though it still seems to work just fine everywhere I could test.