Rampant Gaming!

Official Forums of Rampant Games and Tales of the Rampant Coyote
Calfstronaut and the Computer Bug Infection Beta Test

 
Post new topic   Reply to topic    Rampant Gaming! Forum Index -> Making Games
View previous topic :: View next topic  
Author Message
cowgod
Level Boss


Joined: 01 Nov 2007
Posts: 621
Location: Pittsburgh, USA

PostPosted: Fri Jun 03, 2011 10:52 am    Post subject: Calfstronaut and the Computer Bug Infection Beta Test Reply with quote

http://www.orbitalcows.com/cbi.php

I've uploaded the beta test of Calfstronaut and the Computer Bug Infection to my website.

The artist I usually work with made this game himself using Gamemaker, and I'm setting up the beta test for him.

This is a casual game where you click on computer viruses to clear them off of your mainframe. There's various power ups to use and malicious code sequences that you can't click on.

There's screenshots and a preview video at the url. It provides a link for giving feedback. Anyone who sends in feedback is eligible to receive a free copy of the finished game.

Edit: The game gets installed to the C:\Games\[our directory]\ directory instead of the C:\Program Files\[our directory]\ directory because he can't figure out how to put the save file in the user directory with Gamemaker. So it just gets saved to the directory the game is in, which could be a problem if the program doesn't have write access to the C:\Program Files\ directory.

This isn't the sort of game that ordinarily gets posted here, but I figured I'd post it anyways in case someone wants to give it a try.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Play Deadly Sin - Take on the role of Lorelai, a young woman of humble means who learns that her true identity is the heir to a powerful empire!
McTeddy
Level 3 Seeker


Joined: 04 Aug 2010
Posts: 58

PostPosted: Fri Jun 03, 2011 1:06 pm    Post subject: Reply with quote

That was fairly nifty. Extremely simple, but engaging at the same time.

I have posted my feedback and offer congratulations to your artist on his first solo adventure. Very Happy
Back to top
View user's profile Send private message AIM Address
cowgod
Level Boss


Joined: 01 Nov 2007
Posts: 621
Location: Pittsburgh, USA

PostPosted: Sat Jun 04, 2011 8:33 am    Post subject: Reply with quote

I'm actually pretty impressed with how it's turning out. The credit's all his though. The only things I did were the installer and helping out with the testing.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
unit
Level 5 Hunter


Joined: 14 Mar 2010
Posts: 208

PostPosted: Tue Jun 07, 2011 2:59 pm    Post subject: Reply with quote

Quote:
can't figure out how to put the save file in the user directory

in gm 6.1 (i think from memory) there is a code function working_directory (and others) i'm not sure what version of gm you're using but look into that (or its new form)
_________________
KILLBOT 3D
http://gmc.yoyogames.com/index.php?showtopic=463217&hl=

3D OLDY RPG
http://gmc.yoyogames.com/index.php?showtopic=418458&st=0
Back to top
View user's profile Send private message
hanako
Level 5 Hunter


Joined: 27 Apr 2007
Posts: 245

PostPosted: Tue Jun 07, 2011 5:26 pm    Post subject: Reply with quote

working_directory is NOT necessarily the directory the game is in; read up on your windows docs. Smile it usually is, but shortcuts can make it otherwise.

there IS a proper function for getting the actual game directory but I don't remember it off the top of my head. It won't work right while the game is in development, because non-exe source code runs from a temp directory, so it'll return THAT.
_________________
Anime Games
Back to top
View user's profile Send private message Visit poster's website
GuideBot
Level 2 Voyager


Joined: 24 Mar 2010
Posts: 32

PostPosted: Wed Jun 08, 2011 1:42 am    Post subject: Reply with quote

There's also program_directory which is where the .exe is stored but when you're testing this will be a temporary directory, so may not work. You can also specify relative paths, such as "data\levels" which you can use in, for instance, a get_open_filename to start the file picker in that directory. It seems to work whether in the .exe or the .gm8, as long as the .exe and .gm8 are in the same directory.

I don't believe there's a way to get the "user" directory as used in Vista/Windows 7.
Back to top
View user's profile Send private message
cowgod
Level Boss


Joined: 01 Nov 2007
Posts: 621
Location: Pittsburgh, USA

PostPosted: Wed Jun 08, 2011 6:21 am    Post subject: Reply with quote

unit wrote:
Quote:
can't figure out how to put the save file in the user directory

in gm 6.1 (i think from memory) there is a code function working_directory (and others) i'm not sure what version of gm you're using but look into that (or its new form)

It's already stored in the working directory. It's the user directory he can't find.

I created the installer, and the shortcut specifies the working directory as the directory the file is in. It might be possible to set the working directory to the user directory somehow, but that would just be a different kind of weirdness.

Someone on another forum looked in the Gamemaker documentation and says that the guy who made Gamemaker doesn't think the user directory is necessary. So there might be no way to access it in Gamemaker.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
hanako
Level 5 Hunter


Joined: 27 Apr 2007
Posts: 245

PostPosted: Wed Jun 08, 2011 1:29 pm    Post subject: Reply with quote

Wait, what do you mean by the 'user directory'? Do you mean the documents and settings style directory? It's reachable, it just takes more work. Iirc it involves getting windows environment variables to find the path... sadly I don't think I have a script sample handy at the moment.
_________________
Anime Games
Back to top
View user's profile Send private message Visit poster's website
cowgod
Level Boss


Joined: 01 Nov 2007
Posts: 621
Location: Pittsburgh, USA

PostPosted: Wed Jun 08, 2011 6:12 pm    Post subject: Reply with quote

Yes. For instance, I was storing my options file in "C:\Users\Steven Fletcher\Saved Games\Orbital Cows\Angelband" for Angelband (which probably won't be called Angelband any more).

There should be some way for him to find the "C:\Users\Steven Fletcher\" part or even something like "C:\Users\Steven Fletcher\AppData\Local". In Java, there's an easy way to find out these sorts of things, but I don't know enough about Gamemaker to tell him what to do.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
hanako
Level 5 Hunter


Joined: 27 Apr 2007
Posts: 245

PostPosted: Thu Jun 09, 2011 1:47 pm    Post subject: Reply with quote

Yeah, this part isn't well documented, and while I've done it, I don't have the source code on this computer and would have to jump through a lot of hoops to get hold of it.

http://gmc.yoyogames.com/index.php?showtopic=472787 is a topic that at least touches on the subject of using environment variables, but anyone wanting to work with them will need to research them outside the GMC because I don't think there's a list of what they are anywhere... you'd have to go to other windows programming sites to find them.
_________________
Anime Games
Back to top
View user's profile Send private message Visit poster's website
cowgod
Level Boss


Joined: 01 Nov 2007
Posts: 621
Location: Pittsburgh, USA

PostPosted: Sat Jun 11, 2011 8:48 am    Post subject: Reply with quote

I've forwarded that link to Eduardo. I think it will probably help him out, though I don't think he knows that much about Windows programming in general.

It sounds the same as what Java gives me when I look up the user directory. I told him where I've been storing saved games: [user directory]\Saved Games\Orbital Cows\[game name]\ . Maybe he'll do the same thing.

In my first game where I used the user directory, I put saved games in the documents folder. In my second game, I put them in the App Data folder because that's what Geneforge does. Now I'm putting them in the Saved Games folder because that's what the free games that come with Windows do.

So long as he puts it somewhere other than the directory the game is installed to, it'll be an improvement.

Thanks for your help.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Rampant Gaming! Forum Index -> Making Games All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

RedSilver 1.03 Theme was programmed by DEVPPL JavaScript Forum
Images were made by DEVPPL Flash Games