1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

my game

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

  1. StarDrago

    StarDrago New Member

    Joined:
    Nov 12, 2011
    Messages:
    49
    Likes Received:
    2
    Trophy Points:
    0
    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:
    18
    Likes Received:
    2
    Trophy Points:
    0
    Have you thought to write a game in flash?I think it will be easy
     
  3. StarDrago

    StarDrago New Member

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

    MasterAvalons New Member

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

    StarDrago New Member

    Joined:
    Nov 12, 2011
    Messages:
    49
    Likes Received:
    2
    Trophy Points:
    0
    like spoon?
     
  6. MasterAvalons

    MasterAvalons New Member

    Joined:
    May 14, 2012
    Messages:
    18
    Likes Received:
    2
    Trophy Points:
    0
    StarDrago likes this.
  7. StarDrago

    StarDrago New Member

    Joined:
    Nov 12, 2011
    Messages:
    49
    Likes Received:
    2
    Trophy Points:
    0
    Thanks for the help!

    You really helped me
     
  8. Robert Miles

    Robert Miles New Member

    Joined:
    Jan 15, 2013
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    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.
     
  9. StarDrago

    StarDrago New Member

    Joined:
    Nov 12, 2011
    Messages:
    49
    Likes Received:
    2
    Trophy Points:
    0
    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:
    0
    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.
     

Share This Page