Tagged Questions
1
vote
2answers
71 views
OpenGL ES 2.0: 2D game rendering, no performance gain with glDraw call batching
I just did a small benchmark. To my surprise batching sprites into a single draw call doesn't give any significant performance boost. Following are my results:
Hardware: iPod touch 4
Extra info: ...
-1
votes
1answer
65 views
How would you program sprite movement in a 2-D ariel view rpg game?
I'm relatively new to programming and I have recently programmed an RPG game in java.
Any tips on character movement with animations? I would like it to be similar to those of other rpg games such as ...
2
votes
1answer
154 views
How should a programmer get started with creating 2D Sprites? [duplicate]
I am a programmer. Given a sprite sheet, I can code game as per the requirements. But I do not know how to create these sprites. I use Cocos2D. And I do not know where to begin. I have never done ...
1
vote
1answer
53 views
How to attach one sprite to another in LibGDX?
I want to attach one sprite to another so that it is always located at the 'bottom' of the other sprite, regardless of how the main sprite is rotated.
0
votes
0answers
162 views
Optimal OpenGL 2D Sprite Batching (Best Practice)
I am working on simple 2D engine using OpenGL (3.3+) for rendering and was wondering what the optimal method of sprite batching would be. I plan to put all sprites into one (or fewer) texture atlases. ...
-1
votes
1answer
99 views
Drawing multiple sprites with clear screen for every frame
I googled with best of my skills, but I cannot find any relevant answer to my problem. I'm making a game with an isometric view. I need to draw multiple sprites on the screen and before switching to ...
-1
votes
2answers
237 views
Software to create anime-looking animation? [closed]
I'm looking for a software for the creation of anime-like sprites. Look at those:
Those are hand-drawn. I want to generate sprites with that look, but in several (thousands) positions, in order to ...
0
votes
2answers
329 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 ...
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, ...
1
vote
1answer
273 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 ...
4
votes
3answers
331 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 ...
5
votes
2answers
320 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
312 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 ...
10
votes
1answer
290 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 ...
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 ...
2
votes
2answers
203 views
What kind of projection is used here?
Tibia is a 2d game, but it's sprites are drawn using certain kind of orthographic projection that is not the same I'm used to:
I'm trying to figure out what projection is used here. I've guessed ...
8
votes
1answer
261 views
Optimal sprite size for rotations
I am making a sprite based game, and I have a bunch of images that I get in a ridiculously large resolution and I scale them to the desired sprite size (for example 64x64 pixels) before converting ...
3
votes
1answer
241 views
Batching dynamic sprites in OpenGL
I'm trying to wrap my head around how batching is done in a 2D sprite-based game. My understanding is I'd get the vertices that represent each sprite I want to draw and stuff them all into a single ...
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 ...
-1
votes
1answer
249 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 ...
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
101 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 ...
0
votes
2answers
169 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
1answer
604 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
2answers
341 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 ...
-2
votes
1answer
351 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
563 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 ...
1
vote
1answer
1k 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
193 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 ...
0
votes
2answers
76 views
Crash when trying to detect touch [closed]
I've got a character in a 2D game using surfaceView that I want to be able to move using a button (eventually a joystick), but my game crashes as soon as I try to move my sprite.
This is my ...
1
vote
2answers
693 views
2D animation example in pyglet (python) looping through 2 images/sprites every x seconds
Suppose you have two images: step1.png and step2.png .
Can anyone show me a very simple example in pyglet how to loop through those 2 images say every 0.5 seconds?
The character doesn't have to ...
6
votes
2answers
270 views
Algorithm to reduce a bitmap mask to a list of rectangles?
Before I go spend an afternoon writing this myself, I thought I'd ask if there was an implementation already available --even just as a reference. The first image is an example of a bitmap mask that I ...
-4
votes
1answer
700 views
2D top down game - XNA or Unity? [closed]
Hey I want to develop a top down 2D game, probably with Sprites (although 3D models with a fixed camera is an option too).
I know it's not a very specific question - but generally speaking which is ...
0
votes
3answers
422 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 ...
5
votes
2answers
541 views
Alternatives to multiple sprite batches for achieving 2D particle system depth
In my 2D XNA game, I render all my sprites with a single sprite batch using SpriteSortMode.BackToFront and BlendState.AlphaBlend.
I'm adding a particle system based on the App Hub particles sample. ...
0
votes
4answers
594 views
How powerful is modern hardware for complex, intensive 2D graphics?
I am embarking on a massive (image quality, file size, high frame count) project. I am still working on the basic engine, but have a big question that I would like answered before I begin testing. (It ...
1
vote
1answer
245 views
What should my map creation workflow be for a turn-based tactics game?
I am planning to make a tile turn-based game like Final Fantasy Tactics. Now, I am brainstorming of how can I implements the map arena system (the battle arena where there are block by block tile so ...
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 ...
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 ...
3
votes
1answer
735 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 ...
1
vote
1answer
872 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 ...
7
votes
1answer
574 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 ...
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 ...
3
votes
2answers
523 views
Better to use fixed sprite size or variable sprite sizes in a sprite sheet?
you have N frames for an animation (an idle animation for example) of a 2D character. What is the best resolution to use for each frame? The problem is that if you save the N frames such that each of ...
2
votes
1answer
507 views
Rotating a group of sprites - How to calculate origin
I am rotating a group of sprites in XNA, which I developed with the help of the following example: http://msdn.microsoft.com/en-us/library/bb194912%28v=xnagamestudio.10%29.aspx
It all works very ...
2
votes
2answers
609 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
2k 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 ...
2
votes
2answers
555 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 ...

