Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options questions only not deleted user 1929

2D refers to two dimensional space where coordinates are represented with X and Y values.

1 vote
1 answer
304 views

Gluing Model and View Data Together But Separating Concerns

I've built a couple of 2D games that are roughly MVC; that is, the main game data and logic are separated into the model (and possibly controllers), and I have a bunch of screens/states that just pull …
ashes999's user avatar
  • 11.3k
7 votes
3 answers
1k views

Programmatically Modifying Images to Create Morning, Sunrise/Sunset and Night-Time Modes

I'm using RPG-Maker-XP-like sprites (any 2D adventure/RPG style sprites). I would like to tint them so that they look different at different times of day. …
ashes999's user avatar
  • 11.3k
6 votes
2 answers
791 views

Maintaining Consistent Scale (2D games)

How do people making 2D games maintain a consistent scale for everything in their game? Say I'm coding an RPG. A house needs to be proportionally bigger than a person; an item, smaller. …
ashes999's user avatar
  • 11.3k
40 votes
7 answers
18k views

Learning To Create Better Art (2D Games)

The focus of my question is 2D, not 3D. …
ashes999's user avatar
  • 11.3k
5 votes
2 answers
9k views

Normal Mapping for 3D-Like Lighting in 2D Games

I recently saw this video about a game engine that uses normal mapping to generate lighting and shadows for amazing, 3d-like lighting effects. (Like the three barrels below on the right side, they al …
ashes999's user avatar
  • 11.3k
4 votes
3 answers
1k views

Writing C# for iPhone 2D Game Dev - Not Unity [closed]

What are my options for writing C# code to produce a 2D iPhone game? I specifically mention 2D -- Unity will not suffice for me (even though it can "fake" it with a 2.5D game). …
ashes999's user avatar
  • 11.3k
12 votes
3 answers
28k views

Is there a good way to get pixel-perfect collision detection in XNA?

Is there a well-known way (or perhaps reusable bit of code) for pixel-perfect collision detection in XNA? I assume this would also use polygons (boxes/triangles/circles) for a first-pass, quick-test …
ashes999's user avatar
  • 11.3k
3 votes
4 answers
416 views

Sprite and Physics components or sub-components?

I'm taking my first dive into creating a very simple entity framework. The key concepts (classes) are: Entity (has 0+ components, can return components by type) SpriteEntity (everything you need to …
ashes999's user avatar
  • 11.3k
5 votes
3 answers
317 views

Vector Art Tool: Size, Position, Shapes, Symbols

I'm looking for a vector art tool for gameart, similar to Flash, but preferably free. It just needs the following capabilities: Create vector images (can scale up/down without losing quality) Specif …
ashes999's user avatar
  • 11.3k
16 votes
2 answers
5k views

Entity/Component System and UI "Entities"

I'm still green to entity/component systems. I find that since I have useful components for drawing sprites (or spritesheets) and handling input (mouse/touch clicks), I naturally want to reuse these t …
ashes999's user avatar
  • 11.3k
2 votes
2 answers
3k views

Designing Collision Detection for 2D Rectangular Adventure/RPG

I'm planning to design a 2D RPG-style game in XNA. It will be similar to the style of Chrono Trigger (pictured below) -- I will explain what that means. … How do other 2D games deal with this? …
ashes999's user avatar
  • 11.3k
6 votes
1 answer
964 views

Performance of pixel shaders vs. SpriteBatch: XNA

I also have a 2D lighting PoC which I need to write. …
ashes999's user avatar
  • 11.3k