Optimizing My Game App.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shaahin
    New Member
    • Jul 2010
    • 11

    #1

    Optimizing My Game App.

    I want to create a game. Backgammon. i used to design my nuts and board in photoshop. i saved nut as png. and board as jpg. for per that i have in game i created a picture box , and i bound png picture to that. i know that this way is not correct. please give me tips and guidelines.

    seems my question is too general. i change my question. What element do I replace instead of pictureboxes? what is the way for moving nuts? for good performance and memory usage. i putted my board in a panel and panel's Dock is fill in my form. but i know its not correct to put 30 picture boxes in form and moving them. my game is 2d. my challenge is to keeping nuts and moving them. better way that using pictureboxes
  • Sfreak
    New Member
    • Mar 2010
    • 64

    #2
    Shaahim,

    Better than working with pictureboxes I think that you should create your own object with their own behaviors and attributes (for example the image). In this case you could model your objects in a way that you can worry about a better performance and other stuffs like your game rules etc.

    Its just a suggestion, hope it can help you in anyway

    Fernando Mello

    Comment

    Working...