A 2D rendering of an object in space.
4
votes
1answer
308 views
2D animation: Animated 3D models or sprites with animation frames?
Starting out with new project, I am stuck choosing between:
3D textured model animated directly through the renderer
2D sprites and drawing each animation frame
The game will be 2D platform, I ...
-1
votes
2answers
128 views
Semi Transparent Background in Scene [closed]
In my game I want to create game over scene which is semi transparent so game scene become partially visible.
Game over scene contain several button that are not transparent but I need only ...
-1
votes
2answers
164 views
Moving a sprite towards an x and y coordinate
Given a sprite with an x and y coordinate, how would I move it toward another sprite with an x and y coordinate?
I've already made it face towards the other sprite, and I've made it move towards the ...
1
vote
2answers
242 views
Common practice when handling sprite animation
Let's say I'm using the following sprite as a sample to try LibGDX Animation and TextureRegion.
http://www.smackjeeves.com/images/uploaded/comics/7/8/78bc6b62fEySW.gif
As you can see, the provided ...
0
votes
2answers
92 views
Returning The Position Of A Sprite Drawn & Updated By A List [closed]
My problem is this, when iceBoy hits any of the newGrounds in the ground.groundAmmount list, it will return the specific position of this newGround so that i can set iceBoy's position based on the ...
0
votes
1answer
60 views
Revolve FlxSprites Around a Central FlxSprite in Flash Game made with Flixel
I have been working on a Flash game made in Flash Builder using the Flixel library. I have been trying to dynamically create a group of FlxSprites , and revolve them around a player controlled class ...
1
vote
0answers
136 views
What program generates character sprite sheets like this? [duplicate]
I see template sprites like this a lot but cant find what program creates them.
To clarify I am looking for the program or generator that is creating the characters not laying them out. I've seen the ...
0
votes
0answers
68 views
cocos2d Move Sprite using buttons [closed]
Using CCMenu I have create Two Buttons Up and Down Here is the code
CCSprite *normlUp = [CCSprite spriteWithFile:@"Up.png"];
CCSprite *selectedUp = [CCSprite spriteWithFile:@"Up.png"];
...
-3
votes
1answer
140 views
java app goes too slow in android os [closed]
The problem is that my java app contains too many animated sprites and it runs very slowly on android system.
Does the usage of .gif animation instead of sprite animation will improve the speed?
I ...
20
votes
9answers
6k views
Tips and Tools for creating Spritesheet animations
I am looking for a tool that I can use to create sprite sheet easily.
Right now I am using Illustrator, but I can never get the center of the character in the exact position, so it looks like it is ...
4
votes
4answers
565 views
How can I ease the work of getting pixel coordinates from a spritesheet?
When it comes to spritesheets they're usually easier to use, and they're very efficient memory-wise, but the problem that I'm always having is getting the actual position of a sprite from a sheet. ...
-1
votes
2answers
120 views
Why does my sprite animation sometimes runs faster? [closed]
I don't know why each time I call the Update_Animation function, my sprite animation runs faster. Is it caused by gameTime? How to fix it?
Here's the relevant code:
class Character
{
// ...
0
votes
2answers
325 views
Drawing Sprites in Android OpenGL efficiently?
I want to basically give myself some sprite drawing functions (making use of openGL) such as;
draw(Texture,x,y)
I want to do this using OpenGL-ES 2.0 on Android. Since the textures can be varying ...
2
votes
3answers
345 views
Move a 2D sprite into an irregular terrain
With a tile based engine, in my knowledge, is not possible to move a sprite into an irregular terrain. So which are the techniques to use for implementing that?
Maybe an hexagonal tile based engine?
0
votes
1answer
129 views
Using depth buffer on a sprite
I am following this guide:
http://www.cocos2d-iphone.org/wiki/doku.php/prog_guide:tiled_maps
Trying to create a tiled map that also supports multiple layers. The guide says that a way is to use ...
23
votes
8answers
6k views
What is a good tool for producing animated sprites? [closed]
Has anyone come across a software package that allows you to build animations in a similar way to how you can in Flash (i.e. using techniques such as tweens & bones & easings, etc) and then ...
1
vote
1answer
58 views
Issues with background coordinate configuration in objective c with runAction?
In my game I want to have two backgrounds going one after the other creating a continuous loop moving to the left. However, right now one goes, and the other does not follow it.
Here's what I ...
1
vote
2answers
124 views
Defect in polygon sorting [closed]
I have a 2D game with sprites that come from texture atlases. I'm trying to resolve the sorting of my sprites for rendering.
I want two sprites to be ordered by their order of insertion, or z-order, ...
0
votes
3answers
178 views
How to combine multiple sprite sheets from multiple sources (Actionscript/Starling)
In starling, it's faster if you use BitmapText instead of traditional text. Which is well great except for one issue. Right now the sprite sheet I was making was with a single Fla. I just created the ...
0
votes
1answer
184 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 ...
1
vote
1answer
271 views
Sprite Animations in XAML for Windows Phone 8
I'm developing a 2D game for windows phone. It will feature rather simple 2D graphics and animations. I can get most things done using XAML an storyboards for animations. The performance is fine as ...
0
votes
1answer
137 views
xna: Methods for having sprite characters in 3d game?
Methods for having sprite characters in 3d game?
I am making a game much like Doom. The world is 3d but objects and characters are 2d sprites. I am not asking about billboarding objects. I am asking ...
1
vote
3answers
268 views
Question about creating a sprite based 2-D Side Scroller with scaling/zooming [closed]
I'm just wondering if anyone can offer any advice on how best to go about creating a 2-D game with zooming/scaling features akin to the early Samurai Showdown games. In this case it would be a side ...
0
votes
1answer
157 views
Ligdx Box2d : convert box2d coordinates into screen coordinates
I'm new in libgdx and i have a little problem. I created a body in box2d and i want to assign it a sprite; for that i need to get the position of the body,then insert into the main loop the updated ...
7
votes
7answers
585 views
What's the best way of translating a 2D vector into the closest 8-way compass direction?
If you have a 2D vector expressed as x and y, what's a good way of translating that into the closest compass direction?
e.g.
x:+1, y:+1 => NE
x:0, y:+3 => N
x:+10, y:-2 => E // closest ...
8
votes
2answers
240 views
Following a path in a smooth fashion
I am currently making a 2d tower defense game with a static, predetermined lane that the enemies follow (i.e. towers cannot block the path and path finding is not the problem I am trying to solve).
I ...
0
votes
0answers
104 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 ...
4
votes
3answers
328 views
Smooth Sprite Movement - Don't Add Velocity to Position?
I am trying to figure out if there is a way to move a sprite smoothly on the screen at different speeds without stuttering, but keeping the effect that it's moving smoothly; especially at faster ...
10
votes
1answer
289 views
How do I create multiple 2D spotlights?
I'm looking to create a 2D "spotlight" effect that allows a spotlight on multiple entities. I.e., as if several sprites were holding torches. For a single entity (one spotlight), I use a technique ...
5
votes
2answers
318 views
Are 2D art assets typically created at their intended in-game display size?
I'm wondering if game makers create their sprites smaller than their intended in-game size in order to be more efficient or whether doing that produces unacceptable quality.
-6
votes
1answer
310 views
How can I make sprites like diablo's for my soon-to-be isometric rpg? Like in all directions [closed]
(xna newcomer)I can use blender(3d modelling tool). I just can't make people, but if I have to, I'd learn it.
How can I do that? I plan on making a lot of armor sets, equipments too. How would I go ...
1
vote
1answer
378 views
haxe level scrolling
How would level scrolling be implemented with haxe and nme?
I started plying with haxe and currently the only way to display things on screen is by using nme.display.Sprite.
I don't think changing ...
2
votes
2answers
122 views
How can I draw a texture line by line
I wish to draw a texture to the screen line by line (horizontal lines).
Can I do this in xna?
At first I wish to just start at the top of the texture, draw one single horizontal line of pixels and x ...
1
vote
0answers
134 views
Pygame animation with different size sprites
I'm trying to create a simple top-view 2D rpg, in the style of Zelda and Secret of Mana, using PyGame. I've managed to make the beginnings of a game, with an animated character walking around. ...
2
votes
0answers
116 views
Letting the user draw a Polygon Body and Image
In my game, I want to provide the user with a drawing feature.
By free hand drawing, the user creates a polygon shape. Then, in my game implementation, I have to create a body for the found vertices ...
1
vote
1answer
48 views
When to use pygame.sprite.GroupSingle?
I'm doing a game in which i have a ball which is controlled by the keyboard and the goal is to get is out of a maze without touching the walls.
I've added my ball sprite to GroupSprite
vehicle = ...
0
votes
3answers
238 views
Dynamic Sprite Scaling in SDL?
I was wondering if I could get a player sprite effect similar to the one in this video using SDL (without openGL). If not, does anyone know how I might achieve that effect using SDL/OpenGL?
2
votes
1answer
235 views
High volume sprite management in entity component system
I'm working on an entity-component-system based 2.5d game. That is, entities are groups of components that are processed by systems.
I am having a hard time seeing how a sprite rendering system, that ...
1
vote
3answers
1k views
Component-based Rendering
I have component Renderer, that Draws Texture2D (or sprite)
Then I have method OnUpdate, and there should be my rendering code, something like
spriteBatch.Draw(Texture, Vector2.Zero, Color.White)
...
1
vote
1answer
120 views
How to handle sprite speed when objects move using Box2d?
I have a basic platformer using Box2d that works great. However, I now want to stop using my default square, and implement some running and jumping animations.
How can I ensure that:
When running, ...
0
votes
2answers
172 views
Multipule VBO in Opengl [closed]
I have currently in my application 2 VBO one which is a streamed buffer and for the moment the other is a static buffer.
However even when the steam buffer is not bound and the static buffer is bound ...
0
votes
1answer
129 views
Camera Calculation
For my game I don't able to decide what camera resolution I have to use ?
Normally I use 1024x600 landscape resolution of camera for my game and create single graphics for my game.
But I found that ...
1
vote
1answer
184 views
Is using Sprites the most recommended way for doing 2d animations with Directx?
I am working on a game engine of my own and I was using Vertex buffers to create triangles and then draw textures on them. Now I want to extend it so I can do simple 2d animations using "sprite ...
4
votes
3answers
597 views
The right way to add images to Monogame/Windows
I'm starting out with MonoGame. For now, I'm only targeting Windows (desktop -- not Windows 8 specifically).
I've used a couple of XNA products in the past (raw XNA, FlatRedBall, SilverSprite), so I ...
0
votes
1answer
92 views
Use an external sprite or image file in flixel game in flashbuilder
Is there any way to use an external image/sprite file for the graphic of a FlxSprite instance?
Say I declare my player FlxSprite as follows:
player = new FlxSprite(FlxG.width/2 - 5);
...
1
vote
1answer
197 views
Use FlxAnim to Animate a FlxSprite in Flixel on FlashBuilder
I am trying to animate a FlxSprite, whose image I loaded from an embedded sprite sheet. I instantiate the sprite like this:
// embedding a png file given a relative path
...
2
votes
3answers
467 views
How do you maintain content size vs. content quality in a mobile application?
I am developing my first Cocos2d iPhone/iPad game that includes quite a few sprites, I would need approximately 80 different. As this is for both normal and HD displays I have 2x of each sprite. I am ...
1
vote
1answer
518 views
Creating Transparent Game Menu Items using AndEngine
I'm trying to create a Game Menu which contains some Menu Items like
New Game
Multiplayer
Options
Exit
I want to make this Menu Items Transparent. Only Text in White color should be visible.
So i ...
0
votes
1answer
201 views
Player sprite moving slower on iPhone 4
I just finished getting movement/jump animation for a player sprite in Xcode using Cocos2D. The basic movement algorithm is a timer that updates every 0.01 sec, changing the sprite position to ...
1
vote
1answer
90 views
Simple Bounding Sphere Calculations for 2d game
I'm writing a 2d game and have a question regarding the use of bounding spheres.
I'm kind of OK with the math, but I'm confused about one thing.
To work out the distance between the 2 centre points ...



