SunQuest
           Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 15th, 2003, 11:16 PM
invisible_boy invisible_boy is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 2 invisible_boy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
saving in flash games.

I'm working on my first flash game with my roommate and we're still learning everything so this could coneivably be an ignorant question...but, we're wondering if there is a way to save a flash game like you'd save any other game.

mmmyep. thanks.

Reply With Quote
  #2  
Old December 16th, 2003, 03:59 PM
Tann San Tann San is online now
Gotta get to the next screen..
Click here for more information.
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 4,448 Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)  Folding Points: 6414 Folding Title: Novice Folder
Time spent in forums: 2 Weeks 6 Days 4 h 54 sec
Reputation Power: 500
Facebook MySpace
Hi, the answer is yes. You would have to store any variables such as player x/y, score, health etc somewhere such as a text file or a database or as xml. I think lots of people would tell you to use xml. If you are going to run the game online you need to use a server side scripting language to save the data to one of the above formats. I use php but theres loads of others. Anyhow storing all the required game variables is the closest to taking a snap shot that you've got. (well in my opinion)
__________________
-Tann

-Vote for your favorite ActionScript editor here.

Last edited by Tann San : January 4th, 2004 at 02:22 PM.

Reply With Quote
  #3  
Old December 16th, 2003, 04:03 PM
blatant's Avatar
blatant blatant is offline
World Domination
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: San Diego
Posts: 126 blatant User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 47 m 17 sec
Reputation Power: 6
Send a message via AIM to blatant
or you could store it using cookies on the user's machine (assuming they accept cookies)

Reply With Quote
  #4  
Old December 16th, 2003, 04:43 PM
invisible_boy invisible_boy is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 2 invisible_boy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
awesome, thanks for the advice, i'll look into figuring that all out.

Reply With Quote
  #5  
Old January 15th, 2004, 07:24 AM
scotteh scotteh is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: perth, western australia
Posts: 3 scotteh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
i tried using all the above for a school project recently and found that with MX it's much easier with the new SharedObjects function, which allows flash to store variables on a users computer, alot like a cookie... but better cos it worked for me Theres some good tutorials at flashkit for using them but this one here was pretty good

-scotteh

edit - i just found a tutorial file that i used for my school project which was really good for learning SO's which i put up on my serverhere. enjoy

Last edited by scotteh : January 15th, 2004 at 07:49 AM.

Reply With Quote
  #6  
Old January 15th, 2004, 07:30 AM
Tann San Tann San is online now
Gotta get to the next screen..
Click here for more information.
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 4,448 Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)  Folding Points: 6414 Folding Title: Novice Folder
Time spent in forums: 2 Weeks 6 Days 4 h 54 sec
Reputation Power: 500
Facebook MySpace
Hi, I started using SharedObjects a couple of weeks ago and your definately correct, they kick ***!

Reply With Quote
  #7  
Old January 16th, 2004, 01:53 AM
Red|5 Red|5 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: Gdansk
Posts: 10 Red|5 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 49 sec
Reputation Power: 0
SharedObject does kick major butt, however, remember that if the file location is moved, then all the stored data won't be read anymore.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > saving in flash games.


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway