A 2D rendering of an object in space.

learn more… | top users | synonyms (1)

0
votes
1answer
32 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
60 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?
1
vote
1answer
37 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
151 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
39 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
40 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
43 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
43 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
33 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
32 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
81 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
32 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
92 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
40 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
29 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
40 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
66 views

Is it possible to interpolate different sprites?

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
43 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
149 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
68 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
36 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
87 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
52 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
26 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
43 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
112 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
69 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
80 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
35 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
65 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
31 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
101 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
78 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
93 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
100 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
24 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 ...
3
votes
1answer
86 views

How to handle angles in an isometric game?

I am working on my first isometric game, and I am not sure how to go about angles and rotation. Basically, I want the player's forward movement and rotation to coincide with the isometric angles. I ...
2
votes
0answers
95 views

What are the newest alternative to all-in-one game engines? [closed]

I have been seaching a while for recent alternative to engines like unity or unreal, however, I haven't found one actively maintained that meet my needs. For instance, I tried irrlicht with maps ...
2
votes
0answers
231 views

8 Directional Character Spritesheet Generator [closed]

I've searched for the past hour and didn't find anything worth looking. I'm creating a game, and I'm just starting. I found this site to help me create my characters, but I want something to create ...
2
votes
3answers
155 views

Can I use a no longer protected by copyrights game's sprites?

I've been looking around but couldn't really find anything conclusive. First of all, as the title says, in case a game's copyrights expire can I use its sprites for my own game and claim copyrights? ...
0
votes
0answers
22 views

How to handle 2d avatar creation [duplicate]

I am new to game design and i am creating a MMORPG that allows players to create 2d avatars that can be customized. If i had lets say a male character model (no equipment no armor). How would i handle ...
1
vote
1answer
66 views

Finding relative x and y value on a sprite [Gamemaker]

I'm having a little conundrum that may just result from a lack of knowledge of Gamemaker's functionality. I've attached two images to aid explanation. I have a sprite of a turret (with a gun ...
2
votes
0answers
57 views

Get a body from TiledMap via MapBodyBuilder and draw a sprite on it in LibGDX?

I use a various of MapBodyBuilder in my Libgdx project. I created a body from map.tmx via my MapBodyBuilder and in my SpriteBuilder buildSprite method i created its sprite: sprite = new ...
0
votes
2answers
55 views

How do I make sprites overlap eachother based on a layering system?

In Unity, I am building a 2D puzzle game, however I need to make sure that certain sprites are rendered on top of other sprites when they are above them. Here is an example switch (left) and block ...
1
vote
0answers
53 views

Unity: Can I use sprites for tiles to overlay a grid over a plane mesh?

I have a plane mesh in Unity. I have various other meshes on this plane (props) with tags that denote the areas under these props are unwalkable. I raycast, project and generate a grid on this plane ...
46
votes
6answers
3k views

How can I quickly check if my sprite tiles well?

I am trying to create tilemap sprites that tile nicely, but checking how well they tile is really cumbersome. Ideally, I'd like to have an image editor that shows a layout like this, so I could see ...