0
votes
1answer
40 views

How to use setInterval and clearInterval

I have a game that I am making and cannot seem to get the setInterval and clearInterval methods to work. When I debug it in the browser console it shows that the method is still being called over and ...
1
vote
2answers
210 views

Make perfect constant game animation using javascript

I tried different ways to make constant animations using JavaScript and HTML. The problem is that they are never perfect. If I want to move a square exactly 5 pixels every 50 miliseconds I would use ...
0
votes
1answer
143 views

What strategies can I use to update the visuals of my game to be more modern? [closed]

I'm making a browser strategy game. Now my problem is that I have a feeling that my design is dated. For now I have only used background colors and borders to make things look nice, but I have ...
0
votes
1answer
1k views

Draw user interface in OpenGL using web technologies

I am developing a desktop game in C++ and OpenGL. Frameworks I use are GLM and SFML. Since today I used the console window for debug messages. But I want to get rid of that and display debug ...