Game Menu/Game Code

Need help testing contributed art or code or having trouble getting your newest additions into game compatible format? Confused by changes to data formats? Reading through source and wondering what the developers were thinking when they wrote something? Need "how-to" style guidance for messing with VS internals? This is probably the right forum.
Post Reply
Elmo115
Just a tourist with a frag'd nav console
Just a tourist with a frag'd nav console
Posts: 3
Joined: Wed Mar 19, 2008 8:30 pm

Game Menu/Game Code

Post 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.
bgaskey
Elite Venturer
Elite Venturer
Posts: 718
Joined: Wed Mar 07, 2007 9:05 pm
Location: Rimward of Eden

Post 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.
Elmo115
Just a tourist with a frag'd nav console
Just a tourist with a frag'd nav console
Posts: 3
Joined: Wed Mar 19, 2008 8:30 pm

Post 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
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Post 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 :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
Elmo115
Just a tourist with a frag'd nav console
Just a tourist with a frag'd nav console
Posts: 3
Joined: Wed Mar 19, 2008 8:30 pm

Post 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.
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Post by loki1950 »

You want the trunk more specifically http://vegastrike.svn.sourceforge.net/v ... strike/src

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
legine
Bounty Hunter
Bounty Hunter
Posts: 139
Joined: Mon Sep 27, 2004 8:40 am
Location: Germany
Contact:

Post 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
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Post by loki1950 »

Hey legine long time no see :( how's PiArmada coming along. any progress.

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
legine
Bounty Hunter
Bounty Hunter
Posts: 139
Joined: Mon Sep 27, 2004 8:40 am
Location: Germany
Contact:

Post 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.... ;) )
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Post 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 :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
legine
Bounty Hunter
Bounty Hunter
Posts: 139
Joined: Mon Sep 27, 2004 8:40 am
Location: Germany
Contact:

Post by legine »

sure Ill do. :-D
Breakable
Hunter
Hunter
Posts: 95
Joined: Sun Nov 18, 2007 1:19 pm

Re: Game Menu/Game Code

Post 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++
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post 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
Post Reply