Skip to main content

Questions tagged [css]

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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
81 views

I am fleshing out a small desktop game that will be HTML5-based. Grid zone 3 uses one canvas element, and that is placed correctly without any visible gaps between the edge of the canvas and the ...
Eric Marceau's user avatar
0 votes
1 answer
98 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
98 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
186 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
2 votes
2 answers
907 views

I've tried a basic google search and am still having trouble with this one. Unity encourages the use of UI Toolkit at this point, as opposed to their old system, so that's what I'm going with; I have ...
Michael Macha'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
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
0 votes
2 answers
168 views

I developed a playing cards web app using HTML/JS/CSS. Communication with the server is performed using WebSocket. The server is developed in Java Spring. The game proposes to join one of the many ...
Mehdi B'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
1 vote
1 answer
127 views

I'm a beginning programmer and i need to make a game. The rough idea revolves around fleets fighting in turn based battles while you control your factions resources and manpower. The original concept ...
CMDR_Garbage's user avatar
1 vote
2 answers
136 views

I am making a Diep.io Clone, and everything was going smooth until I made a collision resolution system for when a shape collides with another shape. Instead of them bouncing off of each other, they ...
Priswall's user avatar
1 vote
1 answer
2k views

This is the code I've written so far: Html: ...
Eeea's user avatar
  • 7
1 vote
1 answer
329 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
3 votes
2 answers
920 views

The following messy code implements a decent hex map, but I have no way to detect edges and corners: ...
user85780's user avatar
0 votes
1 answer
300 views

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 ...
user1306322's user avatar
  • 1,411
2 votes
2 answers
171 views

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 ...
user3785971's user avatar
0 votes
2 answers
2k views

So I am making an incremental game with JavaScript, HTML5, and CSS, I need to have this bar that is essentially a div with a p ...
Akmedrah's user avatar
4 votes
2 answers
1k views

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 ...
Diogo Peres's user avatar
2 votes
1 answer
352 views

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 ...
John Heroic's user avatar
1 vote
1 answer
125 views

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 ...
dragfire's user avatar
0 votes
1 answer
1k views

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 ...
Geroy290's user avatar
  • 107
0 votes
1 answer
675 views

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 then ...
Crystalwolf's user avatar
0 votes
3 answers
1k views

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 what ...
Crystalwolf's user avatar
4 votes
1 answer
3k views

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 ...
Nishant Solanki's user avatar
1 vote
2 answers
525 views

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 ...
João's user avatar
  • 43
0 votes
1 answer
212 views

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 ...
zoran404's user avatar
  • 494
2 votes
1 answer
8k views

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 ...
danijar's user avatar
  • 5,761
6 votes
1 answer
502 views

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 ...
Don Boots's user avatar