Skip to main content

Questions tagged [html]

Filter by
Sorted by
Tagged with
1 vote
0 answers
125 views

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. ...
Azariah Easey's user avatar
1 vote
0 answers
54 views

I recently submitted my HTML5/WebGL game to CrazyGames.com, but unfortunately it was rejected without specific feedback. Here’s the preview link: https://www.crazygames.com/preview/25901363-36f7-4d64-...
KingGD's user avatar
  • 11
0 votes
1 answer
95 views

Before I start my question, let me clarify that I'm not using <canvas>, I'm using <div id="canvas">, so I'...
Alex's user avatar
  • 177
0 votes
0 answers
97 views

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 ...
robert's user avatar
  • 1
0 votes
1 answer
185 views

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 ...
Назар Саханда's user avatar
0 votes
1 answer
128 views

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 ...
David Humphrey's user avatar
-4 votes
1 answer
131 views

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 ...
David Humphrey's user avatar
1 vote
1 answer
208 views

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 ...
David Humphrey's user avatar
0 votes
0 answers
84 views

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 ...
Charles Dexter Ward's user avatar
1 vote
1 answer
2k views

Purely speaking for the use of 2d. First off, redrawing the canvas on every frame seems quite inefficient. Even when you can create multiple to not redraw everything etc. CSS animations to move ...
rewfsdv's user avatar
  • 13
0 votes
1 answer
1k views

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?
alejandro's user avatar
  • 103
0 votes
0 answers
258 views

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. ...
Coder2195's user avatar
  • 123
1 vote
1 answer
2k views

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 ...
asqit's user avatar
  • 13
0 votes
1 answer
279 views

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 ...
Giuca002's user avatar
1 vote
2 answers
4k views

I'm making a game with Python, using Pygame. I want to publish my game on itch.io so that it's playable in the browser. Is there a way to do this? If so, how?
Devin Little's user avatar
1 vote
1 answer
198 views

I am looking for ways to prevent cheating on a multiplayer browser game. I saw this answer where it was mentioned that obfuscation is not an effective technique. My plan is not only to obfuscate the ...
Simon Shkolnik's user avatar
2 votes
2 answers
5k views

I'm trying to create a game in HTML canvas, but somehow it keeps flickering, I've taken a look at the tutorial and I perceived that my code is more or less similar. Can anybody help me fix this? <...
stanley355's user avatar
1 vote
1 answer
148 views

How can I set the bullets start position to shoot from the front right of the sprite? It is currently shooting from the top of the sprite. P.S. I'm doing a tutorial online with the sprite shooting ...
Rick N's user avatar
  • 9
0 votes
1 answer
223 views

I'm developing a game in JavaScript & HTML5 with CreateJS. (I doubt you'll need CreateJS experience to answer this question, though) My main game loop function is initialized and run using the ...
Eyesight Technology's user avatar
0 votes
2 answers
488 views

So I have this game and I would like to have a save function. Here is my code below: ...
Code...'s user avatar
0 votes
1 answer
369 views

I tried to follow some guides but couldn't get their functions to work in my program. What i tried is commented out in my code(the for loop). I want a working function on space press create a bullet ...
tmanrocks994's user avatar
0 votes
1 answer
410 views

Ive tried a few things but i cant get a working function if player collides with object set speed to 0( stop moving) ive tried to use the function under "game over " and change the things to make ...
tmanrocks994's user avatar
0 votes
0 answers
230 views

I was messing around with some maze stuff. I was wondering if its possible to add a character to what i have even though Im not using canvas.How do you position an html element representing your ...
tmanrocks994's user avatar
0 votes
1 answer
296 views

So i have a pretty good clicker quest system in place( click/ use spells/collect stuff etc) but im having a hard to making it a reward system. The reward should only go off once then the quest should ...
tmanrocks994's user avatar
1 vote
1 answer
463 views

So I'm testing a few things in Javascript and something I was testing was making the camera follow the player. When I move the player, instead of the dots going away from the player, they follow the ...
Luke460's user avatar
  • 13
1 vote
1 answer
313 views

I want a working next and previous button for killing monsters http://prntscr.com/o375y7 http://prntscr.com/o37609 Im new to this concept so i don't know how to go about doing this. html code(all i ...
tmanrocks994's user avatar
1 vote
2 answers
218 views

Im new to drop down menus. How can I make a working shop in html/javascript. I have this so far http://prntscr.com/o15oj7 . I want help with the selling of a material part. i know i should use if ...
tmanrocks994's user avatar
1 vote
1 answer
144 views

I'm making an RTS game using html canvas. I've made a program that randomly generates levels in order to test my pathfinding script. it divides the pathable blocks into squares so that you can apply A*...
Captain Dando's user avatar
0 votes
0 answers
103 views

My crossword is a table made with <td> tags. The input boxes are textboxes (input="text"), styled with CSS. My question is how do you get the focus to the ...
 A.J.'s user avatar
0 votes
1 answer
619 views

I want to link css file with html in Unity with the help of Power UI. I already converted css file into bytes format but it not still worked. Here is the code ...
Javed Rehman's user avatar
0 votes
0 answers
931 views

I am new to phaser. So I started working on a game but I am stuck at implementing collision detection. I want to do it between a static group(dot) and a Sprite(obs). function create(){ ...
Lakshya dubey's user avatar
1 vote
2 answers
1k views

Problem and Requirements I'm putting together a simple game that will involve an overworld map consisting of 12px x 12px square terrain tiles. These maps may be as large as 500x500 in size (so 250k ...
Nicholas's user avatar
  • 141
0 votes
1 answer
1k views

I'm new to game designing and have to create a game for my project but I keep coming across an error to do with: index.html:93 Uncaught TypeError: Cannot read property 'innerHTML' of undefined at ...
Daryll's user avatar
  • 1
0 votes
2 answers
221 views

I was wondering which for loop is less hard on the computer, and why it is Example: ...
Priswall's user avatar
1 vote
0 answers
896 views

I am making a basic game. I currently have an object (box4) that moves left and right using Keycode Events. But I want to add Gravity. I'm not sure how to go about this; everything I've found online ...
Olivia's user avatar
  • 11
1 vote
0 answers
214 views

I am new to Phaser and this is my first game with Phaser gaming framework. Am trying to find the right way of coding a grid what you see in below image In some articles is being suggested to code it ...
Ana DEV's user avatar
  • 111
-2 votes
1 answer
212 views

In my HTML game, if you press the "play" button, the game will start and the score will increase by one every second. If you then press the back button and click the play button again, the score ...
Eeea's user avatar
  • 7
1 vote
1 answer
2k views

This is the code I've written so far: Html: ...
Eeea's user avatar
  • 7
2 votes
2 answers
10k views

I am experimenting with game development but my player disappears. My player is able to just walk off the screen and never be seen again. So I was wondering if someone could help me with adding a ...
Nik Hendricks's user avatar
2 votes
0 answers
90 views

I'm 27 years old and I recently started vocational studies for app development. The first year is mostly about introduction to c# programming and also a light introduction to html and javascript. I ...
KikePeris's user avatar
1 vote
2 answers
1k views

Where to start creating a multiplayer game like slither.io, agar.io, etc. I need only learn how to draw live positions and other data of all players into one fullscreen HTML5 canvas with update ...
Dave's user avatar
  • 113
1 vote
1 answer
139 views

So I've been trying to draw sprites onto the world canvas. These sprites are held in a Group (aka object pool. They are meant to be bullets). They update properly, even go off bounds, but they never ...
Cephas's user avatar
  • 386
1 vote
1 answer
328 views

I'm making a horror text adventure using Twine (snowman version, which uses HTML, CSS, Javascript, JQuery, and Markdown). I wanted to know what the best (easiest) way is, you think, for creating a ...
Ghosty's user avatar
  • 111
0 votes
2 answers
1k views

I try to create a 2D game with a big map and multiple objects. The player is always in the middle of the screen and all the other objects is moving around so it feels like a big map. I want the ...
Casper Rasmussen's user avatar
1 vote
0 answers
346 views

I have a friend who is developing a game for HTML, and wants me to implement GLFX into the site page. The problem is GLFX was designed specifically for use with the HTML5 Canvas, which he isn't using, ...
K.Briggs's user avatar
1 vote
0 answers
489 views

What is the best option if I want to show a remote webpage inside a UI Panel in Unity ? I want to target android and iOs platform. I had uniWebView in mind but that thing is more like an overlay I ...
dumb_terminal's user avatar
4 votes
1 answer
3k views

I realized that I need an HTML-like UI in my game, because by myself I wouldn't be able to achieve such effects (divs, text, coloring, and styling). So I started to look around for a HTML Engine for ...
Xriuk's user avatar
  • 623
21 votes
5 answers
10k views

I have made a Javascript/html game. Now the problem I have is anyone can edit the client code and cheat in game for example there is a man shooting a enemy. Man HP:      &...
Ohmyholy's user avatar
  • 321
0 votes
3 answers
1k views

I'm making a web game RTS, it's mostly create units, manage resources, attack with army, and level up factories. I have created the basics of the game using Javascript, PHP, and MySQL databases. I use ...
Alex Parra's user avatar
2 votes
2 answers
12k views

I have recently heard about the Chromium Embedded Framework and was over-joyed as I want to use html as my GUI source. I did find a C# version but it seems to be for Windows Forms. I'm not too ...
Cody Beaner's user avatar