Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
62 views

I'm attempting to render out part of a spritesheet to a new standalone texture. I have the triangles, vertexes and uv coords of my sprite but my code only correctly renders the first triangle not the ...
Knackname's user avatar
2 votes
1 answer
77 views

So it appears in the profiler that whenever one of our sprite animations is played for the first time, it causes a spike on the CPU as the sprite atlases are loaded into memory. This can cause a ...
TrashMachine's user avatar
2 votes
2 answers
78 views

I've been trying to find an answer for a while but most searches return results for animating shapes not frame animation. Given a canvas with a 2d context to which I draw sprites with drawImage, what'...
MirceaKitsune's user avatar
0 votes
0 answers
61 views

I am writing a beginner Java version of the popular game of '90: SkiFree for personal learning. I managed to create most of the game display, but I have an issue with the layout management there ...
Samy Sylvester's user avatar
-1 votes
1 answer
43 views

I'm following a begginner tutorial to start using pygame, but I'm stuck with the sprite display. I'm not able to make it visible on screen, please find below the code related to the sprite. I'm not ...
Macronaute's user avatar
0 votes
0 answers
31 views

It's my first time messing around with sprites in ReactJs and I wanted to make something for fun. There is a canvas where a character randomly walks left/right. My sprite sheet has 3 columns and 6 ...
Ruo's user avatar
  • 137
0 votes
0 answers
25 views

The icon-location icon is displayed correctly, but other icons such as icon-mail are not displayed. I have tried clearing the cache and reloading the page, but the problem persists. <svg xmlns=&...
Эльёр Садуллаев's user avatar
0 votes
1 answer
189 views

I'm working on a 2D game in Godot (version 4.3) and have a character composed of multiple sprites (e.g., body, head, equipment). These sprites are all children of a CharacterBody2D root node. I want ...
Maik Thiele's user avatar
0 votes
1 answer
85 views

Unity has the ability to set boundaries for a sprite. This allows me to stretch the image without losing quality and save borders. This is usually used to create menus and pop-ups. I add such a sprite ...
Олег Верушкин's user avatar
0 votes
1 answer
417 views

I have a spritesheet with all my buttons, and would like to use individual sprites as my buttons, not the entire sheet. Is there a way to do this? (I am a complete beginner) I tried putting the file ...
Dr_Fishface's user avatar
0 votes
0 answers
63 views

In Unity I have a Sprite Renderer set to tiled draw mode. The import settings look like this (custom pivot, custom borders): I'd like to reposition the renderer object dynamically (in the OnValidate ...
s_marcell's user avatar
0 votes
1 answer
78 views

I'm following Tech with Tim's guide on how to create a platformer game link I created a function to load letters from a sprite image, based on his load_sprites function: def ...
Avi Michaely's user avatar
0 votes
0 answers
48 views

Most learned friends I have an SVG cube icon. I made a sprite out of it, but there are gaps between the edges of the cube that take on the background color of the div in which the cube is located. How ...
Evhen Bezliudnui's user avatar
0 votes
1 answer
74 views

I have an object (orange) that is tied to a hinge joint (black) and can rotate around it. At some point when I detect collision with other object I have to cut it there (red). In order to do that I ...
flowerProgrammer's user avatar
0 votes
1 answer
131 views

If you try creating test scene, with a simple script to change sprite every a period of time. The sprite doesn't change, but if you try to log the changed sprite name, you'll see it has changed ...
CODEHUB's user avatar
  • 552
0 votes
1 answer
61 views

In my index.shtml I have <object data="icons/svg-sprite.svg" type="image/svg+xml" width="0" height="0" style="display: none;"></object> ...
Jawad's user avatar
  • 6,772
0 votes
0 answers
213 views

I am making a game where every time you click, a fruit falls down from the mouse coordinates. The game was working when I was working with plain colours, so then I decided to add textures. However, I ...
ApplesAndCode464's user avatar
1 vote
0 answers
48 views

I am currently trying to write a version of space invaders using p5.play (it's the language that my particular college uses) but whenever the sprites reach the right edge of the screen they all ...
user2369258's user avatar
1 vote
1 answer
20 views

I need to drag a Shape Node avoiding other shapes, if they hit then I would like boundaries to not be crossed. So if I have a ceiling and I drag the a ball up to it, I want it to hit the ceiling and ...
user499846's user avatar
0 votes
2 answers
436 views

I'm working on a game with free pixel adventure sprites. The GIF below is a level that the sprite creator put, and I have no idea how to create such a background in Unity (repeat with go down ...
Pooria Sadeghy's user avatar
0 votes
1 answer
63 views

In all the examples of games, which I examined, written in C++/C# using SFML, .NET Framework, WPF, Python and HTML5 a sprite reacts on mouseClick made within the sprite's bounding box. Is there a ...
Andre186's user avatar
0 votes
1 answer
38 views

Working with this code in two separate files : import pygame # These are used to figure out where this top-level module is being run # so that the path can be passed to submodules from inspect ...
Christopher Theriault's user avatar
1 vote
3 answers
389 views

I have 1324 different small SVG images, all the same basic size, that I need to load as background images for 1324 different cells in a grid display. The cells into which they load have varying ...
obdurodon's user avatar
-1 votes
1 answer
38 views

I followed a tutorial for a simple runner game using pygame and got it to work. So I went to try it again with my own characters and obstacles that I made. But for some reason, the sprites seem to ...
Anita Bui's user avatar
1 vote
1 answer
252 views

I have a series of horizontally-lined sprites in Phaser 3: const sprite1 = this.add.sprite(20, 40, 'diamonds'); const sprite2 = this.add.sprite(50, 40, 'diamonds'); const sprite3 = this.add.sprite(80, ...
Kamil's user avatar
  • 1,097

1
2 3 4 5
96