Questions tagged [html]
64 questions
Score of 1
0 answers
324 views
How to port web-based video game to other consoles?
I'm rather new to video game development, as I have only released one indie game on the web. Every time I have demonstrated the game at a public event, it has always received some kind of reception. ...
- reputation score 131
Score of 0
0 answers
121 views
How to add an HTML + CSS overlay to a DirectX app?
I'm looking for a way to render html and css elements within an executable as an overlay. There are programs today made in electron such as Blitz or even the best known Discord. They do overlay within ...
- reputation score 1
Score of 0
1 answer
190 views
Web application for efficient placement of blocks
Task: to develop a function that efficiently places rectangular blocks in rectangular 2D container. The location of the blocks in the container should be as dense as possible in order to rationally ...
- reputation score 1
Score of 0
1 answer
155 views
Reward System For HTML Game
i am new to coding and have started a little clicker game and right now im working on a reward system for when the players click amout reaches a certain value. i have figured out how to make one ...
- reputation score 9
Score of -4
1 answer
137 views
Why wont my code work
I have just started on a new short game and i am trying to figure out how to make a reward when i reach a certain value I expect that the counter starts at zero, and each time the button is clicked it ...
- reputation score 9
Score of 1
1 answer
225 views
How do I react to a variable having reached a certain value?
I am a new coder and im trying to learn html. i have started working on a clicker game but im trying to figure out how to give a reward when my total clicks var has reached a certain value. the reward ...
- reputation score 9
Score of 0
0 answers
127 views
Handle roads following in a javascript game
In a browser game made in HTML5/Javascript, I would like to handle the move of units in real-time. But units would have to follow some predefined roads... Canvas seems better than svg to handle ...
- reputation score 1
Score of 0
1 answer
1571 views
Technology behind retrogames.cc video games
What is the technology used in embedding the games on the retrogames.cc site? I managed to see an HTML tag, but I don't know how they are inserted, are they simulators of real games?
- reputation score 103
Score of 0
0 answers
284 views
How to prevent repl.it WebSocket from going to sleep?
I have a WebSocket hosting on repl.it But when the repl sleeps, the WebSocket does as well. My friends told me to have a pinger to ping the site. It doesn't work. They told me to fetch the server. ...
- reputation score 123
Score of 1
1 answer
2440 views
2D moving objects in angle
Im making simple 2D space shooter with use of html5 and JavaScript. The idea is simple, shoot down as many aliens as you can. I made it to the point where I have player which can move and rotate, but ...
- reputation score 13
Score of 0
1 answer
288 views
How do you make html elements not blurry
I was making a html game and all the elements are blurry is there a fix to this? I use css but it makes it blurry Code ...
- reputation score 3