Jump to content

publish game


Recommended Posts

Good Morning :)

okay now a better explained question than the last one :P

i want to publish my game for others - can i encrypt the sourcecode?

or better how can i make the game working on other computers with other graphics.

the problem is i tried the game as it is on another computer but the fps are very slow but its a better performance computer - sot it has to normally be faster :/

it would be nice if you could help :)

thanks and greets!


Link to comment
Share on other sites

You can compile the scripts with the "CompileAll" flag, look in your main.cs in the game root folder there is a line called "if($compileAll)" etc then it will compile all the scripts. All the flags you can use are listed in the parseArgs.cs file.

So you launch the executable with the argument like "mygame.exe -compileAll" then it will compile the scripts I think.

Regarding peformance, you need to optimise the performance and test if it runs on older PCs, especially find good default settings in the graphics options, so people do not have to manually reduce the graphics quality for it to run on their computer.

Additionally you can also pack all the assets into a zip like format, but I don't know how that works.

Link to comment
Share on other sites

NOTE: your main.cs in the game directory still needs to be a cs file (unless someone changed that recently) or your game won't load.


I've always wondered why this wasn't moved into source code, most of the things in there are just basic function definitions with a few "flag" parameters that could do better in a general header file.

Having main.cs present leaves room for executing "undesired" code in games, but alas, that's just the security part of me speaking.

The rest of your code can be safely "compiled" as Duion has stated, assets will be present in the art folder, but those can also be compiled and shipped in that form. Most of your work will be on the optimization front at the end.

Link to comment
Share on other sites

Hello together,

ok - is see - thank you very much - the thing is of course it could be moved but i dont try to ask stupid questions ;)

So thanks!



PS: Sorry for penetrating you but i have opened one last thread because i dont find a way to publish in the browser - THX!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...