ActionScript 3.0 :: Make Some Sort Of Game Where The Player Is To "escort" A Color To A Target?
Nov 1, 2009
I'm trying to make some sort of game where the player is to "escort" a color to a target. The user starts as gray and the player is painted one of four colors when he hits one of the boxes on the screen. The game is over when the player's object is the same color as the target's color and they touch. All this is realized, except a part where the target is a different color every time the game restarts. So far I have
ActionScript Code:
public function randomcolor():void
{
[code]....
The target has a color assigned to it; winrar.color which is working. How do I get things working so the target is actually colored correctly?
View 2 Replies
Similar Posts:
Feb 29, 2012
I've created a simple drag 'n' drop game and I want the color of the target to be changed only when the user puts inside it all the text frames.
The instance name of the target is "targetCircle" and that of the text frames is "circle_mc", "circle1_mc"....."circle5_mc".
View 0 Replies
Dec 19, 2009
i want to make the character in my flash game make a jump when the player presses a key,e.g. 'space',even the player release the key instantly,the character will still finish the complete jump process.
View 1 Replies
Mar 1, 2010
I am trying to create a memory game, where about five or six (doesn't matter how much) different colours com up and flash for a second and disappear in a random order.
Then the user has to try to match them again buy clicking on the colours that they have infront of them in the same sequence as the lights went.
Is there a way to make this game so it will tell you when you are wrong or right, and also is it possible to make the flashing colours random each time you play it?
View 1 Replies
Mar 30, 2012
I want to make a simple multi player game so any one give me sample code or how to do that ?
View 1 Replies
Nov 17, 2010
I'm trying to make a game where the player moves and the background scrolls to make it look like the player is moving but really the background is. The problem is whenever I blow something up in the game the explosion follows the player instead of staying with the background.
View 14 Replies
Oct 3, 2011
i am an newbie as3 developer, and i am working on a basic, horizontal shooter platform game.and my question is: how can i make enemies move smart, towards the player? ( but ofcours you are in able to dodge)so like, an enemy is moving to me so when i am not dodging, it will hit the player.
View 2 Replies
Aug 13, 2009
next to the header of an advancedDataGrid you see a number. This number stays grey no matter what i do. I Already searched 1 hour to find the solution.
View 1 Replies
Jun 13, 2009
I was trying to make a game, and the character inside the game could swim. However, I only wanted him to swim in short bursts that refueled every time he hit the ground.
View 9 Replies
Nov 17, 2009
how to drag one movieclip(color button) to another movieclip(target to have color changed) and have it change the color of the clip?I have a color menu and I want to be able to drag the color to an mc on the stage and when released over the top of that mc it will change its color.
View 1 Replies
Mar 22, 2011
I'm making target shooting game and the hitTestObject not working its located in the function collision detection below in my code:
import fl.motion.MotionEvent;
import flash.events.MouseEvent;
var xSwitch:Array = new Array ;
var count:Number = 120;
var seconds:Number = 0;
var minutes:Number = 0;
[Code] .....
View 1 Replies
Aug 19, 2011
I am trying to create a game that has a weapon and a target for the mouse. Example in my attachment. I know how to make the buy button but how can I switch out for other weapon choices.
View 1 Replies
Oct 25, 2010
There's clearly a bunch of new stuff in Flash 10, I'm seeing a bunch in the Graphics class so far. Struggling a bit to reconcile it with what I know already but it looks useful - render lists and 3D transforms, etc - however I wondered if there are good arguments for targeting Flash 9 since I can definitely manage without all the new stuff I don't know. Like support on non-Windows devices, wide adoption of Flash 9 Vs 10, etc.
View 1 Replies
Apr 1, 2011
how to make a game tutorial as farmville game tutorial to teach the user to play the game. i have recently involve in make that kind of game tutorial for its user by actionscript 3
View 1 Replies
Oct 18, 2003
How would I make a dynamic text boxes border a certain color, along with background color.
View 1 Replies
Mar 25, 2005
I need help with page "Thumbs" (as first frame), page "List" (as second frame) and Image gallery (as third and base). So, every frame have one own XML file...When you choose some thumb or list line, you must came to this image in the gallery. Easy, sure.. but i don't know what Function exactly i need to use.It's one flash move, hence it doesn't work with getURL or loadMovie...Some exemple with 3 separate pages here: yuri.fr
View 1 Replies
Jan 31, 2004
How can I make the color from a mc, a square with a flat fill, fade from one color to another (by using actionscript only) ?
View 4 Replies
May 23, 2011
how to make this sort of 3d coverflow effect? how is it call in Flash?
[URL]
click on "see the topics"
View 4 Replies
Jun 7, 2007
make a 4 color gradient, a separate color on each corner?
View 2 Replies
Mar 27, 2005
How i would go about making a sort of increasing transparency layer..
say i have a movieclip which is scrolling back and forth horizontally ..
as it reaches its extremes ( were i want it to start being hidden) i do not want it to be completly hidden right away .. but i want it to look more and more hidden the further into the extreme it goes , so it looks as if its fading when it scrolls to the side.
View 7 Replies
Apr 26, 2004
I'm trying to make a paper doll sort of program. I've got a bunch of PNGs of clothes cut out and I'd like to dynamically load them in with attachMovie. So I imported the PNGs into my project, but when I try to export them for ActionScript, the checkbox to do so is greyed out.
what the specific requirements are to be able to Export a symbol to ActionScript?
View 1 Replies
Mar 22, 2011
i know how to make an animated mask to have an image on top of another to have them transition as the mask passes thru..but this time instead of animating the mask i was wondering how to make the mask be sort of a brush on the tip of the mouse pointer.
View 3 Replies
Mar 4, 2010
mainBar.onRollOver = function()
{
mainBar._alpha = 100;
}
mainBar.onRollOut = function()
{
mainBar._alpha = 0;
}
My mainBar(movieClip type) consists of several buttons. If i don't put the codes above, the buttons would work as per normal. but if i put these codes, the buttons do not respond when i click on them. I want to make the mainBar, which is some sort of a control bar, transparent when the mouse cursor is not over it. when the mouse cursor is over it, then it will re-appear. but the buttons on the control bar doesn't seem to work when i try to use this feature.
View 1 Replies
Nov 27, 2010
I have an array that is structured like so.
[Code]....
Normally, I'd just like to sort the array alphabetically using the name field, which is easy enough using the following code. However, I'd like to create a radio button called 'loadedRadioButton' and when it's click on, I'd like to sort the array on the loaded value first(any items with loaded=true should be at the top, sorted alphabetically), then afterwards, any other items with loaded=false, sorted alphabetically should follow afterwards, how can I do it?
View 0 Replies
Mar 5, 2010
Here is a website that needs a sort function to sort the video by Last name. [URL] I would like to have a link that popped up videos sorted by last name. Please take a look at the following site for an example. [URL] When you click on seconds in the menu below, it opens a pop-up window that sort the videos in a certain way. If you are willing to,I will give you the source file of what it currently has on [URL]
View 1 Replies
Jun 12, 2009
Im making a file data center sort of thing in flash. What's meant to happen is: You click an button on the side of the list and on the display area beside it it shows the text info on that item and the button that you click to display that item! really simple but i dont know how to do it Instance names: what ever you want
Actionscript dyscription:
1. Click button
2. [instance name: "display" MOVIECLIP] displays the frame("display2")
3. Click other button in list and goto and stop ("display3")
View 2 Replies
Nov 21, 2004
i need to make a sort of template for a group of files. it must contain both text and images (sort of help files where there is text and explanatory figures). i have to make this template 100% dynamic, meaning that i don't know the amount of text or number of images or where those images will be within the text. my client should be able to add text and images without having to edit the swf.
i know how to make textfields and movieclips during runtime, and how to load dynamic text and images, but the main problem is that the client wants the images inbetween paragraphs - not in a seperate place. -how do i set breakpoints in a dynamically loaded text -how do i position the images? -how do i position the rest of the text?
View 1 Replies
Sep 14, 2009
i want to make some sort of scroll pane that will hold my xmL loaded images ..i have looked at several samples of scrolling panes but they only hold textfield.
View 2 Replies
Apr 11, 2012
I'm having an issue when it comes to line thickness on movie clips, when a movieclip is flipped the line thickness vanishes due to Flash thinking I'm squishing the MovieClip. Is there any way I can make Flash not bother the line thickness when changing scale or some sort of alternative? Or is my only choice to kill line thickness altogether.
View 1 Replies
Sep 25, 2010
I'm pulling my hair out with this one.
How do I set which Flash Player to use when running a project?
View 1 Replies