The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
17 views

Event handling for moving components in an HTML/JS game

I have developed a working prototype of an arkenoid-kind of game using plain HTML/JS/CSS3. I am using the DOM to display game elements. The whole game is infact contained inside a table element. Table ...
1
vote
1answer
98 views

Change screen dimensions in libgdx in HTML

Can i change the screen dimensions in libGDX in HTML? If I inspect the element (the game) in Chrome and I change canvas width or height it changes the screen dimensions, but I don't know how to do it ...
1
vote
0answers
32 views

How to fix my physics functions so they perform at the same speed across different FPS's

My jump function looks like - self.jump = function(){ //do the initial jump if (self.pressingUp && self.onGround) { //this just gets it off the ...
0
votes
0answers
35 views

Using animation in Unity?

How can I simply implement this animation in Unity: codepen.io/epilande/pen/ZYMqNX I am ready to buy the PowerUI asset, if I have to.
1
vote
0answers
16 views

Using GLFX.js on a full HTML page

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, ...
1
vote
0answers
45 views

Unity Browser inside UI Panel

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 ...
18
votes
5answers
3k views

Prevent cheating in html Javascript game [duplicate]

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: ...
3
votes
1answer
187 views

HTML UI with SDL2 [closed]

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 ...
0
votes
2answers
158 views

How do I keep a PHP server running forever?

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 ...
2
votes
1answer
71 views

Website within Skyrim

I'm new to the Skyrim Creation kit but I've been through a few tutorials and looked through the documentation but I couldn't see a way to do this. Is it possible to display an HTML page within the ...
1
vote
2answers
686 views

Chromium Embedded Framework and Unity3D?

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 ...
1
vote
1answer
192 views

Unity3D WWW get HTML displayed in browser

I currently have in a web page, on a localhost server, some information that I want to use in Unity. My problem is that this information are stored in some js variables. I tried to use the WWW class ...
1
vote
0answers
57 views

libgdx html part in browser only shows libgdx logo

I am trying to run HTML part of libgdx. I followed its official guide https://github.com/libgdx/libgdx/wiki/Project-setup,-running-&-debugging I have installed GWT plugin, I did GWT compile and ...
0
votes
1answer
151 views

How do I make the background color fade into a different color after hovering it? [closed]

I was trying to make the starter inputs for my text rpg change the background color in a fade effect with JQuery, but I cant figure out what i did wrong. Heres the part im focusing on: ...
0
votes
1answer
64 views

How do I combine two HTML levels? [closed]

If I have two levels that I have made separate in HTML5 how may I combine them so one comes after another?.
0
votes
1answer
26 views

How do I store game data with cookies?

Im working on a game right now, but I was wondering how I would store the game data in cookies(in javascript) where you can load it up, and resume the last spot you were at. I was looking at some ...
0
votes
2answers
157 views

How do i make an idle-styled counter in Javascript & HTML

I just started making a basic game in HTML, CSS, Javascript, and JQuery, but I want to have the money add up after a certain amount of time (if you have ever played an idle game, you'd know what i ...
0
votes
1answer
283 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
0answers
187 views

How can I scroll an HTML table when the player drags near the screen edge? [closed]

I'm trying to make my Word Search game mobile friendly. I want to display a grid of letters on the user's phone. The letters must be big enough that the user can touch them individually. My problem ...
1
vote
1answer
659 views

JavaScript: Rotating a canvas around its center for a 2D sidescroller

I've been making a 2D sidescrolling game using JavaScript and HTML. The game is set in space, where the player character can fly around (Up, Down, Left and Right keys) and rotate the world around him ...
1
vote
2answers
588 views

Bouncing off a circular Boundary with multiple balls?

I am making a game like this : Yellow Smiley has to escape from red smileys, when yellow smiley hits the boundary game is over, when red smileys hit the boundary they should bounce back with the ...
1
vote
2answers
337 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
166 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
3k 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 ...