0
votes
1answer
140 views

How do I rotate and flip 2D sprites stored in a 1D array of pixels?

I am using a 1D array of pixels for rendering in 2D in java. I am interested in rotation (in radians) and mirroring across the x and y axes. The desired result looks something like this: Public void ...
0
votes
2answers
48 views

What is the easiest and fastest way to display an SDL_Surface in a window with SDL2?

I would like to have an SDL_Surface representing the contents of the window, just like in the old days with SDL1.2. What is the best and fastest way to do it in SDL2? What I found is that I need an ...
1
vote
1answer
88 views

2D how to add graphics for liquid physics?

I was always wondering how to add the graphics to a a blob body for example, regardless of what engine or library you are using, i want to know (theoratically) how to move from this state : ...
13
votes
4answers
612 views

How to implement soft edge areas with particles

My game is created using Phaser, but the question itself is engine-agnostic. In my game I have several environments, essentially polygonal areas that player characters can move into and be affected ...
0
votes
1answer
77 views

TiledMap resizing and aspect ratio with LibGDX

I'm making a game and I don't know how to resize my TiledMap when the window is bigger but keeping its squared shape. Here is a screen: When I change window size, here's what happens: I want ...
7
votes
2answers
933 views

What kind of projection is demonstrated in this screenshot?

I want to know what projection is used in the following game: The game is Goodgame Empire.
0
votes
1answer
178 views

How to add a nice looking muzzle flash to the tip of my guns [closed]

I am making a top down shooter and would like to add a muzzle flash to the tips of my guns. So I have an idea of what I want to do which would be just a circle that would fade from yellow to white or ...
0
votes
1answer
48 views

How can I load a picture with alpha channel in JME?

This code loads a picture into the game: Picture mypic= new Picture("mypic"); Texture2D tex = (Texture2D) assetManager.loadTexture("Textures/mypic.png"); ...
-1
votes
1answer
64 views

How do I detect how much of an object has been “cleaned” by the player?

I want to let the player wipe some dust off of a book, then start a short animation. Here's what it looks like: I'm using a clipping region on the "dusty" book bitmap image to progressively hide ...
1
vote
1answer
49 views

Vertexquads are not being drawn in 2D space

I started teaching myself DirectX a short time ago and have come across a problem which I can't figure out by myself unfortunately. I'm trying to build my own font system, so I can draw strings in 2D ...
1
vote
2answers
184 views

XNA blurring moving images

Why does XNA blurs the images which moves less than 1px in between two draws? It is quite annoying, because everything looks really blurry. Is there a way to disable it? I have tried to set the ...
5
votes
1answer
5k views

Multiple resolutions for Unity 2D Android game

I'm trying to target as many devices as possible by providing a consistent experience. So I'm trying to make sure the aspect ratio fits each device it's played on. After reading some forums and ...
2
votes
2answers
144 views

Isometric objects are mapped incorrect angle, but the map is fine. What am I missing?

I laid out my iso map and it's fine, but when I add my sprite actors they get located in the correct location but they are laying down not standing up. I tried rotating them on the z by 45 but then ...
0
votes
1answer
241 views

Scaling background without scaling foreground in platformer?

I'm currently developing a platform game and I've run into a problem with scaling resolutions. I want a different resolution of the game to still display the foreground unscaled (characters, tiles, ...
5
votes
1answer
1k views

How do I create a 2.5d parallax effect?

I have a decent background in 3D graphics and programming, but I'm new to game development. I'm currently exploring different possibilities and I really want to make an RPG game. I was thinking about ...
-1
votes
1answer
113 views

Render white background with Graphics in Canvas

I am developing a game that I would like the background to be white, and it just sticks to being black. Here is my render method: private BufferedImage image = new BufferedImage(WIDTH, HEIGHT, ...
0
votes
1answer
127 views

Dynamic Shapes and dynamic animations

I saw this video: Video And now I am curious about the following: How can you achieve dynamic forms like they are shown in this video. What I mean is: Do you need to have some "base" models which can ...
1
vote
1answer
106 views

How to render models using a personalized projection matrix?

I'm creating a game with a great sprite demand. Out team is considering automatizing the sprite generation using 3D models. The problem is we have a very particular ortographic projection: We have ...
1
vote
1answer
448 views

How to create a similar 2.5D art style character

EDIT: I am asking about the characters not the 2.5 scene I am the graphic designer of a game and I want to recreate the look and feel of these images: My questions are: Does this style have a ...
0
votes
1answer
126 views

How to handle zooming? (Collision detection and speed are off)

I'm working on a bird's eye view 2D game. I want to zoom in/out based on the entity's speed (similar to GTA 1/2), but I'm struggling with the zooming. To zoom, I simply scale all the entities by the ...
2
votes
0answers
297 views

Good Book or Resource for 2D Game Art [closed]

I have a very clear idea for my first Game . I have immense Experience in Coding Games in LibGDX but i am very poor at game art . So far I've been hating all the characters I've drawn . Are there any ...
-4
votes
1answer
293 views

Recommended graphic software for creating great graphics in game? [closed]

I came across a game called Trine2. It has a great graphics here is one image i captured here. Forgive me but I need 10 reputation to upload image so i use external sites. How did they create that ...
0
votes
1answer
80 views

Are there shaders or at least shader like things in Swing?

Is there? Because I'm wondering if it supports GLSL, HLSL, or it's own shading language? I don't know much about Swing graphics. Does anyone know?
2
votes
1answer
243 views

Should my assets match my reference resolution?

I'm confused over supporting multiple resolutions in my 2D game. I'm currently working with a reference resolution of 1280x720. That means that all elements are positioned in a 1280x720 coordinate ...
4
votes
1answer
1k views

2D Software Lighting Issues in Java

I'm creating a 2D top-down tiled game in pure Java and by now I'm trying to implement a way to do lighting. First, some details on how I render: there is a screen class which handles all the ...
0
votes
2answers
353 views

Is it better to import photoshop files or illustrator files into flash? [closed]

I was wondering what would be better to import into flash for when I animate. My intention is to animate my characters and objects and then export as a png sequence and make a sprite sheet then take ...
-2
votes
3answers
854 views

Why use textures that are Power of Two? [duplicate]

Possible Duplicate: Why are textures always square powers of two? What if they aren’t? I am using C# and XNA (also MonoGame for other platforms than Windows) to create a game in 2D. ...
1
vote
2answers
262 views

Filtering (e.g. Gauss blur) on seamless textures but without border artifacts?

I am looking for a way to apply (Photoshop, Gimp etc.) filters to seamless textures without the usual border artifacts. The kernel of the Photoshop Gauss filter for example does not wrap around the ...
3
votes
1answer
1k views

How to edit specific mipmap images in a DDS?

I am looking for a way to edit individual mipmaps within a DDS file. To my knowledge, the NVidia Plugin only lets you create the largest image and then computes the smaller ones automatically. ...
4
votes
5answers
421 views

How to implement rotating Earth effect in 2D?

I've modeled a photorealistic scene of the Earth rotating in 3DS Max and would like to use it as a backdrop of a menu screen in a 2D game. What would be the appropriate way to implement this effect ...
0
votes
1answer
294 views

2D graphics scaling

I've been wondering how to archive kind of zooming behavior with 2D graphics. I'm pretty sure that this is not right term, but let me try to explain my thoughts. Ok, let's start by defining that we ...
2
votes
2answers
240 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 ...
1
vote
2answers
663 views

Making a 2D game with responsive resolution

I am making a 2D game, however I wish for it to be resolution agnostic. My target resolution i.e. where things look as intended is 1600 x 900. My ideas are: Make the HUD stay fixed to the sides no ...
2
votes
2answers
438 views

Making an interactive 2D map

So recently I have been working on a Legend of Zelda: A Link to the Past clone, and I am wondering how I could handle certain map interactions (like cutting grass, lifting rocks, etc). The way I am ...
1
vote
3answers
403 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 ...
2
votes
2answers
1k views

Create Adventure Game Scene/Room/Backdrop from Real Photo

Is there a suitable software or a good tutorial for creating 2D rooms/scenery for adventure games from real photos? Is it possible to achieve good results by using photos, or the hand-drawn style ...
4
votes
1answer
330 views

Issue with distinguishing levels in isometric game [duplicate]

Possible Duplicate: How can I change this isometric engine to make it so that you could distinguish between blocks that are on different planes? I'm working on an isometric game however I ...
1
vote
0answers
2k views

bmGlyph alternative for windows (Bitmap font generator) [closed]

I have been using this tool (bmGlyph http://www.bmglyph.com/) to create fonts from apple machines, but now, I'm on windows and need a program with same / more features. The main features about this ...
1
vote
2answers
1k views

Provide A Scrolling “Camera” View Over A 2D Game Map

I'm in the process of attempting to create a 2D MMO type game with Kryonet and some basic sprites, mostly for my own learning. I have the back end set up great (By my standards) and I'm moving on to ...
-3
votes
1answer
435 views

How to remaster a retro game's graphics?

I want to remake an old game, which graphics is pretty old (1980s game), and I want to make a "HD version" of it. Of course, the game will have an "old graphics" setting, but I want to remaster the ...
9
votes
1answer
875 views

How to create a “retro” pixel shader for transformed 2D sprites that maintains pixel fidelity?

The image below shows two sprites rendered with point sampling on top of a background: The left skull has no rotation/scaling applied to it, so every pixel matches perfectly with the background. ...
9
votes
3answers
637 views

Is there any advantage in using DX10/11 for a 2D game?

I'm not entirely familiar with the feature set introduced by DX10/11 class hardware. I'm vaguely familiar with the new stages added to the programmable graphics pipeline, such as the geometry shader, ...
5
votes
2answers
3k 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 ...
7
votes
3answers
3k views

How are non-repetitive pixel backgrounds created in 2D games? (e.g., Superbrothers: Sword & Sworcery EP)

What methods are used to create complex, rich, non-repetitive 2D pixel backgrounds in games like Superbrothers: Sword & Sworcery EP? Examining screenshots from the game, I really can't detect ...
0
votes
2answers
404 views

What features should a 2D graphics library have? [closed]

I am making a 2D graphics library in Python designed to make 2D easy and fast. Internally it uses OpenGL. The library does cover a bit more then a graphics library, it also includes windowing and ...
1
vote
2answers
484 views

How to achieve graphics like those in Spy Mouse

I'm really interested in making a new application for iPhone, and I have some experience in objective-c. My main problem is the visual part. I want to have graphics like in Spy Mouse. Could this be ...
15
votes
5answers
3k views

Quick 2D sight area calculation algorithm?

I have a matrix of tiles, on some of that tiles there are objects. I want to calculate which tiles are visible to player, and which are not, and I need to do it quite efficiently (so it would compute ...
3
votes
3answers
310 views

How to efficiently handle registration/anchor points for graphics?

I am currently working on an iPhone project, but most of my work has been in Flash. Flash has a feature where you can place a bitmap into a MovieClip, set its registration point with the mouse and ...
1
vote
1answer
290 views

How do I make light objects in XNA?

Here's my dilemma : I want to have light sources placeable by the player, in terms of lanterns. I know the best way to do this is to use pixel shaders, which I have done a lot of research and use ...
11
votes
4answers
4k views

How to deal with arbitrarily large images in 2D games?

Question When you have a 2D game that uses really large images (larger than your hardware can support), what do you do? Maybe there's some interesting solution to this problem that never occured to ...