A 2D rendering of an object in space.

learn more… | top users | synonyms (1)

1
vote
2answers
3k views

How can I draw a simple 2D line in XNA without using 3D primitives and shders

I would like to be able to draw arbitary lines in my sprite based 2D XNA game. How can I draw a simple line on screen in XNA without dealing with vertex arrays or shaders.
1
vote
1answer
452 views

Cocos2D Accelerometer Z axis

I am making a 2D scroller game where the player controls an airplane via the accelerometer I would like to know if it is possible to scale in and to scale out the sprite/airplane using the ...
-1
votes
2answers
184 views

A methodology for creating simple sprite games (without programming technology)

Do you know a manual for creating simple sprite games (without programming technology)? The manual should contain answers to questions like "How to invent the rules", "How to create a very attractive ...
1
vote
3answers
740 views

How to Handle frame rates and synchronizing screen repaints

I would first off say sorry if the title is worded incorrectly. Okay now let me give the scenario I'm creating a 2 player fighting game, An average battle will include a Map (moving/still) and 2 ...
0
votes
4answers
230 views

Actor and Sprite, who should own these properties?

I'm writing sort of a 2D game engine for making the process of creating games easier. It has two classes, Actor and Sprite. Actor is used for interactive elements (the player, enemies, bullets, a ...
0
votes
3answers
523 views

Rotating Sprite around Y-Axis (2D)

I'm going to be creating a game soon, and part of it involves spinning sprites. The sprites will be spinning around the Y-Axis (imagine a spinning plate on top of a stick, where the stick stands up ...
3
votes
1answer
331 views

Scaling sprite velocity / co-ordinatesin Android

I'm trying to find the answer to a question that I've had for a long time, but am having trouble finding it! I hope someone can help :-) I'm trying to find information on how to scale sprite velocity ...
-1
votes
1answer
459 views

What is the cost of custom made 2D game sprites? [duplicate]

Possible Duplicate: How much to pay for artwork in an indie game? I am looking for sprites similar in style to those of Final fantasy Tactics, but with a much higher resolution that will ...
0
votes
1answer
564 views

Getting individual sprites from png sprite sheets?

I'm using BYOB platform to get started in basic game development. I was going to make a quick endless runner with a sprite downloaded from the net. However, those sprites all come in sprite ...
0
votes
1answer
1k 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 ...
4
votes
2answers
858 views

Sprite batching in OpenGL

I've got a JAVA based game with an OpenGL rendering front that is drawing a large amount of sprites every frame (during testing it peaked at 700). Now this game is completely unoptimized. There is no ...
1
vote
1answer
642 views

Can I use remade sprites in my game? [duplicate]

Possible Duplicate: How closely can a game resemble another game without legal problems Can I use remade sprites in my game? I am making a game and I used some sprites, but I didn't copy ...
1
vote
2answers
540 views

Animate sprite/texture position with VBO

I'm currently worlking on a renderer for my projects and I want animate a sprite on screen. I've got a spritesheet but I don't know what is the the best way to update the texture coordinates for each ...
3
votes
2answers
947 views

How do you set the movement speed of a sprite?

I'm using Slick 2D/Java to play around with graphics. Getting an image to move is easy: Input input = gc.getInput(); if(input.isKeyDown(sprite.up)){ sprite.y--; }else if ...
-1
votes
1answer
181 views

Using copyrighted sprites [duplicate]

Possible Duplicate: How closely can a game resemble another game without legal problems I was thinking about making a pacman clone, I know there is a similar question here Using Copyrighted ...
0
votes
1answer
185 views

Are there tools available for building hierarchical sprite-based objects in games like Vector Man or Gunstar Heroes? [duplicate]

Possible Duplicate: Tools for 2D skeletal animation I'm looking for a tool that would let me build multi-part sprite objects of the kind you can find in Sega Genesis games like Vector Man ...
1
vote
1answer
821 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 ...
5
votes
1answer
675 views

Smooth pixels while rotating sprite

I just started with andengine, so this maybe gonna be silly question. How to make my sprites more smooth while I rotate them? Or maybe it because this is screenshot from tablet? Thanks JohnEye it ...
1
vote
2answers
215 views

Which isometric angles can be mirrored (and otherwise transformed) for optimization?

I am working on a basic isometric game, and am struggling to find the correct mirrors. Mirror can be any form of transform. I have managed to get SE out of SW, by scaling the sprite on X axis by -1. ...
2
votes
3answers
375 views

How can I create a spritesheet animation with big images?

If I have a 200x200 pixel sprite, and I want to create an animation for it with 30 different frames, how can I accomplish that? I can't put them on one texture/spritesheet.
1
vote
1answer
374 views

How to I get a rotated sprite to move left or right?

Using Java/Slick 2D, I'm using the mouse to rotate a sprite on the screen and the directional keys (in this case, WASD) to move the spite. Forwards and backwards is easy, just position += ...
1
vote
1answer
519 views

How to make a Sprite using CoreGraphics iOS - Cocos2d-iPhone

I'm trying to make a sprite that uses the graphics that are made with core graphics. I cant seem to find anything to explain how to make shapes using core graphics to create a sprite to use in ...
2
votes
3answers
341 views

Animation with non-uniform frame sizes

How do you know when to draw the next frame if its bounding box is larger/smaller than the current? For example, in KOF, some characters have elastic arms and things of the like..How are these handled ...
0
votes
2answers
480 views

Can't get sprite to rotate correctly? [closed]

I'm attempting to play with graphics using Java/Slick 2d. I'm trying to get my sprite to rotate to wherever the mouse is on the screen and then move accordingly. I figured the best way to do this was ...
3
votes
3answers
174 views

Collision and Graphics integration

I'm a little confused about the integration between collision and graphics. They both need to share the same position in the world. The most obvious choice is the center of the entity, which is good ...
2
votes
3answers
3k views

Sprite sheet generator

I need to generate a sprite sheet with squared sprite for a 2D game. How can I generate a sprite sheet where each frame has x = y? The only think I have to do is to "insert" some blank space between ...
1
vote
2answers
129 views

How to fetch only the sprites in the player's range of motion for collision testing? (2D, axis aligned sprites)

I am working on a 2D sprite game for educational purposes. (In case you want to know, it uses WebGl and Javascript) I've implemented movement using the Euler method (and delta time) to keep things ...
9
votes
1answer
1k views

Xbox thumbstick used to rotate sprite, basic formula makes it “stick” or feel “sticky” at 90 degree intervals! How do you get smooth rotation?

I am using a very basic formula to calculate what angle my sprite (spaceship for example) should be facing based on the Xbox controller thumbstick i.e. you use the thumbstick to rotate the ship. In ...
8
votes
2answers
2k 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 ...
2
votes
1answer
320 views

How can you represent equip-able items in a 2d game?

I've been working on an item system for a post-apocalyptic RPG, with diablo as inspiration, and it would be awesome if I could visually represent an item that can be equipped on the player sprite. I ...
0
votes
2answers
192 views

Looking for feedback on design pattern for simple 2D environment

I'm working in iOS. I am trying to make a very simple 2D environment where there are some basic shapes you can drag around with your finger. These shapes should interact in various ways when dropped ...
2
votes
2answers
12k views

How are 8/16 bit sprites created?

I already found this question, but it only talks about the kind of software used - not the actual methods. Were they drawn at a high resolution first and then shrunk down? Or did you just zoom way in? ...
1
vote
2answers
137 views

Including sprite file for mobile games

I'm making a simple online RPG for Android & IOS using HTML5 & Phonegap and was wondering: should I include sprite file with the game for downloads (because of bandwidth)? What should I do ...
2
votes
1answer
854 views

Android 2D game, shooting and getting animation to stop

I'm developing a game as a learning-process, and since everything I do is new to me, I have alot of problems, usually I can fix it myself but right now I'm stuck and need help. Link to a recording of ...
2
votes
1answer
199 views

XNA Framework sprite vectors and also scaling

I'm working on making my first Pong game with XNA Framework 4.0. Right now i've put 2 pong paddles and a ball (they have separate classes). In the "Paddle" class i've made a function that returns a ...
2
votes
1answer
2k views

AndEngine sprite movement

I want to ask that I have a player in my game. I may walk. I have a image which has five different frames for walk and two frames for standing position. I want to ask that how can I change the images ...
2
votes
2answers
691 views

Changing sprite animation depending on direction

I'm working on an android game where my sprite is controlled by a joystick. I just added an animation to my sprite with 4 rows and 3 columns: Now I want to change the animation of my sprite ...
0
votes
3answers
1k views

Using multiple sprite sheets for same object AndEnginge

I have multiple sprite sheets for my object(Parrot) like eating, moving left to right, right to left and much more. I am using AndEngine gles2.0. How should I implement it? Every time I have to use ...
5
votes
1answer
804 views

Rendering a Sprite with an Effect… how?

gettings tuck doing some 3d Rendering and I think you guys may have a lot more knowledge in it. I am tasked with basically rendering a texture onto a screen, preparing the way to apply graphical ...
1
vote
1answer
2k views

XNA 2D Collision with specific tiles

I am new to game programming and to these sites for help. I am making a 2D game but I can't seem to get the collision between my character and certain tiles. I have a map filled with grass tiles and ...
1
vote
2answers
223 views

How to build Arena-ish level using grid tiles?

I had an idea of procedurally generating arena-type levels in which the player would either fight hordes of enemies, or another skilled opponent. The level would be built at the very start of the ...
1
vote
3answers
314 views

Shaking objects near correct position (with video)

All right, so I'm testing two box objects. One is standing fixed in a position and another at the beginning of the program goes to the first one. And at the end the latter should stand completely over ...
2
votes
1answer
291 views

What exactly are sprites and entities and what are the differences between the two?

Well I was looking at a few game based tutorials, as well as articles. I found out about two terms: Entities and Sprites. Now they seem related but different, what is each and how are they the same ...
-2
votes
1answer
418 views

What's the best 2D animator?

What's the best 2D animator for creating sprite sheet animations for a game? Are there any that match this criteria? Cutout animation (I don't want to have to draw every frame) Exporting to images ...
1
vote
2answers
308 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: ...
4
votes
2answers
402 views

Geometry vs sprites

I'm developing an android game, where the enemies are geometrical shapes. Performance is a main goal for me so I was wondering if defining shapes directly in OpenGL would be more efficient than using ...
3
votes
1answer
655 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 ...
5
votes
3answers
3k 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 ...
2
votes
2answers
257 views

What is a technique for 2D ray-box intersection that is suitable for old console hardware?

I'm working on a Sega Genesis homebrew game (it has a 7mhz 68000 CPU). I'm looking for a way to find the intersection between a particle sprite and a background tile. Particles are represented as a ...
2
votes
2answers
949 views

How does sprite customization in 2D games work?

I´m working on the design of a new game concept at the moment and I would like to know how to handle a customization of sprites. (In 2D that is, hence the topic.) This is my scenario: The player will ...