CSS stands for Cascading Style Sheets and it is almost use for styling XML (Extensible Markup Language) and HTML (Hyper Text Markup Language) documents like fonts, layouts and colors.
0
votes
0answers
20 views
HTML5 Game development Start [on hold]
I'm totaly new on html5 game development... But I don't want to walk a long way to discover all tools I can use to develop the game.
I want to make a game based on web browser. I want to make a game ...
1
vote
0answers
19 views
Twine game animated blur effect
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 ...
1
vote
1answer
66 views
How Can I Detect Hex Edges and Corners for Catan Map?
The following messy code implements a decent hex map, but I have no way to detect edges and corners:
function blankMap($scenario_array){
$hexMap = null;
$hexCss = "<style media=\"screen\" type=\"...
0
votes
1answer
91 views
How can I use web browser controls for non-browser game GUI? [duplicate]
I'm looking for a way to get a modern browser's level of customization and rendering quality in my c# monogame to avoid using roundabout/limited/buggy GUI toolkits and to get better fonts without ...
-2
votes
0answers
58 views
Motion related databasing with SVG and SQL [closed]
In my game I have two elements moving towards each other, meeting in the middle of the screen. Something like this: (the image will be two slowly converging mouth-like objects, but it's not finished ...
0
votes
0answers
38 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
1answer
47 views
Does pausing the canvas draw restores the FPS to higher value in a HTML5 game?
I set Frame Per Second of 60 for my game. But after 1 minute it gets to a significantly lower value - around 8 FPS.
Does pausing the canvas drawing restores the FPS to higher value? If it does, how ...
0
votes
0answers
133 views
How to make an object orbit around an orbiting object in CSS?
I am trying to make a moon orbit around an earth which is orbiting around the sun. This is one of my first ever projects so I really don't have a clue. I'm using CSS and currently the moon is just ...
0
votes
2answers
132 views
Progress bar for EXP in javascript [closed]
So I am making an incremental game with Javascript, HTML5, and CSS, I need to have this bar that is esentialy a div with a p element in it "fill up" as the player earns more points through sacrifice. ...
1
vote
1answer
171 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
1answer
115 views
How are CSS and WebGL coordinates related? [closed]
I'd like to build a simple framework which rendering combines web page DOM elements with WebGL, such that they're manipulable in the same coordinate space.
How does the plain CSS coordinate system ...
1
vote
1answer
69 views
How to manipulate browser pixels on different mobile devices
I'm creating a board game using HTML5, CSS3 and JavaScript. It's working fine on Desktop browsers properly. But when i load it on Windows phone it's not behaving properly. The resolutions and the game ...
0
votes
1answer
319 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 ...
0
votes
1answer
357 views
How do I apply a Isometric tile to a Diamond shaped Div
I want to be able to apply my isometric tile
To a diamond shaped div
However I can't seem to create the isometric shaped div.
Closest I got to it was this http://jsfiddle.net/P3yKr/2/ but even ...
0
votes
3answers
292 views
How would I apply my isometric art onto isometric CSS with correct Z-indexing
I have been trying to wrap my head around how to apply my isometric art
into an array like so with correct z-indexing
In the long run I want to be able to select a specific tile and depending on ...
4
votes
1answer
1k views
How can I add custom CSS to a Construct2 game?
I am making a simple game using Construct2. My problem is that Construct2 provides basic HTML buttons, but I want to put a background-image on my buttons.
To do that, I want to add custom CSS to my ...
1
vote
2answers
348 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
170 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
4k 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 ...
6
votes
1answer
307 views
How can I convert OBJ data into CSS3D transformations?
I want to convert the data in a 3D .obj file (vertices, normals, faces) to CSS3D (width, height, rotateX,Y,Z and/or similar transforms). I found a bunch of formulae and what-not, but 3D isn't my ...