Jump to content
Rick

2D on mobile

Recommended Posts

I'm nervous about dealing with 2D on mobile platforms, given so many different resolutions and aspect ratios. Testing for all the different variations and potentially needing different sizes of the same image (not stretced because it could look bad) just seems like a giant pain :(

 

Has anyone made a game on mobile that had 2D elements and have any tips?

Share this post


Link to post

I've been used a bit of cocos 2dx with Levelhelper and Spritehelper. If you want to go 2d I highly recommend these. Levelhelper and Spritehelper are OSX only, but they both compile for use on iOS and Android.

Share this post


Link to post

Not looking to go 2D, but there will be 2D menus in my 3D game, which is my main reason for my question.

Share this post


Link to post

You just have to wait for LE 3 GUI system and editor, menahwile you can develop your game.

 

Why not 3D menus ? Or simple rectangle polygon with text on it ?

Share this post


Link to post

1) For sure not waiting for LE GUI seeing as my game is probably 1-2 weeks from being complete.

 

2) I've thought of 3D GUI and I might go that way, but 2D is generally easier (make a image, DrawImage() on the screen, minus the resolution issue).

Share this post


Link to post

OK, I'm going 3D with this stuff I think. The main menu background I'll just make a material for and slap it on a CSG object in front of the camera. Will do the same for the buttons I think and just pick them for selection. That way I don't have to worry about this 2D **** :)

Share this post


Link to post

To answer your original question Rick. I faced the same problems when I developed my first Android game which I published roughly two years ago. Depending on your game's graphical requirements it's best to design your game to the absolute smallest screen you think it will be comfortably played on. You can then rescale your graphics to fit larger screen sizes and/or reference higher resolution bitmaps to fit. Remember to preserve the aspect ratio of your original screen size then centre the game area on the larger screen and you should be fine.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...