A 2D rendering of an object in space.
175
votes
25answers
63k views
Where can I find free sprites and images? [closed]
I need sprites and images, such as characters, landscapes and others. Where can I find them?
19
votes
3answers
4k views
How do you approach resolution independence in raster based graphics content?
Those games that are not fortunate enough to run on a locked platform spec, like handhelds, need to run across various resolution formats and aspect ratios.
In a 3D game you might have a HUD or menu ...
4
votes
2answers
1k views
Move sprite in the direction it is facing?
I'm using Java/Slick 2D. I'm trying to use the mouse to rotate the sprite and the arrow keys to move the sprite. I can get the sprite to rotate no problem, but I cannot get it to move in the direction ...
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 ...
6
votes
3answers
1k views
Is there a simple way to group two or more sprites, so all of them will be dependent on each other?
I think that this question is very similar to this one, but I'm not sure if the answers are universal.
So, my goal is:
Place two sprites in fixed position, for example player and his eyes
Make ...
7
votes
6answers
5k 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 ...
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 ...
9
votes
4answers
868 views
Where can I go to find a game graphic artist?
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 ...
7
votes
7answers
590 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 ...
2
votes
1answer
413 views
How do I make a jumping dolphin rotate realistically?
I want to program a dolphin that jumps and rotates like a real dolphin. Jumping is not the problem, but I don't know how to make the rotation. At the moment, my dolphin rotates a little weird. But I ...
4
votes
3answers
2k views
Where can I find pixel-art artist? [duplicate]
Possible Duplicate:
Where can I go to find a game graphic artist?
I'm pretty good programmer, and I want to create new pixel-art-game. I know how to program, visualise and optimize the ...
8
votes
3answers
6k views
Rendering performance for Flash games
I was reading on SO about native flash rendering vs building a custom BitmapData frame buffer and some of the answers were a bit conflicting, so I was wondering:
Is it generally best practice to go ...
7
votes
4answers
14k views
Free to use resources for 2d platformer Sprites [closed]
I've looked at a couple other questions about Sprites but most seem to apply to Isometric or RPG related sprites. So I'm wondering if there is a decent place for 2D side scrolling plat-former type ...
7
votes
2answers
4k views
How do I disable texture filtering for sprite scaling in XNA 4.0?
I have a sprite that I'm trying to scale up in XNA, but XNA is applying some sort of texture filtering that smooths it and makes it look ugly. I'd like it to just do pixel doubling instead of ...
6
votes
4answers
3k views
sprite animation in openGL
I am facing problems on implementing sprite animation in openGL ES.
I've googled it and the only thing i am getting is the Tutorial implementing via Canvas.
I know the way but I am having problems in ...
6
votes
3answers
2k views
2D Top down view maps
I was wondering how this works.
Do you load the complete map when the game starts up, or do you load parts of the map at runtime?
And how would you save the maps? Would it be in XML or some binary ...
3
votes
1answer
836 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 ...
4
votes
2answers
432 views
How to decompose sprite sheet
I have a lot of spritesheets that are poorly formatted that I want to decompose, or split out into many small images, one for each sprite.
If I can do that, I can use my custom texture packer tool to ...
3
votes
1answer
739 views
How to create a 2D region where sprites are automatically wrapped?
Edit
Finally managed to get this to work, after two separate questions! Here's a video demonstration:
http://www.youtube.com/watch?v=nZ7e0jegvs0
Will write an article about it later when I have a ...
2
votes
1answer
593 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 ...
0
votes
1answer
573 views
rotate sprite and shooting bullets from the end of a cannon [duplicate]
Possible Duplicate:
How to Align Gun with Bullets
Hi all i have a problem in my Andengine code,
I need , when I touch the screen, shoot a bullet from the cannon (in the same direction of ...
15
votes
5answers
2k views
Sprite Animation Best Practices
I'd like to get a better handle on how people in the real world are handling their animation.
Do you load 1 large image and then draw different rectangles based on the animation frame?
Do you load X ...
5
votes
4answers
714 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 ...
17
votes
7answers
3k views
Efficient way of drawing outlines around sprites
I'm using XNA to program a game, and have been experimenting with various ways to achieve a 'selected' effect on my sprites. The trouble I am having is that each clickable that is drawn in the ...
12
votes
5answers
2k views
Tools for generating texture atlases/sprites from source images? [closed]
Is there an industry standard file format for texture atlases?
What are the apps that take a directory of images and turns it into a texture atlas png and a text file describing what's on it?
This ...
5
votes
2answers
2k views
Oscillating Sprite Movement in XNA
I'm working on a 2d game and am looking to make a sprite move horizontally across the screen in XNA while oscillating vertically (basically I want the movement to look like a sin wave). Currently for ...
4
votes
3answers
2k views
Player sprite animation in 2D platform game
It's pretty easy to get animations rolling from a sprite sheet. Though which ways there are on combining the animations with player dynamics and motion?
I've figured there's two starting points ...
2
votes
1answer
1k views
How to “swing” bounding box and update collision for sprite swinging a weapon?
I have a simple question about sprite swinging weapons. I am making an RPG and would like something other than stabby-swords, so why not swinging swords?
I have a bounding rectangle for them, and the ...
0
votes
5answers
422 views
Collision detection logic
Edit 2
In the following picture sprite1 (the red square) is hitting the platform from the left, so:
sprite1_rightEdge>platformSprite leftEdge
would be true, so I can simply reposition ...
6
votes
7answers
1k views
Can I use copyrighted sprites for a demo?
I just had a quick question and wanted everyone's opinions.
I'm making a 2D demo game for a resume which I want to post online. I'm applying as a programmer position so I don't really have my own ...
4
votes
1answer
313 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 ...
4
votes
2answers
2k views
How to rotate “stacked sprites” in XNA?
I'm working on a simple Sinistar-style shooter in XNA, and I'm constantly running into trouble with transformations. I feel like I'll get it eventually, but this problem is really bending my mind.
...
6
votes
2answers
901 views
Best way to do large XNA animations?
What's the best way to have large animations in XNA 4.0? I have created a spritesheet with the sprite being 250x400 (more of an image than a sprite but hey ho) and there are approximately 45 frames in ...
4
votes
3answers
611 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 ...
4
votes
2answers
798 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: ...
3
votes
1answer
202 views
Combining multiple sprites vs separate sprites
I have a character which can hold ten types of weapons.
Should I:
Create ten sets of animations for the character with each weapon
Create animations for each weapon, and programmatically draw them ...
1
vote
1answer
550 views
Sprite animation in openGL - Some frames are being skipped
Earlier, I was facing problems on implementing sprite animation in openGL ES.
Now its being sorted up. But the problem that i am facing now is that some of my frames are being skipped when a bullet(a ...
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 ...
0
votes
1answer
138 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 ...
9
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 ...
7
votes
3answers
980 views
How do I adjust the origin of rotation for a group of sprites?
I am currently grouping sprites together, then applying a rotation transformation on draw:
private void UpdateMatrix(ref Vector2 origin, float radians)
{
Vector3 matrixorigin = new ...
2
votes
1answer
216 views
Space Invaders-type game: Keeping the enemies aligned with each other as they turn around?
OK, so here's the lowdown of the problem I'm trying to solve.
I'm developing a game in PyGame that's a cross between Space Invaders and Columns. I'm trying to make the motion of the enemies similar ...
1
vote
1answer
234 views
Managing sprite sheets for animation [closed]
I am trying to use a sprite sheet for animation but I'm having some trouble with my implementation. The three key things that I require my code to do are:
Play through a set of images once, for ...
1
vote
2answers
264 views
Using Copyrighted Images
I was thinking about developing a sidescrolling platformer very similar to an old Mario and Luigi game for NES. To start out I was thinking about taking the images from a site like this:
...
1
vote
2answers
2k views
Tutorial or Example of creating custom sprite tool/map editor for XNA?
I want to create various sprite tool and map editor using XNA. Now, the problem is I do not know how would I implement the window forms and components (such as button, check box, sprite list, etc.) ...
1
vote
1answer
387 views
Top-Down mapping with GLEED2D: Collision and Faux 3D
This is just a theoretical question. I was thinking of using GLEED2D to map a top-down game (I haven't decided on what type, but that shouldn't matter for this question.). I chose GLEED2D because I ...
1
vote
2answers
227 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.
0
votes
0answers
105 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 ...
0
votes
2answers
176 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
188 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 ...