Tagged Questions
A 2D rendering of an object in space.
0
votes
0answers
21 views
Lip Sync Sprite Animation in LibGDX
Is there any free sprite package to achieve lip syncing animation ? This is what I have in mind.
User will input text
The character will talk with the appropriate lip sync.
I know there are ...
1
vote
1answer
56 views
How could I implement destruction of bases in Space Invaders type game?
What approaches could you use to implement the the gradual destructions of bases/shields in a top down shooter type game similar to Space Invaders?
The simplest approach could be to use a series of ...
0
votes
0answers
33 views
Problem with sprite image [on hold]
in start method already i assigned the image to the gameobject . and when button click the method is call which assigned the image to the same gameobject but it should be different rather the previous ...
0
votes
0answers
27 views
Responsive animation based on mouse position
I'm currently developing a topdown 2d rogue-lite game in Unity, where the combat will be mainly focused on archery and different adaptions based on archery. My problem is that I have a hard time ...
0
votes
1answer
43 views
Sprite Sheet Texture not being rendered
I'm making space invaders (in OpenGL/SDL) and I've run into a problem
when trying to draw the sprite for the spaceship from the spritesheet.
In my entity class, I have a pointer for the sprite that ...
1
vote
3answers
118 views
+50
Box2d set sprite to body that rotates around specific point
I want to rotate kinematic body around a specific point (I already done this part using
shape.setAsBox(1.8f / PPM, 0.2f / PPM, new Vector2(5.2f, 0), 0);
What I try is this:
PolygonShape shape ...
0
votes
0answers
37 views
How to make this 2D jumping animation smooth in XNA?
I am currently developing a game where I have a sprite that its objective is to jump over boxes coming at it. I know that you have to change the Y values. When spacebar is hit, it goes up but then I ...
0
votes
0answers
22 views
Adding rhythmic combat in Construct 2?
Just a simple question here: Is there any way to integrate counter-attacking, stun and punch rhythmic combat mechanics seen in the Batman: Arkham franchise and Shadow of Mordor? I know that Construct ...
-1
votes
0answers
15 views
Create a Polygon on sprite - libGDX
Can you guys help me by telling how I create the two polygons, I need one for the yellow side and one for the black side of this sprite please.
Sprite:
I would like to make it so that neither of ...
0
votes
2answers
34 views
Struggling to define js sprite sheet
I've been working on this for a couple days, unable to get anything to load. Here is the whole page. Please help me find what I'm doing wrong. Right now, I'm only trying to render the first card in ...
0
votes
1answer
66 views
Libgdx rotate sprite with collision
Im making a game where I have an object in the center of the screen and then balls come out from the sides of the screen. When you touch the screen the object rotates 90 degrees clockwise and it has ...
0
votes
2answers
81 views
Unity sprites rendering problems on Android
I'm creating a simple 2d game for android, with normal sprites and animations. The problem is that when I open the game on my smartphone (Samsung galaxy trend plus), The sprites are rendered this way:
...
0
votes
0answers
33 views
how can I load a sprite to a sprite variable in my script?
I want to add to my Sprite variable x2 a sprite in my code. Here's my code:
Sprite x2;
void Start () {
x2 = ?
}
how can I tell the code to add a certain sprite to that variable?
2
votes
1answer
44 views
Rendering a dynamically sized box
So in games where there are textboxes with different sizes appearing, how does one actually render them efficiently? Games like Final Fantasy IX have dynamically sized speechbubbles for example, each ...
4
votes
1answer
178 views
Doom-style 2.5D Movement Animations
I've started working on a demo for my 2.5D game. For a basic scene I figured I would just use the good old fashioned doom sprites textured to a double sided plane. Simple enough. But I've been ...
0
votes
2answers
53 views
Calculate ticks for animation delay
Hi guys I am trying to calculate the correct elapsedTime for each frame in my animation.
Example I have a sprite called stance that has 20 frames I want to give each frame a tick delay property that ...
1
vote
1answer
47 views
How can I combine sprites and attach them to a GameObject?
I have the following sprites:
Background
Foreground
Combined they should look like this:
The first problem is Unity can only show one sprite with its Sprite Renderer, so I can't combine them ...
2
votes
1answer
58 views
Looking for a clever way to differentiate objects [closed]
I have a lot of cubes in my game (2d squares) and I decided to add some skins to them. However the colors that they have don't really make them look appealing.
For example, I have this sprite:
...
-1
votes
1answer
50 views
Which Sprite would be rendered out of two overlapping sprites in a 2d world?
For example, in a 2d setting, I have two sprites(one of green color and other of blue) of same size and y-axis and are at some distance apart from each other in x-axis. If there distance is gradually ...
0
votes
0answers
40 views
Difference between sprite and texture? [duplicate]
Can you please explain the difference between texture and sprite? When we zoom in a sprite, it appears blurry because it's basically an image. Is it the same for a texture?
I read this comment on the ...
0
votes
2answers
54 views
Positioning 2D (non-UI system) game objects
As an old Flash dev I'm slightly confused about how you position game objects on the screen in Unity since game objects have no width or height (only a scale).
Let's say I have a container gameobject ...
0
votes
0answers
45 views
Using canvas graphics instead of traditional sprites in phaser
Trying to learn phaser (total beginner with mild js experiance) and I'm following tutorials and such where everything is using sprites. I'm trying to get by with basic canvas shapes instead of ...
0
votes
1answer
43 views
Sprite cut in half after placed on Scene
I have noticed a very odd behaviour in Unity 5.2.1. When I drag and drop a Sprite into the Scene, it's cut in half like this:
I tried with PNG and PSD formats but it didn't help. Although when I ...
0
votes
1answer
85 views
Why is the alpha value of a Sprite in LibGdx 0.99607843 and not 1?
I'm developing a game in LibGDX and one of my problems is related to the alpha value of a Sprite object.
If I create a new Sprite sprite object then sprite.getColor().a is equal to 0.99607843 and not ...
0
votes
1answer
33 views
Texture becomes white box when drawing it?
My problem is that when I try to render my sf::Sprite it only renders a white box in my window.
I did some reading on this and couldn't really find anything that helped.
Some said that it's because ...
0
votes
0answers
99 views
Re-design a 8/16-bit sprite
I'm new to game development, and my skills on photoshop are not that great...
I was planning to try to convert a old game to HD, but for this I need HD sprites... what is the best way to convert a ...
0
votes
1answer
46 views
Positioning partials of character sprite animations
I'm not entirely sure how to best explain what I'm doing. Maybe I'm going about this completely the wrong way. If any of you find that that is in fact the case, I would appreciate it if you told me ...
0
votes
0answers
22 views
Libgdx Box2D - Object not showing up
I am trying to put a sprite into my b2d-world.
But for some reason, it is not showing up. I've already checked the camera settings, they are defenetly correct. Then I came to the point to check the ...
0
votes
0answers
30 views
Sprite animated position outside unity
our artist chose to animate the position outside unity because he want the precision of how the animations should look like what this means is when the monsters is jumping he literally moved the art ...
0
votes
1answer
47 views
Basic Moving/Anim Script [Unity CSharp]
So, I got this to do the anims for my sprite in Unity 2d...
using UnityEngine;
using System.Collections;
public class Move : MonoBehaviour {
public float Speed = 2;
Animator anim;
// Use this for ...
1
vote
1answer
77 views
Is it possible to interpolate different sprites? [duplicate]
I can interpolate different animations based on position, rotation, and scale. I want to do the same for different sprites, automatically.
For example, lets say I have a soda can being crushed. I ...
1
vote
1answer
48 views
How do I make a 2D sprite flash green when tapped?
I have a sprite that is based on an image of a gray circle. When the user touches the sprite, I want the sprite to flash green, as in I want the circle to appear to turn green for 0.2 seconds. I tried ...
1
vote
3answers
256 views
In what size should i design sprites for unity iOS?
I am developing a 2D platform game in unity.I have conceptualised the game and have to design the art assets/sprites, but the problem is at what resolution or size do i design them?
If I target the ...
0
votes
2answers
85 views
Unity 3D: How to stop/reset 2D sprite animation after releasing key?
Im following a tutorial to create animations with a 2D sprite character.
But i put in my own. Which has 8 animation positions.
For some reason when my guy walks around,then stop, the walkings ...
2
votes
0answers
38 views
Sprite animation in Android view
I'm looking for a way to have different sprite animations in individual Android views.
I try to use LibGDX and AndEngine but most I could find was how to get an Activity with the sprite animation.
...
1
vote
1answer
92 views
How to code sprite sheets?
First of all, the XNA Framework works on my computer, but I do not wish to use it for reasons. I am set with the task of coding my own sprite sheet class. I do not know if a class is the best way to ...
3
votes
1answer
66 views
Scene2D Actor walking animation?
I used to extend my Player/Entity class with Sprite, that way I could create a walking animation using SetRegion and super(stilldown.getKeyFrame(0));
I've recently started porting everything over to ...
-1
votes
1answer
30 views
Change Andengine Text By clicking and typing a new text like native android EditText
I have a board in my game, with a name. I want to edit it on a button click (not by text.setText("text") method ) i want the user to enter a text and set it there. I couldnt find, how to change the ...
1
vote
0answers
47 views
How can I detect sprite collisions out of screen?
I am creating an Android game using andEngine library.
I have enemies coming from out of the screen into the screen. I already know how to detect collisions, but is there any method I can use to ...
0
votes
1answer
117 views
Are metal slug art assets free use?
I'm making a mobile game and I've gotten by with completely free art assets so far, but I have an explosion from metal slug. I love it and it's perfect, but I don't want to get sued. I've seen metal ...
1
vote
1answer
73 views
LibGDX - Rotating sprites and still keep the positioning between them
I've been struggling with a problem regarding rotations and relative positions between sprites (in this case, the sprites are just lines) - a bit off-topic, but should i be using the ShapeRenderer ...
0
votes
1answer
83 views
how to naturally rotate a ball according to its velocity on a surface, a wall
I develop a game on cocos2d-x cpp. There is a ball sprite in my game. I move the ball on a surface(wall) via touch events but it can't naturally rotate according to its velocity.
if i use ...
0
votes
1answer
44 views
Rotate sprite direction Cocos2d
I want that my sprite go always forward, and you can only control his direction moving right and left (on 360 degrees). I don't know why, but the movement it's senseless.
The constants to move and ...
1
vote
1answer
71 views
Unity3D Sprite tearing on Android Smartphone
The game was running on Samsung Galaxy Trend 2.
On other smaptphones and emulator it seems running properly without glitches.
Sprites import settings are following:
Could someone explain why ...
2
votes
1answer
41 views
Construct 2's Scroll-to too small?
I'm making a platformer that wants the screen to closely follow the player, and I know I need the Scroll TO behavior.
However, when I tried to make the screen move to the player, I get this:
As ...
0
votes
1answer
125 views
How do I organize and sync multiple animated sprites in Unity2D?
I have a human with three parts: legs, body and head, 2D, top down view (GTA 1-2 alike). Head does nothing, legs have walking animation and body has 2 animations: walking animation (moving hands which ...
-6
votes
1answer
82 views
How would I edit a sprite on an SNES rom?
I want to take the game Shaq Fu and change one of the sprites for my own. How would I go about doing it?
3
votes
1answer
109 views
LibGdx 2d Free-Form Terrain
I have a query about how to create a 2d landscape level using libgdx/ box2d (Or possibly with Unity) for Android and iOs. Let me describe the goal and then the specific points I need help with.
What ...
2
votes
1answer
124 views
Unity 2D Sprite Bending between Hinge Joints
I've created a tentacle that consists of multiple game objects, each attached to eachother using HingeJoint2D's. Gameplay wise this multiple segmented approach is great because I can use Unity's ...
2
votes
1answer
28 views
Spriter model not touching ground in?
I was attempting to make a game in Construct 2 by using my Spriter Models plugin. However, when I imported the model, rescaled it & changed a few things, I got this:
As seen in the picture, the ...