Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!

1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Member Since 20 Apr 2006
Offline Last Active Feb 12 2015 08:33 PM

Topics I've Started


16 June 2011 - 04:17 PM

I am working on a space warfare game.

Right now I am trying to decide on how to handle resources.

One way is that when you survey a planet you know specifically how much of that resource you can get. Another way is that internally the computer knows how much of that resource is on a planet, but will just give the player a general idea about how much of the resource exists. The final way is that the resources have no internal value, just a chance of it become depleted at that level, and the level of the recourse (abundant, average, sparse, poor) determines how much you can get out per turn and how much it costs to extract it.

There might be some other ways, just wondering what you all think.



30 November 2008 - 09:04 AM

I would suggest going with Raknet. theTroll

[.net] Taskbar and hiding forms

25 October 2008 - 12:40 PM

This is not an question post but an informational post. This is using C# and .Net 2.0 or later. We have an application that we want to start in the taskbar without showing a form first. The form must be running because it is the core of our application. So first we add our NotifyIcon control to our form, name it notifiyIcon. Next we add the following statements to the form constructor.
     this.Opacity = 0;
     this.Shown += new EventHandler(Settings_Shown);

this.Opacity = 0; makes the form transparent so we don't get a "flash" when the application starts. this.Shown gives use a hook into the OnShown event which fires only once when the form is shown for the first time (the form is being shown even though they can't see it). Next we need to prevent the form from being shut down by the X control in the top right or by double clicking the top left.
protected override void OnClosing(CancelEventArgs e)
            e.Cancel = true;

Now make sure you give them a menu item or button that calls Application.Exit() so they can actually shut the application down because you will not be able to close this form any other way. So now we add our Shown method
void Settings_Shown(object sender, EventArgs e)
   this.Opacity = 1;

That is about it. The advantages of this approach are the the form never flickers, it can not be accessed via the Alt-Tab and will not show up in the menu bar. Hope it helps someone out. If you have any questions, feel free to ask. theTroll

Just a bit frustrating

14 October 2008 - 09:26 AM

I am not sure if I am the only person that is bothered by this but there may be others out there. We answer a question and they never get back and tell us if it worked on not. I don't want to be patted on the back, I just want to know if they idea worked or not. The only way for us to learn is to know if the ideas worked or not. But it seems like most of the time we never get a response back and so I wonder for weeks if it was a good idea or not. theTroll

Questions concering a turned-based space conquest game.

07 November 2007 - 08:00 AM

I decided to work on a turned-based space conquest game. So I wanted to asked some opinions on what people prefer. I am sure the answers will be all over the place but I am just trying to see what people think. Keep in mind these questions refer to a turn-based, space conquest game. 1. Do you prefer more simple games or more complex? 2. Do you like to follow a single strategy or be forced to adjust your strategy according to what resources and situation is in effect. 3. Do you prefer to micro-manage, have the computer handle the details, or be able to script the details? 4. Do you prefer a few resources (ie, 3 resources) or many resources (20+), with few resources you need say metal to build ships, fuel to power ship and food to feed your people. With many resources you need specific resources to build different parts of the ships or you can use any metal but it will not be as good for producing the hull as it would be for building an engine. 5. Do you prefer to start out equal with all other groups (ie. same race, same tech, same abilities) or be unique? 6. Do you want your space battles to be handled by the computer, do you want to direct a general strategy or be involved in the tactics? 7. Same as above except for planet side battles? I am sure I will have more questions later on. Any things you like or dislike please add to the list. theTroll