About to release my 1st Game, and already started on 2nd one, but need tips.....

luke2125luke2125 Member, PRO Posts: 225
Hi,

For my 2nd game, I'm going with a Platform ( Mario style ), but need some tips...

1) How big of the screen should I make the scene ( 1280 x 320 ) for camera scrolling?
2) I understand we can save / load attributes (game score, etc..) but what about scenes?
3) Should I use tables for displaying tiles?
4) I would like to create tiles (2d), I've taken a look at the program Tiled, is there any other program that can help me create tiles, or maybe a good source of tiles

Any other tips would be greatly appreciated.....Thanks and God Bless....

Sincerely,

Sunday

Comments

  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375
    Hi,

    4) I would like to create tiles (2d), I've taken a look at the program Tiled, is there any other program that can help me create tiles, or maybe a good source of tiles
    I Use InkScape (InkScape.org), But Then Again, Im Just Learning To Design.
  • famekraftsfamekrafts Member, BASIC Posts: 834
    If you fix the camera to player, just loop the background and bring in platforms and tiles from the right and when they go out of screen, reshuffle them using constrain attribute. Do not try to make a very big scene, that may cause loading problem.

    Saving Scenes are a bit hard, you have to save every attribute. Better save as scene checkpoints, so a particular scene is opened , and if checkpoint is true, the scene will appear like the check point.

    Do not spawn actors instead recycle them.

    Tables are good if you can use them.

    Gimp, Inkscape, flash, photoshop, genetica is especially for tiles.
  • mataruamatarua Auckland, New ZealandMember Posts: 854
    I am doing something similar, and if it is an endless runner then do what @wickedsunny says. If it is not, then you can make it with tiles and lay it out however you like.

    Best thing to do then is decide on what platform you are going for. Say iPhone for example, standard res is 480 x 320 and the max image size is 1024 x 1024, same is true for retina display, so if you make it retina display you need to make image double but you can't go over 1024 x 1024 still.

    iPhone resolution independence. Screen is still 480 x 320. Lay the file out in blocks, so say it's 512 high and 2048 wide you need to make the background tiles retina size 1024 square and have 4 of them. You can lay them out easily on screen with the position values. Doing it with tables is beyond me at this stage sorry.

    Little tip, if you are doing tiles, make sure they are 1024 square, or 512 etc. Make them not movable. Otherwise you will get lines of separation between and it helps with optimisation.

    Draw coloured plain actors on top as platforms, in a bright colour, then make the Alpha 0 to hide them.

    Hope this helps you on your way :)

    Photoshop can save tiles out with slices and names so changing artwork out once positioned is a breeze.

    Anybody got any other tips I would be glad to hear them!
  • luke2125luke2125 Member, PRO Posts: 225
    Hi guys,

    Thanks for all the tips...... :) Really appreciated.......God Bless...

    Sincerely,

    Sunday
Sign In or Register to comment.