A 2D rendering of an object in space.

learn more… | top users | synonyms (1)

2
votes
0answers
48 views

How to store sprite data in a VBO?

I'm planning on rendering many sprites in my games, but I am not sure which method of storing their data to use. I haven't tried all of them yet, but I want to see if I also have anything important ...
2
votes
0answers
61 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. ...
2
votes
0answers
65 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 Sprite(atlas....
1
vote
0answers
31 views

Renderable object abstraction

In my engine I have 2 types of 2D renderables: sprites and groups (and maybe primitives later). Sprites are just textured quads and groups are multiple renderables grouped in a single object. I have ...
1
vote
0answers
13 views

Setting useImmersiveMode to true makes a moving sprite blink in a LibGDX game

I'm developing a simple game where i have gravity and a body which jumps when i touch the screen and a sprite displaying in its position. All is good until i set useImmersiveMode to true on ...
1
vote
0answers
109 views

Java Libgdx Attaching Sprite to Box2D Body

So I am working on programming a java 2D platformer for fun on the side and I have a rendered TMX level and a box2d body (just a circle shape) that I am currently using as my player. All the controls ...
1
vote
0answers
53 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 ...
1
vote
0answers
116 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 ...
1
vote
0answers
56 views

Is this a good way to “get rid of the sprite shakes” for my sprites that “target” other sprites? (XNA)

I'm relatively new to XNA, but very proficient with C#. I want to know if this is the best way to solve the sprite shaking problem. I had a sprite class that can target a place/other sprite on the map ...
1
vote
0answers
22 views

Proper way to wrap sprite for Z dimension

I am using SFML, but I need to add some emulation of 3D by wrapping the sprite with a Z component. When sprites are drawed (or when objects moved?), their X and Y will change depending on Z. My ...
1
vote
0answers
263 views

Unity UpdateExternalTexture from MovieTexture windows crash

I'm trying to play a MovieTexture object with a SpriteRenderer object. My code is working fine on OSX. It crashes my windows 7 exported game, and play mode in Unity editor in windows 7. I am sure ...
1
vote
0answers
91 views

Editing sprite shading to change perspective?

I'm currently developing an RPG in Java with some of my friends, and one of my tasks is to do the pixel art. I'm a beginner at it, but I know that I'll get better in time. I recently finished the ...
1
vote
0answers
174 views

Unity sprites are no longer batched after the object rotates/moves

With Unity 5 and access to the profiler, I'm running our game through some stress tests so I can find where our performance issues are. While testing having 1024 units on the screen with 4 selection ...
1
vote
0answers
40 views

CCActionMoveBy doesnot working properly when the action called for many of the sprite in cocos2d

I have an issue with CCActionMoveBy when I call the movement action for many of my sprites. I need to move to a certain position and then remove it from the scene. My problem is If the call the ...
1
vote
0answers
196 views

How to get rid of half pixel artifacts?

I've been having a bit of trouble using OpenGL to make 2D games. I am using a traditional ortho perspective with just some sprites being rendered and moved around. It all works perfectly but there is ...
1
vote
0answers
455 views

Unity 2.5D Character Movement

I'm wondering if anyone can point me in the right direct as to how to take a 2D character/sprite in Unity and have said character turn corners in a 3D style. Solutions or resources welcome.
1
vote
0answers
454 views

Sprites on scrolling tmx map (LibGDX)

I have .tmx map loaded, and a camera to see it. The map is bigger than the camera viewport, so I need to move that viewport scrolling the camera. Now I want to draw a sprite on the map. To do that, at ...
1
vote
0answers
208 views

libgdx - Image artifacts when downscaling image

Why does this border appear around the edges when I downscale a bitmap and how do I avoid it? I tried every filter I know, the results go from bad to worse. Here's the original bitmap:
1
vote
0answers
129 views

Tiled map editor and objects

Ive been searching for an easy way to group multiple sprites of a spritesheet into a single entity. Im using tiled editor as written at the title. Some objects might be larger than the tile size and i ...
1
vote
0answers
2k views

Unity 2D loading Spritesheet Atlas at runtime from web and using it dynamically

I am new to Unity (came from AS3/Starling) and just started for 2D games in Unity. I have a spritesheet / texture-atlas (many different sized images packed in a single png) which I want to download at ...
1
vote
0answers
443 views

LibGDX render sprites in tiled-map format ( convert texture to sprite )

I am creating a game in which till now I have used textures to create A 2D tiled game. I have created a matrix which converts the touch co-ordinates into a array index number and according to that ...
1
vote
0answers
281 views

Using fully cropped sprites with TexturePacker and Cocos2d

When using texturepacker, you can set your trim-mode to crop. This is nice, because when a sprite loads in cocos2d your bounding box will only be the visible area of your sprite - which is useful for ...
1
vote
0answers
716 views

Create a touchpad-joystick using texturepacker2

I am adding a touchpad control to my game, using TexturePacker for loading images into the image-atlas. I have followed this tutorial to add the joystick. Everything is the same apart from the loading ...
1
vote
0answers
303 views

Detect Sprites, they are in Shape or Not which random draw in Cocos2d

I have searched a lot on web and found some of help ful links as exact my question. Link 1 Link 2 But still i am not success to achieve this, i have done some of code lines, as like draw line by ...
1
vote
0answers
562 views

To stop Spite animation scrolling along the background in openGL ES

After using the endless road algorithm as described here, I also implemented the scrolling of walls along with it. I have the walk animation of the person which is stationed at the center of the ...
0
votes
0answers
42 views

Sprites Positons

I create my sprites for 800x480 and position them accroding to this On dealing with multiple resolutions I use a method that set sprite size and position according to the current resolution instead ...
0
votes
0answers
29 views

Unity3d how to correctly using tilesets

currently I am using external tilesets like this: Load texture from file to Texture2D Texture2D tx2 = new Texture2D(2, 2); tx2.filterMode = FilterMode.Point; tx2.wrapMode = TextureWrapMode.Clamp; ...
0
votes
0answers
62 views

How can I export Flash XML that includes the symbol name used each frame?

After creating animations in Flash, I use Export Motion XML to get the animation data I need, which includes things like the xy movement, rotation, scale, etc. It includes everything I need EXCEPT ...
0
votes
0answers
22 views

Unet 2D sync problems

I've studied Unet but I still can't get it to work right :( I have 3 problems. The first: I can't force player 1 to always spawn from a specific spawn point (and same with player 2). Therefore I've ...
0
votes
0answers
30 views

Splitting spritesheets and making the background transparent

Is there a quick way of splitting and removing the background of a spritesheet that's taken from the web? I'm fine with downloading software, using a website or making use of any commands that libGDX/...
0
votes
0answers
29 views

Create a character from multiple sprites

I have multiple spritesheets for a character in my game. The user can decide which gender, which hair, which haircolor he wants. Some images have to be on a higher layer than others (hair > head > ...
0
votes
0answers
30 views

Whe are my sprites invisible in the animation preview?

I'm just starting in Unity and now this problem came I out: As you can see, there is no sprite in the animation preview. Why is this happening?
0
votes
0answers
42 views

Dealing with floating point imprecisions in a 2D Tiled based game

I'm using unity3d to create a little horizontal tile based platformer game. My entities have a rectangle defining their collision volume. On the other hand I'm using a camera configured to 1 unit = ...
0
votes
0answers
13 views

make bigger touch space node using spritekit and objective c

I try to make simple game, but I have a problem, node is too small,for smaller iphone phones finger can't move it on ipad it can and on simulator too, so i know its not the code fault. Because I use ...
0
votes
0answers
17 views

Effect of merging sprite

I want to create the effect of merging of colours if they are overlapping. My game is a tile-based game. For all intents and purposes, lets consider a tile from (0,0) to (1,1) in the entire example. ...
0
votes
0answers
16 views

Packing a load of irregularly shaped textures with UV bounds into a single texture

I'm developing a 2D game that uses a very large and varied set of high resolution tiles. Some of the shapes are large and diagonal, so when when it comes to batching all of the images into a single ...
0
votes
0answers
33 views

How to get vectices of a sprite in correct order in Unity?

Currently, when I examine sprite.vertices, I see that it is ordered in crossed way, like: one from bottom, one from up, another one from somewhere else... etc. I need the correct order to make array ...
0
votes
0answers
40 views

Tilemap not rendering properly

I'm making a single-screen scrolling platformer (OpenGL/SDL) and I've made a tilemap out of a 2D array, pre-sized with variables of the LEVEL_HEIGHT and LEVEL_WIDTH. Each element in this 2D array ...
0
votes
0answers
15 views

How can I crop sprites of different sizes into many files

I have an image with a punch of different sprites. The sprites are roughly 50x50px but not exactly. Is there any easy way to go through and convert this to various images?
0
votes
0answers
44 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 ...
0
votes
0answers
75 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
0answers
62 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
31 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 ...
0
votes
0answers
34 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?
0
votes
0answers
88 views

Using canvas graphics instead of traditional sprites in phaser

I'm trying to learn Phaser (total beginner with mild JS experience) 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
0answers
144 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 8/...
0
votes
0answers
28 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
32 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
0answers
41 views

Is there a way to apply euphoria physics (ragdoll) to rigged Sprites in Unity2D?

With euphoria physics I mean the realistic object interaction and freefall as seen in most games like recent GTAs. But I want to do that in 2D. (I am a beginner :P).
0
votes
0answers
121 views

Faking Perspective/Depth using 3D images converted to 2D sprites - Can't work it out!

after a lot of searching/reading/viewing old school game videos I am still unable to work out how to achieve the effect I am after. I am currently working on a 2D "overhead view" sci-fi RPG, using a ...