ActionScript 2.0 :: [CS4] Using SharedObject For Achievements System In Games?

Oct 24, 2010

i tried to learn about SharedObjects from here:In a code like this:

var so:SharedObject = SharedObject.getLocal("userHighScore");
so.data.highScore = new Number();
so.flush();

[code].....

View 1 Replies


Similar Posts:


[AS2] :: Using SharedObject For Achievements System In Games

Oct 23, 2010

i tried to learn about SharedObjects from here: [URL] ...=00001504.html but i dont really get it In a code like this:

var so:SharedObject = SharedObject.getLocal("userHighScore");
so.data.highScore = new Number();
so.flush();

which variable is actually flushed, the userHighScore or highScore? and how to use the shared objects on boolean variables?

View 1 Replies

Flash8 :: Achievements Appear Once Not Working?

Jan 18, 2010

I'm making an game which i want to intergrate acheivements, I've got everything working to an extent but I've isolated code and put it in a test to show my problem. I have a MC called "ach" (without ") and inside that i have another MC called a1 , a2 , a3. They are animated to disappear after say 45 frames. I've put my acheivements on buttons just to test them, but in my game you get them for say playing for 1 hour or collecting all items and some for clicking hidden buttons etc. but when I click the buttons again the acheive MC keeps appearing. I only want it to appear once.This is the code I have got that doesnt work.

Button Code :

Code:
on (release) {
_root.ach.gotoAndStop(3)
}

[code]....

View 1 Replies

Media Server :: SharedObject.NoAccess Error When Trying To SharedObject.getRemote?

Feb 18, 2012

I've installed developer version of Flash Media Server 4.5 and trying to get remote object, but no matter how I call my object all i get is this error .I've rad configuration guide and it told me that I should set StorageDir for shared objects, enable RPC (<RPC enabled="true">) and allow shared object (<Allow>users</Allow> in <RPC> - <SharedObject> tags)

View 1 Replies

ActionScript 3.0 :: SharedObject Error: Error #2134: Cannot Create SharedObject?

May 9, 2011

Gives me this error:

Error: Error #2134: Cannot create SharedObject.
at flash.net::SharedObject$/getLocal()
at as3_shared_objects/showVar()

[code]....

View 2 Replies

ActionScript 3.0 :: System.useCodePage - Getting Error 1120: Access Of Undefined Property 'System?

Aug 7, 2009

I got a textfile who i am reading on a serverside script and passing it as a script to my client side as3 code. The problem is that i am using characters like ä,ö,ü,ß and this isn't well displayed. I tried System.useCodePage but the compiler complains about : 1120: Access of undefined property 'System'. It doesnt matter if I tried this on the first line of the 'Action' in the first scene or in the first line of the first .as file i am loading. (btw i am only working with .as file and not in the timeline). When i am importing flash.System.* the compiler complains he dont know useCodePage.

View 3 Replies

ActionScript 3.0 :: Particle System And Masking - Particle System Movieclips To Display An Image?

Dec 29, 2010

Is it possible to make this a mask? The system contains one movieclip of a circle called ball, also a class called ball and a class called particle. I want the particle system movieclips to display an image...I'm sure this is possible...just have not been able to find a way. A little backround, I'm a completely selftaught n00b when it comes to AS3, but I'm grasping it fairly well... the tutorial is on this website, called A Simple Particle System Using Actionscript 3.

View 0 Replies

Can Create Some Flash Games

Jun 10, 2009

I'm looking to create a new website with flash games, most of which need to be multiplayer.The games I had in mind are a battleship-type game, a pirate's dice game, and a texas holdem game.I'd also like to have a single player "wheel" that you can spin and win points off.I'd also like to have a points system where members wager their points over games.

View 6 Replies

ActionScript 3.0 :: Concerning CPU Usage For Games?

Apr 7, 2011

I have a question concerning CPU usage for games. What do people consider as an average or 'acceptable' amount of cpu usage for a game I've created a few different games, some which are more database driven have a very low cpu usage and small size.. others I've seen go up to 80% cpu usage..
 
I do try to keep a careful eye on this (I mean 80% of one core, of which I have 8.. I'm not sure how this will reflect on a single core/processor machine) but it does really concern me because as soon as I add an 'enterframe' function, spin something around or create a fair size animation it piles on the intensity to the cpu.. are there any professional tips anybody could offer me please ? I really want to make the web a better place for others by not overloading their computers

View 1 Replies

ActionScript 3.0 :: Games Use Arrays Sometime Or Even XML?

Sep 7, 2011

I am making this racing game, But I never understood how racing game's level.. I know other games use arrays sometime, or even XML. But i do not know how this works in terms of racing..
 
As you can see The level visual setup is on frame 2, which also has a label play. All that would cahnge per level is the game sprite. That holds everything that sets up the game, like the track, the car starting position, the bushes the waypoints the finish line. Everything really.

[Code]...

View 7 Replies

Flash :: Get Games To Add On My Website?

Dec 5, 2009

I am have a web site in Flex. And i want to add a few flash games in it.

I know [url]... has its games on facebook. Can I also add there games on my website?

View 1 Replies

UI Design In Flash Games?

Mar 21, 2010

Background: I've been coding in VIM/C++/OpenGL for a long time.I've come to realize that this (VIM/C++/OpenGL) isn't the way to learn about programming fancy/cool-looking/futuristic UIs; and that the design of such UIs belongs more so in the artistic/designer world of Flash.

Anyway, I currently have a machine with MacOSX. What software should I install? What book should I read to learn about the artistic/design side of these futuristic UIs? [It's okay if the tools to design them are mouse clicking + graphical rather than coding based].

Question: what software packages + books to read to learn about creating fancy-looking / futuristic UIs in flash?

View 3 Replies

Design Games And Simulations?

Nov 6, 2010

I'm currently enrolled in liberal arts college, but I'm quite sure that game design is what I want to do with my life. I want to someday manage production and hopefully design my own engine. What summer programs should I be looking into? What books should I read? What particular skills should I be learning?

View 2 Replies

Actionscript 3 :: Using Too Much RAM In Flash Games?

Jan 22, 2012

On my venture for quick rendering within Flash, I've worked out that the only solution is to create sprite sheets on the fly. Sprite sheets are created from a MovieClip using BitmapData.draw().

I have a graphics manager class which has a method that accepts a MovieClip and an int. The MovieClip is the target to capture graphics from, and the int represents how many different angles the image can be rendered at within 360 degrees.

[Code]...

Any advice around this would be extremely helpful. Note: I have made sure to utilize BitmapData.dispose() within my own dispose() method defined by SpriteSheet to clear up RAM, I am more concerned about how much RAM I can use at one given time (all game assets that will render ready to be used).

View 1 Replies

ActionScript 3.0 :: What Is _loc Used In Games

May 29, 2009

I have seen _loc1,_loc2 etc used in games. Whats the purpose of that?

View 7 Replies

ActionScript 2.0 :: How To Create RPG Games

Dec 1, 2003

how to create RPG games. The main focus point is inventory, collision, picking up items, getting a character to walk to where the mouse was clicked ect. Basically anything useful for a RPG game.

View 8 Replies

Online Multiplayer Games Tutorials?

May 4, 2009

I am pretty good with C++, very good with PHP and MySQL, CSS, HTML, and JavaScript.What I want to do is make an online game where 2 people can play against each other online They will be able to pick their uniforms which will be saved to a MySQL database, and the uniforms will show the color they picked when they play online.Now I just want to know where to get started her

View 1 Replies

What Is The Best Program To Make Flash Games

Jun 10, 2009

What is the best program to make flash games?

View 1 Replies

Additional Info In Dress Up Games?

Mar 9, 2010

Here's the thing.I am making my first game, a click and drag (dress up if you want to ) game...It is finished and working..But since it serves as an educational aid in history group, it would be great if I could somehow add some kind of pop-up window with text describing every item in game..For example "14th century bascinet developed from the steel cap bla bla bla...".And if that is not possible is there some other way all this info about these items (there is about 24 items in game) could be fitted in this kind of application

View 4 Replies

ActionScript 2.0 :: Timer For Games For Each Frame

Apr 11, 2010

I have put this code on the frames where each timer you have 30 sec to drag something and put it into a specific place. If you don't then I bring the user back to the starting frame. The issue that I noticed is that even if I cleared it and put a stop(); code it brings me back to the beginning of the game even if I did it ask it to do it! .

On each frame I put this
Code:
stop();
tm = 30;
displayTime.text = tm;
countDown = function () {
tm--;
displayTime.text = tm;
[Code] .....
Aand it works even on frames that don't have this code on it, why ? I put this clearInterval(countDown); all the time. but didn't work.

View 2 Replies

ActionScript 3.0 :: Can't Create Flash Games

Aug 2, 2009

I am new to actionscript. I am following a tutorial on lynda. I am trying to learn how to create flash games. I am using flash cs4. The tutorial uses flash cs3 and and actionscript 3.0. I added a movie clip to my library and enabled export for actionscript. I got a dialog box that says "a definition for this class could not be found in the classpath, so one will automatically be generated in the swf file upon export." I click ok. Then when I try to test it, I get an error that says "call to possibly undefined method". What exactly am I doing wrong?

View 7 Replies

ActionScript 3.0 :: Using ProLog AI With Flash Games?

Mar 21, 2010

I'm developing a Risk like game in flash and I want to use an AI I developed using Prolog language.How can I use the Prolog code in actionscript? do I have to translate it to anther language? is there any automatic way of doing this?

View 1 Replies

Professional :: Can't Open The Flash Games?

Mar 4, 2011

I hope I am in the right forum with my question - I am playing at [URL}.. and there is a Flash Application for Live Games - Link "Live" at the website.
 
My problem is that I can't open the Flash games because I if I click at "Live" in the main navigation nothing happens!!!
 
Other flash applications at other websites I can't open or see without problems - I really don't know what the problem is.

View 2 Replies

Professional :: Save The Games Marks

Aug 8, 2011

'm currently develop a flash game but i don't know how to save the games marks so thatthe user can display it when the games was over.

View 5 Replies

Actionscript :: Resources For Pure Games?

Oct 14, 2009

What resources (books or website/tutorials) are available, that cover game development using pure Actionscript 3 code? By pure, I mean not using Flash CS4 and its timeline, and not using Flex MXML components. Everything done using only Actionscript code.

In another question, I asked about using certain objects of the Flex SDK for simple games, and the consensus was that I shouldn't use it at all, but only Actionscript for a game. Sounds reasonable, but the books/website tutorials that I have found on the subject of games, all use AS3 in the context of Flash CS4. They assume your objects will be movieclips, with timelines, etc.

I realize that you can learn game programming from books in other languages, and/or ignore the Flash aspect of AS3 books. I guess what I'm looking for, is whatever information is specific to AS3, such as best practices for AS3-only games, how to make architectural/design decisions, etc. If it exists, anyway :)

View 3 Replies

Flash - Creating Background In Games?

Sep 10, 2010

What are the best (considered by professionals) approaches while creating a platformer based game for Creating game levels & background (static ones).Create a single background and scale it?or Display it on-the-fly by loading objects (probably repeating them often).

If the first one is the choice then it would become essential to create each level manually of the game & putting level editors difficult.
Also if the later is the choice I find it too processor intensive....my frame rate almost breaks into half, while trying to manage so many objects together on screen.

View 1 Replies

Play Flash Games In Application?

May 3, 2011

Is there any way to play flash games in a java application? I saw jflashplayer, but it is commercial.

View 1 Replies

Multiplayer Online Flash Games?

Jul 2, 2011

I have an idea to create a multiplayer online card game and I prefer to use flash, like yahoo chess(it is not a card game), zynga poker etc.

View 2 Replies

Actionscript 3 :: Best Way To Time Events In Games?

Aug 12, 2011

I am making a game similar to Touhou in style to learn AS3, but this game is timed to music. Bullet patterns, enemy spawning and special graphics will all be timed to happen at specific times in the music. What I am wondering is:What is the best way to accurately time many(!) events that are required to be very accurate and not slip even a tiny bit out of sync? Example of what sort of timing I am looking:

Spawn 5 different types of enemy's at 1:30 minutes, enemy 1 bullet pattern start at 1:31, bullet pattern will be timed to beat so repeat pattern every 2 seconds. This is a simple and short example of what I am trying to get at.

View 1 Replies

Actionscript 3 :: PureMVC For Flash Games

Oct 20, 2011

I dont have any experiencie using this pattern when developing a game, except on a data driven website made mostly in Flex.The question is, are there any drawbacks of this pattern?, let say, performance for example?If anyone implemented a game using this framework.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved