Page 1 of 1

Game Menu/Game Code

Posted: Wed Mar 19, 2008 8:36 pm
by Elmo115
Hi I am working on another game, and I came across this game that has a menu that I am trying to create. I need a menu with save, load, settings, etc., and this seems to have it. Is there anyway that I could get the code (in C++) to help me out? Thanks.

Posted: Wed Mar 19, 2008 8:40 pm
by bgaskey
The code is available under gpl so just check out the svn repository and browse for the code you need. I'm sure some of the devs can point you in the right direction. Directions to checkout svn are available in the wiki.

Posted: Wed Mar 19, 2008 9:08 pm
by Elmo115
I found the repository, though there is a lot in it! Who could I talk to to find what I need? And what was the gpl so I can find the code? Thanks.

Rick

Posted: Wed Mar 19, 2008 9:18 pm
by loki1950
Welcome Elmo115 you should have a look at main_menu.cpp i believe or most likely something along that vein.

Enjoy the Choice :)

Posted: Wed Mar 19, 2008 10:48 pm
by Elmo115
Thanks loki1950. I looked again, though could you give me a direction on which directory to look under? At least which one of the first three (trunk, branches, or tag) would be appreciated. Thanks.

Posted: Wed Mar 19, 2008 11:02 pm
by loki1950
You want the trunk more specifically http://vegastrike.svn.sourceforge.net/v ... strike/src

Enjoy the Choice :)

Posted: Sun Apr 13, 2008 9:31 pm
by legine
And what was the gpl so I can find the code?
The GPL is the License you have to respect. It is the Gnu Public License.

To make complicated things short. In core the Licens allows you to use Vegastrike Code directly as long as you also grant everyone the right to use your code. So if you publish the game you must also publish the code.

Thats what Open Source is about. :P

Hope thats your taste.

Cheers
Legine

Posted: Sun Apr 13, 2008 9:47 pm
by loki1950
Hey legine long time no see :( how's PiArmada coming along. any progress.

Enjoy the Choice :)

Posted: Mon Apr 14, 2008 8:37 pm
by legine
Hey legine long time no see
Yes :-(
how's PiArmada coming along. any progress.
Well I am on another aproach. In the last month I wasnt able to do anything. I was not very motivated after work. And that is the only time when I realy can focus on pi Armada. (Which means after 9h of codeing for a Datawarehouse sit down and learn how to code a game...)

I am not a good hard worker. Tbh I am very lazy. If I dont manage to get forward then I am stuck and need to talk. That is what motivates me again most of the time. Maybe I should put up a blog...

And I need a siubscription of Gamestar / dev. (That is a computer game magazine about game devedlopment. Realy great articles about artwork, design, organisation, etc.) Keeps me in tuch with the aim to get piarmada beyond...
I hope that is enough to convince anyone that piarmada will become a cool game once I found out how to make games... :P

(Ahh and I need to buy that book: Python for Kids.... ;) )

Posted: Mon Apr 14, 2008 9:44 pm
by loki1950
There are some good tutorials on the Phthon.org site and fell free to drop me a PM or email if you feel the need to chat or brainstorm 8)

Enjoy the Choice :)

Posted: Tue Apr 15, 2008 5:54 am
by legine
sure Ill do. :-D

Re: Game Menu/Game Code

Posted: Tue Apr 15, 2008 9:56 am
by Breakable
Elmo115 wrote:Hi I am working on another game, and I came across this game that has a menu that I am trying to create. I need a menu with save, load, settings, etc., and this seems to have it. Is there anyway that I could get the code (in C++) to help me out? Thanks.
I think the menu code is in Python not C++

Posted: Tue Apr 15, 2008 10:24 am
by ace123
If you want the GUI subsystem, the "gui" folder has code that was written by Mike Byron and is mostly independent from the rest of the code.
It is designed for OpenGL/SDL programs

Unfortunately a lot of the other code you will find in VS is very specific to this engine...

Really the menu is just a graphic... here it is for reference:
http://vegastrike.svn.sourceforge.net/v ... sion=11967