my game

Discussion in 'Game programming' started by StarDrago, Dec 25, 2012.

  1. StarDrago

    StarDrago Member

    Joined:
    Nov 12, 2011
    Messages:
    51
    Likes Received:
    3
    Trophy Points:
    8
    Hello!!!
    I have a simple game for the PC (original language is C++). I want to make a portable version of this game (without installation), so users can play it without having to install (at work, for example!). What technologies for creating and using portable games do you know?
    I know about the open graphics library, but it is too complicated for me. Maybe there is something easier?
     
  2. MasterAvalons

    MasterAvalons New Member

    Joined:
    May 14, 2012
    Messages:
    22
    Likes Received:
    5
    Trophy Points:
    3
    Have you thought to write a game in flash?I think it will be easy
     
  3. StarDrago

    StarDrago Member

    Joined:
    Nov 12, 2011
    Messages:
    51
    Likes Received:
    3
    Trophy Points:
    8
    Perhaps there is a way to "convert" the game?
     
  4. MasterAvalons

    MasterAvalons New Member

    Joined:
    May 14, 2012
    Messages:
    22
    Likes Received:
    5
    Trophy Points:
    3
    You can use the SDK for creating portable game or "make" the game portable (convert, if you want)
     
  5. StarDrago

    StarDrago Member

    Joined:
    Nov 12, 2011
    Messages:
    51
    Likes Received:
    3
    Trophy Points:
    8
    like spoon?
     
  6. MasterAvalons

    MasterAvalons New Member

    Joined:
    May 14, 2012
    Messages:
    22
    Likes Received:
    5
    Trophy Points:
    3
    StarDrago likes this.
  7. StarDrago

    StarDrago Member

    Joined:
    Nov 12, 2011
    Messages:
    51
    Likes Received:
    3
    Trophy Points:
    8
    Thanks for the help!

    You really helped me
     
  8. Robert Miles

    Robert Miles New Member

    Joined:
    Jan 15, 2013
    Messages:
    10
    Likes Received:
    4
    Trophy Points:
    3
    To make a portable application, you just have to package everything into a single directory (which, itself, can contain sub-directories), and then use relative paths. Make sure to include all dependencies you might need, as you can't count on them being installed on the machine that the application is running on. For save-games and settings, you want to store anything that follows the user inside that directory (say, so that they can put the game on a USB drive and continue on a different machine), and any machine-specific settings or data in someplace like %appdata% -- say, video quality settings. In general, portable software is also written to assume that the user has no special privileges to the machine; this is good practice for all software, but is necessary for portable apps, as the user may not even have temporary admin rights, say, to install necessary dependencies like DirectX.

    U can go one step further and make your application a single file (it is not necessary). If you wanted to do that, you'd need to write all your resources onto the end of your .exe file, and then take special care to read them back appropriately. Usually you'd first package the resources into something like a .zip file, and then append that file to the end of the executable; hen you can treat the zip file (which may or may not be compressed) as a sort of file system. This is kind of a neat approach, but its a fair bit of work and complication, without providing much benefit over the single directory approach.
     
    Janette likes this.
  9. StarDrago

    StarDrago Member

    Joined:
    Nov 12, 2011
    Messages:
    51
    Likes Received:
    3
    Trophy Points:
    8
    Thank you, Robert! I see that I was wrong in some things.
     
  10. laurakelly

    laurakelly New Member

    Joined:
    Jun 27, 2014
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    0
    Install open source on any server Connect to SQL or NoSQL data.
    I think this one is helpful to u..
    I have launched game "First Aid Treatment". Also FREE to download from Google Play.
    I hope you would love this game.
     
    Janette likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice