Go4Expert (http://www.go4expert.com/)
-   Game programming (http://www.go4expert.com/forums/game-programming-forum/)
-   -   my game (http://www.go4expert.com/forums/my-game-t29371/)

StarDrago 25Dec2012 16:06

my game
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?

MasterAvalons 26Dec2012 20:29

Re: my game
Have you thought to write a game in flash?I think it will be easy

StarDrago 28Dec2012 20:09

Re: my game
Perhaps there is a way to "convert" the game?

MasterAvalons 9Jan2013 22:27

Re: my game
You can use the SDK for creating portable game or "make" the game portable (convert, if you want)

StarDrago 11Jan2013 01:59

Re: my game
like spoon?

MasterAvalons 11Jan2013 21:35

Re: my game
Read this article.
Spoon - a great program but among it programmers use such programs as enigma, cameyo, boxedapp, thinapp...

StarDrago 14Jan2013 15:52

Re: my game
Thanks for the help!

You really helped me

Robert Miles 16Jan2013 18:31

Re: my game
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.

StarDrago 18Jan2013 19:15

Re: my game
Thank you, Robert! I see that I was wrong in some things.

laurakelly 16Jul2014 18:06

Re: my game
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.

All times are GMT +5.5. The time now is 01:58.