Jump to content


Visual Basic Programming.


4 replies to this topic

#1 iSkweek

    New Member

  • Members
  • Pip
  • 2 posts

Posted 29 November 2009 - 09:17 AM

Hi, I am making a game of sorts using Visual Studio 2008 and I have come upto saving the game under different users. What kind of things do I need to do to make it so multiple users are able to save their game?

#2 onyxthedog

    Senior Member

  • Members
  • PipPipPipPip
  • 467 posts

Posted 29 November 2009 - 02:50 PM

iSkweek said:

Hi, I am making a game of sorts using Visual Studio 2008 and I have come upto saving the game under different users. What kind of things do I need to do to make it so multiple users are able to save their game?
Have a seperate save file for each saver, e.g., onyx.sav iSkweek.sav.

If you are worried about security hash it with their password as the key or something of that nature.
/* Perfect_day.c */
#include <arcade>
#include <computer>
#include <drinks>
#include <hardware/high_end>
#include <snacks>
#pragma <responisiblities>
...........

#3 fireside

    Senior Member

  • Members
  • PipPipPipPip
  • 1271 posts

Posted 29 November 2009 - 03:58 PM

It sounds like overkill to me. As long as the save is nameable it shouldn't matter in the least. I am playing a game that doesn't let you name the save, which I find annoying.
Currently using Blender 2.5, FlashPunk, and Unity.

#4 Reedbeta

    DevMaster Staff

  • Administrators
  • 4969 posts
  • LocationBellevue, WA

Posted 29 November 2009 - 04:59 PM

You can store the save somewhere under the user's My Documents folder, whose path you can get out of the registry (see here). This will automatically tie the save to the Windows user account.
reedbeta.com - developer blog, OpenGL demos, and other projects

#5 iSkweek

    New Member

  • Members
  • Pip
  • 2 posts

Posted 30 November 2009 - 02:12 AM

Thanks all, I didn't realise it would be so simple :(





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users