A 2D rendering of an object in space.
4
votes
3answers
5k views
LibGDX tutorial help Scene2D
I'm having trouble understanding this tutorial. It defines the importance of classes, but it doesn't show an outline of the project file so far. From what I got from that tutorial was that there is ...
2
votes
2answers
405 views
Horizontal wrapping with AndEngine
How would one implement the effect of a sprite disappearing on one side of the screen and appearing on the other using AndEngine? Like in Kid Icarus, seen here at around 1:22.
0
votes
2answers
482 views
How would I generate random falling objects
I'm creating a game using libgdx on Eclipse that is similar to Ragdoll Avalanche. I'm looking for a way to generate falling objects like the triangles of Ragdoll Avalanche. All I know that i have to ...
5
votes
2answers
1k views
How to create life-like sprites from photo or video capture like was done for games like Mortal Kombat 1?
I know they digitized actors but how can I get those same results? How to take a photo or video of someone and digitize it for a 2D game? Digitized sprites were used in several video games through the ...
3
votes
3answers
2k views
Changing the color of a sprite at runtime
Is there a form to change the color of a sprite in runtime?}
I have a black point loaded with an image, but i dont want to load various images with different colors, is there a mode to change the ...
0
votes
3answers
509 views
How to handle many sprites and update?
I am making a game, and I just started to think about how I am going to update and render all the sprites on the screen. Should I store all sprites in some type of list (vector or something?) and then ...
0
votes
1answer
1k views
Creating lots of sprites dynamically in libgdx
I´m creating Groups that contains Sprites and adding bodies with box2D, but when I create many of this my animation gets very slow. How can I handle it?
0
votes
0answers
545 views
Box2d : Sprite display not fit with body when rotated
I have recently achieved to render box2d Objects, and texture with sprites at where the box2d objects exists. But now I am facing another problem.
When I rotate the Box2D object, the sprite gets ...
0
votes
1answer
128 views
trouble in making a game questions?
all i've a little trouble understanding some concepts while making game please give your suggestions on my questions.
I have a animated sprite image this i want to move this image according to given ...
5
votes
2answers
2k views
How to Export Flash Animation Data
I'd love for my partner, the artist, to be able to animate using flash movieclips and timelines. Then I, the programmer, would like to read the raw Flash info and re-program it into my engine of ...
0
votes
1answer
648 views
libgdx spite position relative to body
Apologies if this is a reiteration, as I couldn't find another discussion of this over the past couple days.
Issue:
I'm using libgdx and box2d, and I'm currently updating the sprite's position to ...
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
1answer
1k views
SpriteBatch Draw Using Floats with the Destination Rectangle
So I created a nice little isometric tile engine and I have it so that when you scroll with the mouse it changes a variable called scale. Scale is a float and gets passed through the ...
-1
votes
1answer
210 views
Need ideas on how to give my levels structure
I am making an iOS game for a project at school. It is going to be a tiny bit like Fruit Ninja, as in it will have different things on the screen, and when you hit them, they die, and you get points. ...
0
votes
2answers
331 views
Detecting collision between a sprite and many tiles
I have been looking at the following question:- Tile coordinates and am thinking of using this for collision detection in my tile game.
The set up in my game is similar to this, in that there is a ...
0
votes
1answer
489 views
Moving a sprite over a tile map
I am working on a tile based game in Java. I have a 2D array of tiles (JComponents) in a GridLayout, this is fine for creating the world (I think), but I am stumped at how to move the sprite smoothly ...
0
votes
2answers
2k views
Box2d and sprites
i have really little practice with box2d, but basically it seems to me that it is possible
to attach to every sprite (in a 2d game) a box2d shape (that is, a bounding box enclosing the sprite itself) ...
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)
...
0
votes
1answer
2k views
How to know if an actor is touched in libgdx?
I am using "Gdx.input.isTouched()" in the render method of my Screen method, to know where is touched, but when the touch is dragged in the screen, it also activates the events i want only when an ...
2
votes
2answers
2k views
Sprite-sheets vs Sprites/MovieClips in Flash
We create 3D models in Maya2011 and create PNGs and import the bunch into Adobe Flash CS5 to create a sprite.
I read somewhere that sprite-sheets can save space over making the sprite in Flash. How ...
5
votes
1answer
396 views
Creating graphics at different angles for sprites
I am developing a Java game that uses sprites for the graphics. It's just a top down shooter and our ship sprites look like the following:
These work fine, but they're hard to create and the artist ...
2
votes
1answer
749 views
Relative and absolute position with sprites in libgdx
In libgdx, can i add a sprite as children of another an set it with the relative coordinates of the father and not the stage?
Like in HTML when you add controls they are relative to its parent, but ...
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 ...
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 ...
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 ...
8
votes
5answers
2k views
How can I handle sprite sheets with nonuniform sprite dimensions?
For a spritesheet with non-uniform sprite dimensions, how can I get the bounding-rectangles for each individual sprite (i.e. the blue boxes in the following image / I only drew a few examples)?
What ...
9
votes
2answers
733 views
How do character/object interaction animations work in isometric games?
I am planning an isometric business simulation game where the player sees an office with the usual furniture such as desks, whiteboards etc.
Characters (Staff/NPC's) within the game should interact ...
1
vote
1answer
376 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 ...
0
votes
3answers
1k views
Sprite Animation Software That Works With Cocos2D
So the title basically says it all. I'm looking for software that would help me to create sprite animations that I could use with cocos2d by allowing me to pose a a sprite and the software create ...
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 ...
-8
votes
1answer
240 views
I need Tutorial on animating sprites for non developers [closed]
I need a very detailed website, tutorial or article that explains how to design animation sprites for iPhone games. Most preferably the article should be suitable for people with no coding ...
2
votes
1answer
323 views
Is there a technique to creating a “black hole” background in XNA?
I'm creating application in XNA 4.0 and am trying to create a specialized background.
I'm familiar with the creation of a parallax scrolling background but I'd like to create a background image that ...
10
votes
4answers
694 views
Player moving up, is he jumping or climbing?
In a 2D physics-based platformer game that has ladders in it, how do you determine whether the player moving up is caused by a jump or him climbing a ladder, such that you know what animation to play? ...
1
vote
2answers
242 views
Quarter turn sprite sheets?
I'm having trouble finding sprite sheets that have the characters turn in 8th movements, so that you can see back, front, left, right, and in between. What would be a good term to search for when ...
0
votes
0answers
206 views
detect sprites by tag in parallax
I've created 3 layers and added to a parallax node in my game play scene;
I don't know why it crashes when I'm enabling touch, self.isTouchEnabled = YES; on one of my layers; I want that touch to be ...
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 ...
3
votes
1answer
2k views
Rendering shadow sprites in cocos2d-x
I am writing a 2D game with cocos2d-x. I want to put a "shadow" sprite on a background sprite using the equation:
MAX(0, Cd * 1 - Cs * S)
where Cd is the destination color (that is, a background ...
2
votes
1answer
566 views
How to move a 2d sprite to a target location while avoiding obstacles?
How can I get a 2d sprite to move to a position clicked on the screen, without bumping into other objects? I'm programming in java using the android API library
I have created a surface view and ...
-1
votes
1answer
327 views
How can I create a simple, sprite-based Mac game in Xcode? [closed]
I am using Xcode and I am new to Objective-C and Cocoa programming. I want to create a very simple sprite game in Xcode, but I do not know what code I should type or where/how to get started.
It's a ...
3
votes
3answers
3k views
Bounding box of a rotated rectangle (2d)
I can see this has been asked before in various ways. I am struggling to work it out though hence asking again.
2d sprite that moves and rotates. I'm looking to contain it in a bounding box as it ...
1
vote
1answer
873 views
DirectX 2D Sprite Texture
I am trying to make DirectX display a sprite from a sprite sheet I found on the internet but it doesn't seem to be displaying the texture in the correct position as I am specifying it.
D3DXVECTOR2 ...
2
votes
2answers
2k views
Cocos2d rotating sprite while moving with CCBezierBy
I've done my moving actions which consists of sequences of CCBezierBy. However I would like the sprite to rotate by following the direction of the movement (like an airplane). How sould I do this with ...
3
votes
2answers
567 views
SpriteSheet Animation with XNA
Hi i'm working on my First 2D Game with XNA and I have a little problem.
To give a running effect to my Sprite, I scroll through a SpriteSheet with this code(running right):
if (AnimationDelay == 6)
...
0
votes
1answer
758 views
Make a basic running sprite effect
I'm building my very first game with XNA and i'm trying to get my sprite to run.
Everything is working fine for the first sprite.
E.g : if I go right(D) my sprite is looking right , if I go left(A) my ...
7
votes
1answer
576 views
2d, Top-down map with different levels
So, I'm creating a 2d, top down, sprite based (tiled) game, and right now I'm working on maps (well, a map editor at the moment, but it will be creating my maps, so basically the same thing).
The ...
0
votes
0answers
107 views
How can I change this isometric engine to make it so that you could distinguish between blocks that are on different planes? [duplicate]
Possible Duplicate:
Can you shade a specific section of a sprite? If so, how?
The terrain is randomly generated. Here is a screenshot:
http://i44.tinypic.com/qxqlix.jpg
I think you can see ...
7
votes
3answers
981 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 ...
4
votes
3answers
4k views
Are there any good 2D fighting game engines that can be used to make a commercial product?
I'm looking for a good 2D fighting game engine based on sprites. I really dont care much about which language that it is programmed in. Specifically I'm looking for an engine I can use for a game I ...
0
votes
1answer
1k views
SFML - Moving a sprite on mouseclick
I want to be able to move a sprite from a current location to another based upon where the user clicks in the window. This is the code that I have:
#include <SFML/Graphics.hpp>
int main()
{
...
2
votes
1answer
1k views
Objective-c Cocos2d moving a sprite
I hope someone knows how to do the following with cocos2d:
I want a sprite to move but not in a single line by using
[cocosGuy runAction: [CCMoveTo actionWithDuration:1 position:location]];
What ...