A 2D rendering of an object in space.

learn more… | top users | synonyms (1)

31
votes
2answers
2k views

In a browser, is it best to use one huge spritesheet or many (10000) different PNG's?

I'm creating a game in jQuery, where I use about 10000 32x32 tiles. Until now, I have been using them all separately (no sprite sheet). An average map uses about 2000 tiles (sometimes re-used PNG's ...
2
votes
1answer
397 views

Rendering an explosion in 3D Studio Max to a spritesheet?

I'd like to render a 3D explosion in 3DS Max but into a sprite sheet. My main problem is that I need to use alpha values instead of the viewport background (which is usually black). Any ideas how I ...
2
votes
2answers
1k views

State of the art in image compression?

I'm looking for good algorithms for compressing textures offline (ie decompressing them at install or load time, I know about using DXT/3DC to save runtime video memory, but these create awful visual ...
-3
votes
2answers
3k views

Unity: 2D problem (I'm using Orthello package but any advice appreciated)

So instead of dishing out 150$ for SpriteManager 2 (Unity Package), I've been playing around with Orthello which a free SpriteManager package. I got most of everything I'd like working and it was ...
3
votes
2answers
667 views

XNA 4.0: Trouble Aligning an Animating Sprite (Texture Origin)

I'll try to explain this as best as I can. I'm trying to build a game where there exists a "Surfer" who is surfing down a rail. I have a sprite sheet for the surfer however I have been running into ...
1
vote
2answers
355 views

XNA 4.0: Animating a moving 2D sprite (not via user input)

I see a lot of tutorials explaining how to do 2D Sprite Animation with sprite sheets, based on the user's input (i.e. Move Left, Move Right ) etc.. etc.. I have already incorporated an ...
3
votes
3answers
405 views

How can I get a list of sprites which are being drawn in the current viewport using XNA?

Just starting out using XNA to draw 3D scenes and have a question about determining which objects are currently visible. If I load many thousands of sprites and shapes in a scene, then render the ...
1
vote
2answers
2k views

Create a body of an irregular 2D sprite in Farseer

I'm trying to create a body of a irregular 2D sprite Farseer 3.3.1. The regular shapes that BodyFactory provides are not that I want. Is there a way that one can create irregular objects? Could it be ...
15
votes
2answers
2k views

How to properly handle the landing part in a jump animation

Look at this sprite sheet. It is clear that frame 1-3 are the "jump up" frames after which the last frame will be fixed until the "peak" of the jump (when gravity starts pulling back). When moving ...
2
votes
1answer
337 views

Sprite vs 3d Model in Flash Facebook Game

I'm looking at creating a real time strategy/tower defense mashup game for facebook (and other platforms like google+) along the same feel, but of course different mechanics, as backyard monsters. ...
5
votes
1answer
678 views

Separating Sprites from Models with PyGame

So I'm trying to code a game using the Model-View-Controller pattern, and therefore have a need to separate the models for my game objects with their sprite representations. The problem that I'm ...
4
votes
2answers
933 views

2D sprites in 3D space?

How can I draw a 2D sprite to look like it's at a particular placement in the 3D world? My goal is to use this as loose items in the world. Minecraft Example: ...
0
votes
1answer
576 views

Minimalistic JavaScript sprite manipulation libraries

Are there (or can someone recommend) any minimalistic JavaScript based libraries for sprite(s) manipulation? Preferably DOM oriented.
2
votes
1answer
343 views

What is an OpenGL equivalent to ID3DXSprite?

As a Direct3D developer I can use the ID3DXSprite class (in D3DX library) for drawing 2D graphics. What's the best way to implement this functionality in OpenGL?
3
votes
2answers
2k views

Turning model from 3ds max file into sprite

I'm planning to buy animated 3D assets to render and use as 2D sprites in my game, but i don't know anything about 3ds max or own any software. How do i render the animations (i need top-down ones) to ...
0
votes
2answers
919 views

How to coordinate sprites, player's position and collisions in a Bomberman-like 2D game?

I'm programming a Bomberman in Java (my first game) and I'm having problems with the player's sprites and position in the map. I'm using a 2D integer array to represent: Unbreakable blocks ...
23
votes
2answers
853 views

Algorithm for spreading labels in a visually appealing and intuitive way

Short version Is there a design pattern for distributing vehicle labels in a non-overlapping fashion, placing them as close as possible to the vehicle they refer to? If not, is any of the method I ...
9
votes
6answers
13k views

Where to hire 2D sprite artists? [closed]

I'm looking for high quality original 2D sprite collections which are animated where appropriate. (IE not simply collections I can buy, we want original work). I've had a look online but am ...
2
votes
0answers
333 views

Free animation/sprite art [duplicate]

Possible Duplicate: Where can I find free sprites and images? I am looking for free to use (commercially) art for a small app I am making. Specifically I need some sort of animal (any ...
5
votes
4answers
1k views

Anyone know of an online resource with spritesheets from classic games? [closed]

I'm looking for spritesheets for classic retro games, and old home computer games (c64, amiga etc.) Does anyone know of a source online?
3
votes
1answer
688 views

How do you get textures out of a png file

I have 1 png of many different textures. I want to use these textures in my iphone game using cocos2d. I found the program "Zwoptex" where you can combine many textures to one png and create a plist ...
4
votes
1answer
1k views

Turning a sprite such that it rotates in the direction that's most efficient

I have a sprite that moves from waypoint to waypoint. It turns to face its velocity vector, but not instantly (there's a rotation speed). The problem I'm having is, from one direction to another, the ...
6
votes
2answers
3k views

How do I access variables in the Game1 class from another class in XNA?

I'm trying to write a SpriteManager class in XNA, but I need access to the Game variables. For example, the Game.Content property would be very helpful in loading textures, and ...
6
votes
2answers
1k views

How to do smooth sprite movement on WP7 XNA

What's the correct technique for getting smooth sprite translations with XNA? I've been developing the WP7 version of an app for a startup, so when we heard Angry Birds got ported today we wanted to ...
1
vote
1answer
4k views

Where to find free platformer sprites for commercial use? [duplicate]

Possible Duplicate: Where can I find free sprites and images? I need some good 2d platformer sprites for a game i am making in C#. Can anyone suggest a good site or link? The sprites need ...
4
votes
1answer
806 views

Using raw vertex information for sprites rather than SpriteBatch in XNA

I have been wondering whether using SpriteBatch is the best option. Obviously for prototyping or small games it works well. However, I've been wanting to apply techniques such as shaders and lighting ...
6
votes
5answers
1k views

(Where) Can I learn to create art for my 2D games?

I'm currently bad at drawing. If I want to create something looking acceptable, it usually takes me hours and hours to fiddle around just to get the basic looks right. I think that I'm not completely ...
3
votes
1answer
154 views

Coordinate based travel through multi-line path over elapsed time

I have implemented A* Path finding to decide the course of a sprite through multiple waypoints. I have done this for point A to point B locations but am having trouble with multiple waypoints, because ...
2
votes
2answers
334 views

How do you handle animations that are for transitioning between states?

How does one usually handle animations that are for going between a game object's states? For example, imagine a very simple game in which a character can only crouch or stand normally. Currently, I ...
8
votes
2answers
1k views

Scale my pixel art files when designing them or when rendering?

If I create pixel art files that need to be scaled up on the screen later, so that a single pixel becomes a box of 4 pixels. Should I create my pixel art with 2x2 pixels or should I create it with 1x1 ...
2
votes
2answers
446 views

TileBased Game: Blitting Hero or Sprite?

So my environment is all set up and now I'm working on the movement physics of my character. I used blitting to copy over my tiles from a tilesheet. But since they are static, they are only copied ...
2
votes
1answer
555 views

DX9 sprite / font draw depth order

I need the ability to order the drawing of sprites and fonts. Some sprites need to be drawn behind and some in front of text. My problem is that my sprites and fonts use separate Begin() End() calls ...
2
votes
1answer
2k views

OpenGLES 2.0: Rendering Multiple Sprites - Texel Corruption

I'm having a tremendous time getting the second (or additional) sprites in my game engine to render properly. The first one always works great: it is positioned and sized properly in screen coords, ...
1
vote
2answers
829 views

Getting 2D Platformer entity collision Response Correct (side-to-side + jumping/landing on heads)

I've been working on a 2D (tile based) 2D platformer for iOS and I've got basic entity collision detection working, but there's just something not right about it and I can't quite figure out how to ...
13
votes
4answers
2k views

Where can I go to find a game graphic artist? [closed]

Where's a good place to post to find a decent game artist to create a small number of 32-bit sprites? This is for an internal code war framework so it's minimal work - maybe a couple of hours. Any ...
3
votes
3answers
1k views

How to animate a character from a sprite sheet?

I'm making an online game, and I had been using a blank square as the character until recently. Now I want to add a real, animated character. I downloaded a free sprite sheet which has 12 (3x4) ...
4
votes
1answer
2k views

Should I be subclassing CCSprites?

When I am working with cocos2d I can add CCSprites to the layer or 'stage' and manipulate them. Now, to do my ongoing calculations for movement AI and such, things that will always run, should I: ...
2
votes
2answers
367 views

How optimal do you think maintianing states in a sprite class?

Currently i'm working on a sprite system which will have frames which make animations. Usually a sprite contains current position, current frame number to be displayed in the running animation, ...
5
votes
2answers
643 views

How can I handle a 2d game with tens of thousands of sprites rendering at the same time?

we are trying to make a small 2d game which requires an excessive amount of sprites spawning and moving around the screen at the same time. We did try doing this in python but it started choking at ...
3
votes
2answers
734 views

How to store character moves (sprite animations)?

So I'm thinking about making a small rpg, mainly to test out different design patterns I've been learning about. But the one question that I'm not too sure on how to approach is how to store an array ...
0
votes
1answer
564 views

Position of XNA.Rectangle is changing the position a spritre is rendered to?

I'm having this weird problem where the position ocmponent of a rectangle of the XNA type is offsetting the position the sprite is rendered to as well. I guess a broader question I'm trying to have ...
1
vote
3answers
639 views

sprite group doesn't support indexing

I have a sprite group created with pygame.sprite.Group() (and add sprites to it with the add method) How would I retrieve the nth sprite in this group? Code like this does not work: mygroup = ...
1
vote
2answers
289 views

shuffle a sprite group

Is there a way to shufle a group of sprites created with: pygame.sprite.Group() I have tried using random.shuffle but it apparently doesn't work on sprite groups.
5
votes
3answers
1k views

Designing for multiple screen resolutions and aspect ratios, target one resolution then scale to meet others or use normalized values?

I feel like what I'm currently doing is stupid but would just like reaffirmation it is. Basically I'm writing games which target a certain screen resolution (800x480), so all positions, widths and ...
5
votes
3answers
791 views

Simulate 3D with 2D sprites

I was thinking about 2D games (like Starcraft), where the sprites are in two dimensions, but the objects that are "higher" in the screen are behind the other objects (I think this is obvious when you ...
5
votes
4answers
2k views

Differently-sized sprites?

I'm still at the very early stages of my game design -- nowhere near actually needing the sprites yet -- but a thought occurred to me: What's the best way to approach sprites of different dimensions? ...
8
votes
2answers
1k views

Sprite sheet or multiple resources

When animating for the Android platform is it a better practice to create a sprite sheet with multiple states for each sprite on a single picture or should I instead export individual images for each ...
12
votes
5answers
1k views

Sprites as Actors

I'm not experienced in Game Development questions, but as a programmer. In the language Scala, you can have scalable multi-tasking with Actors, very stable, as I hear. You can even have hundreds of ...
3
votes
2answers
525 views

Sprites are sometimes blurry in Flash

I am playing around with drawing an SVG sprite (imported in through [Embed]). Depending on the coordinates of the image, sometimes it appears more crisp than others. The following image shows how at ...
0
votes
2answers
3k views

How do I draw a point sprite using OpenGL ES on Android?

Edit: I'm using the GL enum, which is incorrect since it's not part of OpenGL ES (see my answer). I should have used GL10, GL11 or GL20 instead. Here's a few snippets of what I have so far... ...