ActionScript 3.0 :: Save Game Scores On IPhone (AIR3)
Jan 14, 2012I am looking at the SharedObject class. Just wonder if I am at the right direction?
View 1 RepliesI am looking at the SharedObject class. Just wonder if I am at the right direction?
View 1 RepliesI am currently newing everything on frame one, but the app is eating too much memory.So I want to "new" instances when enter to individual scenes, but if I do that there will be a lag due to FPS drop;Is there a way to show a loading icon and pause everything, then resume when the newings are done?
View 3 RepliesI'm having difficulty getting a scoring system on a card game to work properly.
View 2 RepliesAnd one more, im still new to flash and im thinking which database is best to be used for flash. i got some ideas in SQL server and Microsoft Access.
View 1 RepliesI need to compute scores and would also like to notify users on their progress.There are 5 questions , 20pts each = 100pts;
I built two arrays (rightAnswers will compute scores and completeAnswers will give them their progress :
var rightAnswers:Array = new Array(next1_mc, next2_mc, next3_mc, next4_mc, next5_mc); var completeAnswers:Array = new Array(submit_btn, submit2_btn, submit3_btn, submit4_btn, submit5_btn);
I know I need to set them both at 0 something like: so I think the function for the FIRST progress_txt (twhich their will be 5 for each question completed)<<clueless on this one
function computeProgress(code)......
I have a simple flash based quiz game with simple score var and percentage var. I am wanting to a high score function to it as motivation to my kids by creating healthy competition with high scores. This is not a web based game. I found many PHP high score tutorials but wont work for me.
View 7 RepliesIm making a flash game and just wondering, how can I protect the ingame scores from being hacked ? For the moment im using a random number, which is set on the server and sent to the client, then using a hashing function which will hash 'score+randNumber' (a bit more complex, but the same idea), then i send the resulting score and the hash to the server (obviously logging attempted cheats). This so far works, but it is still easy to hack the score by decompiling the flash and finding out what the hashing formula is. Is there any other way that the scores can be transmitted to the server with little or no possibility of hacking?
View 3 RepliesI know this is a subject that gets covered a lot as i have found a ton of tutorials that show a million different ways to create a high scores board on a flash game. So I decided to go out on a limb and pick a tutorial out to try. Well I have now tried 3 different ones and have yet to get a working high scores board with my game. [URL]
That is the link to the most recent attempts to creat my high scores board. When I finished everything the way the tutorial said it seemed like everything would work and then it just didnt. After spending oh about 40 plus hours trying to make a high scores board I am getting very frustrated. My game is scripted in AS2 and I have access to mysql and can set up unlimited databases.
I want to make a soccer score game. A game that shows classic soccers results realtime with the score at the point they where scored.
An example:
World Cup 1986 Mexico
West Germany - Argentina
The final score 2 - 3
The players who scored and the exact time:
---West germany---
Rummenigge (74 min)
Voller (82 min)
------------------
---Argentina------
Brown (23 min)
Valdano (56 min)
Burruchaga (85 min)
------------------
The total of matches with data like above is 45.
The total time of a soccergame is 90 minutes.
And further more I want a start player selection kind-of-thing like this:
USER INPUT
select game [] (ex. VM 86 mexico, VM 94 USA etc.)
select number of players: [] (ex. 4)
select number of games pr player [] (ex. 5)
Select total time of playing [] (ex. 60 minutes)
Write the name of the players
1. Load external data (the pool of matches)
2. Get user input
3. Select random matches for the players
4. Calculate the time (90min/60min etc.)
5. Tell clock countdown the time and start the countdown from 90min to 0min
6. When a scoretime is equal to clockcountdown time then display game score and the soccerplayer who scored and the name of the player who got the match.
I am going to develop a very simple game for android and for iphone/ipad I have the option to develop it in cocos2d or in adobe flash air (i am not a developer, but i have 2 developers who are offering me the service)I have a developer that states that cocos2d is better and other one that states that adobe flash air.I want it in cross platform.the cost offered by both developers is the same..i have heard that adobe air has the flaw that it is very slow, is this real? if you had the 2 options which will you use to develop your game and why?
View 1 RepliesI've been asked if I can build a game, which lots of people will play and the overall winner will get a prize.The game part is simple enough, and I know enough PHP/MySQL to put something together to store the results etc. But is there something already available which could do this part for me, it would save a lot of time, and would probably be better than something I build myself.
View 1 RepliesI just finished my game and was wondering if i could make a leaderboard? It would take the user's score and save the highest scores to the Leaderboard Page. Can you do this with actionscript? How would you code this?
View 3 RepliesIs it possible to save scores in a text file or xml file locally? Im not creating an online application but rather an application for personal use! I don't want to use cookies since they can be cleared by mistake! It would be really good if it was possible to save the score to an external file!
View 2 Replieshow can i make a high score table for a flash game where EVERYONE see's the same high scores?
eg.
Bill gets 1000 in USA
Ben gets 1002 in UK
they can see each others scores on a high score table.
is possible to somehow save the state of a flash application so it is able to resume where it left off after being closed. For example, is it possible for a user to save games in an iPhone game written in Flash
View 2 RepliesMay I ask whether iphone can support .swf file or not? This is because I have developed a mini game using Adobe Flash Lite by using action script 2.0 and save as .fla file and export as .swf file. If can, can give me some guidances on how to import .swf to iphone.
View 2 RepliesI'm using StageWebView to load mp4 & pdf files in my iPhone app (Adobe air 3.2 for iOS, in Flash CS5.5)
Below is the code I'm using to load the pdf file (same code to load an mp4 file).
I need to save the file on the iPhone, so the next time the user opens the app, i'll check if the file exist I'll load it using FileStream.open(filePath, FileMode.READ);Is there a way to save a file loaded using the StageWebView? [code]...
I made a flash game some time ago (ActionScript 2), and I was wondering what steps would I have to take to make it into an app?
View 3 RepliesI'm trying develop small iphone game with flash cs5, the first step i'm trying to do is scrolling big background with my finger .. the iphone application document size is width 320 x height 480 px, on the stage there is a big image 1280x800 px i want start scroll this big image with touching iphone screen in any direction to make the hidden parts appears ..
View 2 RepliesSince I've been using Flash for a long time, I want to know if it can be be used for commercial grade games or app development?
View 3 RepliesSince Apple loosened their terms again, is it posible to develop a game in FLash CS5 and publish it on the Apple App Store? Are there actually any real apps / games on the App Store that were build on Flash?
View 1 RepliesI am making some word game I need to save my data into PC. I don't know How to do it.
View 6 RepliesI am an amateur programmer attempting to make an adventure game and I need a little help. The basic setup is a panoramic engine that loads external swf's when you click on a specific area. I need a way to globally store the states of the puzzle variables so that you can save your progress.The basic idea for my save game class is as follows:
[Code]...
Can I play Desktop Tower Defense without being connected to the Internet?
I can load the page and then disconnect from the net but my question is if I can download the game and play any time without connecting to the net.
how can i save data from the game(like variables) to a file that is in my folder and read the variables from it when i open the game it will read the data from the file(save/load data to a helper file in the game's folder)is there a way to do it?(even with shared objects,as long as it use a file that is in the game's folder)
View 6 Repliesim creating a side scrolling game project in flash as3..
and one of the requirements is saving and loading the game.
this is what i wanted to do.
the game can save the name, score, and the specific location of the character,
or maybe im thinking of a checkpoint or a savepoint.
ive read some articles about shared object, and im thinking on using it, but i really cant get it.
Currently I am building an application that launches crtmpd (a rtmp server written in C++).
Whenever I launch the application from within Flash Builder it works great, if I install a release build from an air file the process.start() returns a generic "could not start process" error.
The crtmpserver.exe is stored in applicationDirectory and the config file is kept in applicationStorageDirectoy.
So I've moved it to the native storage directory. But the problem persists. I've found the following though:
startupInfo = new NativeProcessStartupInfo();
startupInfo.executable = binFile;
processArgs = new Vector.<String>();
processArgs.push(luaFile.nativePath);
startupInfo.arguments = processArgs;
In the IDE after this startupInfo is setup correctly. On client machines all properties of startupInfo are still null.
I'm trying to make a flash game have save files using shared objects and I'd like to keep all the data in one file with several children.
The three things I'd like to do are:Check whether the file exists (create a new file if it doesn't), then check whether to child named with text in an imput box exists, and if it doesn't create a new file (using the text in an imput box), and then set the value of that node to 0.
Then later I'd like to change that node to another number (the easy part).I'd also like there to be a way to disable the shared objects (incase the user doesn't allow shared objects).I've tried to do this myself using a few tutorials, but I could get it to work.I couldn't use the text in the input box to name the child,and I couldn't check the size of the child node to see whether it existed or not.
I'm trying to compile a droid app that uses the adobe air3'sNative extension for mobile devices. The trouble is that you have to compile it in the command line and the tutorial I was going from gave me a compile script for mac..
Code:
# path to YOUR Android SDK
export AIR_ANDROID_SDK_HOME="/Users/leebrimelow/Documents/SDKs/android-sdk/"[code]...........
I just finished with developing my application by Adobe Flash Professional CS5 and I wonder if this will be visible to iPhones 4 because support for Retina displays was added since CS5.5.
There is section in my info.plist:
<key>UIDeviceFamily</key>
<array>
<string>1</string>
</array>