Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

In my previous post, I didn't add many details and wasn't able to get effective help, so here I go again. I am currently creating a 2d game inspired by both papers please and not my neighbour at the ...
Adelija Zaveckaja's user avatar
1 vote
0 answers
68 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
68 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
0 answers
114 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
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
0 answers
99 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
2 votes
2 answers
80 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
52 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
0 answers
64 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
0 votes
1 answer
41 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
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
1 vote
0 answers
77 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
0 answers
32 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
1 answer
56 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
80 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
198 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
28 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
89 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
125 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
424 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
49 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
64 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
239 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
79 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
274 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
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
0 answers
58 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
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
-1 votes
1 answer
202 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
133 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
1 vote
1 answer
451 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
62 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
1 vote
1 answer
120 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
215 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
73 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
52 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
133 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
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
115 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
440 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
116 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
64 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
59 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
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
0 votes
1 answer
69 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
391 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
239 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
-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
0 votes
2 answers
139 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
257 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