Skip to main content
Filter by
Sorted by
Tagged with
Advice
0 votes
2 replies
37 views

This is for a 2D game I have a sprite which I have added multiple secondary textures to it like "_Shirt", "_Pants", "_Shoes" etc. Then I built a Shader Graph where I use ...
Mike The Elf's user avatar
1 vote
3 answers
73 views

I'm using p5.play and when changing the rotation property of a sprite it doesn't rotate fully. The sprite only tilts slightly. So if I make the sprite's rotation 90 degrees it'll only slightly tilt ...
Sir_Ploople's user avatar
0 votes
0 answers
84 views

I'm creating a game for my nea and I have tried multiple times to make me as a user of the game to press on documents that my character presents, and to be able to interact with it. I have checked ...
Adelija Zaveckaja's user avatar
1 vote
0 answers
75 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
3 votes
1 answer
138 views

I'm writing a Chrome Dino demake on the c64 but the code won't work. Sprite 0 won't move and there are some garbage pixels on top of the screen. A demake is a video game remake that adapts a modern ...
Karolina Sadowska's user avatar
2 votes
1 answer
122 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
0 answers
120 views

I am unable to get the images of a sprite to change in Ren'Py. All the images I intended to add are in the directory, and I wrote the code exactly how it was stated in the tutorial, but it does not ...
Ashia Richardson-Bailey's user avatar
3 votes
2 answers
122 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
56 views

I have an app built [in Objective C] for MacOS using SKScene and GameScene that has a floating window with some text in it (a clock). It works great, floats and shows the text. I have implemented hit ...
Glenn Reid's user avatar
0 votes
1 answer
46 views

I’m a beginner playing around with SpriteKit, and I created a file called GameScene. It contains only one node called mouse. My goal is to animate the mouse and move it to random locations when the ...
Damiano Miazzi's user avatar
-1 votes
1 answer
57 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
1 vote
0 answers
162 views

<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <defs> <linearGradient id="...
Воронович Юлия's user avatar
0 votes
1 answer
68 views

The code below shows the use of a sprite that should normally display images in B&W and when the mouse is hovered over the images, they become colored, but without showing the transitions between ...
Marcos's user avatar
  • 3
0 votes
0 answers
104 views

Blender 3d 2.90.1, Python 3.10, bpy Hello, I am working on an add-on to automate the process of creating sprites that I assemble in the form of spritesheets. My code worked so far but as soon as I ...
MikaMikashu's user avatar
0 votes
1 answer
266 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
1 vote
0 answers
32 views

I am able to create an animation sequence and export 8 frames for walking as a sprite sheet. I want to export the player model without a weapon (which I have done) I want to export the weapons ...
user2302941's user avatar
0 votes
1 answer
162 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
0 answers
157 views

MakeSpriteFont.exe downloaded off github says "can't find font" no matter what. I tried copying fonts to its local dir, I tried specific path for the font, in root, windows font folder, ...
Dan Frederiksen's user avatar
0 votes
1 answer
549 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
1 answer
50 views

I made this simple project that allows a 4-image sprite to move in one direction, but I would like to know how I can do this so that whenever the D key (key that moves the character) is not being ...
Felipe Soares Rodrigues's user avatar
0 votes
0 answers
71 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
262 views

my icon.svg sprite file look like this <?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="0" height="0" style="display:none"> <symbol fill="...
Naveen Saroye's user avatar
0 votes
1 answer
88 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
-1 votes
1 answer
382 views

I'm trying to make a simple dress up game where there are three buttons. Depending on which button you press, you can put either a pink, blue, or green shirt on a mannequin. However, my problem is ...
Mateen's user avatar
  • 1
0 votes
0 answers
49 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
0 answers
70 views

I have a simple animation for lava that I want to play. Ideally, it should play only when visible on the screen, BUT for now, it is set to always animate (screenshot attached). Each Lava Pool has 1 ...
Astantos's user avatar
  • 121
0 votes
1 answer
87 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
-1 votes
1 answer
231 views

I am a high school student programming a pygame game for a school project that is due in about a week and a half from now and my problem is if I am able to create an isometric game but instead of tile ...
Y-Orozco's user avatar
0 votes
1 answer
181 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
  • 542
1 vote
1 answer
556 views

Firstly, gotta make sure AnimatedSprite2D is the right node to use. I'm making one of those random clicker games where you click a button and get a random chance of getting different items. I need ...
Owen Uhl's user avatar
0 votes
1 answer
67 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,802
1 vote
1 answer
121 views

I want to create 5 submarine for the player and 5 to the computer (10 total) by using the sprites method. When i checked the DosBox for mistakes i saw that all of my sprites lines have the same error ...
ethan fridkin's user avatar
0 votes
0 answers
248 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 votes
1 answer
75 views

I loaded a full screen image using SpriteComponent and trying to remove some parts of that image using canvas.clipPath. Expected: The image will be rendered except all the clipped parts Issue: The ...
Son Nguyen Quoc's user avatar
1 vote
0 answers
55 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
0 votes
1 answer
159 views

The game works fine, but its using rectangle shapes and I want to render the snake parts using Sprites. Here is the code (Yeah It's not that clean I just wanted to get this working): #include <SFML/...
b09's user avatar
  • 1
1 vote
1 answer
21 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
149 views

I have an SVG sprite with all my icons, and when dinamically adding an icon in Javascript I use thise code: let closeButton = document.createElementNS("http://www.w3.org/2000/svg", "svg&...
just some guy's user avatar
0 votes
2 answers
481 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
137 views

I'm following a YouTube tutorial on a fighting game. Facing an error: Var <unknown_object>.sprite_index not set. The error was here: if (sprite_index != sprKill_foward) { sprite_index = ...
eerr's user avatar
  • 1
0 votes
1 answer
76 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
75 views

Let's say I have a camera (player since I am making a game) at 0, 0 facing at -0.78 radians. I also have an entity or npc at -2, 2 facing at 0.78 radians. Because we are humans and we have brains, ...
JKAbsol's user avatar
0 votes
1 answer
40 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
0 votes
1 answer
70 views

I have some sprite sheets. In some cases, the bounding boxes of the sprites are overlapping, even though the sprites themselves are not overlapping: In other cases, the bounding boxes are not ...
Rahul Iyer's user avatar
  • 21.1k
1 vote
3 answers
408 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
-3 votes
1 answer
266 views

Please refer to this link first: How to automatically detect and crop individual sprite bounds in sprite sheet? In the example in the above link, the bounding boxes of the individual sprites do not ...
Rahul Iyer's user avatar
  • 21.1k
0 votes
2 answers
153 views

I am trying to make the enemy/player become red temporarily after taking damage. I was thinking as one of them takes damage, a red effect moves up on either player/enemy to show how much health is ...
freakingrex's user avatar
1 vote
1 answer
284 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,107
1 vote
0 answers
191 views

I converted a project from godot 3.5 to godot 4.2.1 and changed texture import from linear to nearest, so it is pixel art. In the editor it works fine, but for some reason, it is doing some weird ...
Felix's user avatar
  • 50
1 vote
2 answers
673 views

I am making a Squash game in scratch and I want the racket-sprite to always be straight "infront of me" as I move (with the mouse) around the court. This almost work with my code only that ...
Juniper's user avatar
  • 11

1
2 3 4 5
96