ActionScript 2.0 :: 'Connect Dots' Game In Flash
Aug 28, 2006Has anyone ever seen or made a 'connect the dots' game done in Flash?
View 14 RepliesHas anyone ever seen or made a 'connect the dots' game done in Flash?
View 14 RepliesI've been slowly teaching myself AC3 - largely using examples from online tutorials and a collection of books I've bought. I can get simple exercises to work, but I'm losing my way when things get complicated.
For example - packages - I am unclear on how these work and interact with my main programming stream. Now I'm getting to the point where this question seems to be coming up all of the time. But, for some reason, I just can't seem to connect the dots.
So, I have a simple connect the dots game working by drawing lines. The line is drawn when clicking the right dot.However I want to be able to let the user be able to see the line and the line moves to any dot but only draws if clicking the right one.
Code:
this.createEmptyMovieClip("line",1);
line.lineStyle(2,0x000000,100);
dot_array = ["d1", "d2", "d3", "d4", "d5", "d6", "d7", "d8", "d9", "d10","d11","d12","d13","d14"];
[Code...
anyone have a hint how to create with AS, leader dots? Meaning, I need to connect two points with growing leader dots that may change direction at right angles.
View 3 RepliesI want to develop a "Join the Dots" game. I am anewbie in flash. I want to let the users join the dots to form alphabetical letters. If they do it correctly, they gain scores.
View 1 RepliesI am making an interactive map for my high school web page that allows a parent to put in their students classroom numbers and then the path is plotted on the map with numbered waypoints (loaded movie clips). What actionscript will draw a line between two movie clips or points?
View 4 Repliesi made flash game in action script 3.0. In my game i have leader score.. i have 2 buttons 1. share on facebook and 2. challenge your friends on facebook.on clicking 1 button it will directly go to facebook and share my score on facebook.And on clicking 2 button my all facebook friends pics will appear with checkbox when i am selecting few of my friends and click on go buttons, the facebook request will go to selected friends only for challenge ... how to do this 2 buttons functionality.
View 1 RepliesI am trying to connect 2 flash clients to a flash game, each client will control a object in the flash game.I am unsure of how I can connect those two clients to the central flash game, or what the best way would be to achieve the desired result.I am just trying to send commands from the flash clients to the flash game, but I am unsure of how to go about it.
View 1 RepliesI was just fooling around in my spare time and have made this cool interface and game-playing code for a Connect-4 type game, written in Flex and playable by 2 human players in Flash. It accurately detects wins, etc. I'm smart enough to know that I've done the easy part.Before I dig into an AI for game play, I wanted to ask if this is the kind of thing that can really be handled computationally by a Flash plugin. It seems to me that for every turn up until the end there are 8 possible moves, 8 responses to each move, etc. So wouldn't a perfect engine have to be able to potentially see 8^8 moves (over 16 million), and a fairly good engine see up to a million? I don't know game coding so this is new to me. What's a reasonable move horizon for such a game to be able to see?
View 1 RepliesI'm developing a multi-player game and I know nothing about how to connect from one client to another via a server. Where do I start? Are there any whizzy open source projects which provide the communication framework into which I can drop my message data or do I have to write a load of complicated multi-threaded sockety code? Does the picture change at all if teh clients are running on phones?
View 4 RepliesI am trying to make a real simple "Connect four" Game without any KI, just for two people taking turns to klick.Sounds easy, but I just can't get it right. I found a .fla in the internet and tried to modify it, but there's some mistake in the script that I just can't figure out.
View 3 RepliesI have seen loads of cool sites with video that have an overlay of dots sitting over the video. I guess this is in part for a design aesthetic, and the other to reduce the visible amount of pixellation from the compression.Can anyone tell me how to create this sort of effect dynamically, or am i going to have to duplicate a million movieclips? And if i do, will this affect performance?
View 14 RepliesI am trying to create a flash wich will have multiple dots to indicate locations, on mouseover to these dots a panel will appear on the right hand side showing some related information.
View 1 RepliesUPDATE: Now I've moved the AMFConnection var declaration to outside the functions in Main, and commented out some trace() commands, and now it gives new errors:
Error #2044: Unhandled NetStatusEvent:. level=error, code=NetConnection.Call.BadVersion
at AMFConnection/init()[/Users/Jan/Downloads/amfphp1/AMFConnection.as:32]
at AMFConnection()[/Users/Jan/Downloads/amfphp1/AMFConnection.as:23]
[code]...
I'm trying to connect to AMFPHP on a server (with Flash AS3), and the swf borks when it reaches the .connect() stage. To make things easier (?) and more reusable (?), I've put all the NetConnection mechanics into a separate class, AMFConnection, which I call from the Main document class like this (details changed):
public function testConnection(e:*=null):void {
var conn:AMFConnection = new AMFConnection();
conn.table = "some_table";
[code]...
AMFConnection actually starts the connection and calls the AMFPHP service with the function gogogo(), and here's where the connect() NetConnection function just won't work. Here's the main section of the AMFConncection class
private var _netConnection:NetConnection;
private var _responder:Responder;
function AMFConnection()
[code]...
It also fails to display the stage, instead showing the loading dots. Now, eventually I'm going to move this application to the same server as the AMFPHP service, but even when I try it there with a relative url, instead of an absolute one, it still breaks down at connect(). I've tried changing the publish settings from local only to network only, to no avail.
We built a demo for a product we may build. The demo is in flash for FP 9 and is one master clip that loads about a dozen other clips. All these clips are intended to load locally in a browser window (just from the file system - not a server). What we noticed is that the two computers we developed this on (with Flash CS5 on them) show this fine in it's finished form (1 .html page / 1 main .swf - 12 child .swfs in a subfolder).
But on all other computers without Flash IDE installed it doesn't work. It loads the page in a browser and then just shows a grey screen with 5 "loading" dots that just repeat in the middle of the screen. I have not seen this before and didn't build the app - before i start digging into the code (was told maybe a problem with the loader trying to load from the file system as opposed from a URL) I wanted to know what could be causing this?
I'm looking to do a preloader for my site, what I want to do is that the user sees the percentage loaded, but instead of the typical bar filling up, I want dots to fill the screen. Each dot would appear with each percentage loaded. So for example, if its on 5%, there would be 5 dots, when it moves to 6%, another dot would appear on the screen. So in the end there would be 100 dots/circles on the screen. maybe say in a 10 by 10 grid. I know how to make the percentage loaded appear, but have no idea about the dots.
View 5 RepliesI'm creating a game at the moment for my university course and it involves the player character jumping on top of boxs twice to break them as opposed to just once.What would be the most efficient/simple way of writing this in Actionscript 3.
View 1 RepliesI am thinking of developing of a game like this: [URL]... Do you have any idea - by which game engine I may develop this type of games? I am not sure whether I have to use any 3d physics engine? I think JiglibFlash may be useful, but I am not sure.
View 1 Replieshow 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 RepliesWhen game page loading , the flash game itself does not appear ( just white area as the holder of the flash game) untill the game almost finish downloading, then it appears .. This long waiting with just white area makes visitors leave, thinking there was nothing there.
View 1 Repliesi want to make g-book!!! guest have to enter name, email, and comments! then he adds dot on the map where he is living!!! maybe some one has good turoal???
View 2 RepliesI have drawn a dotted line for this illustration:how to animated the dots to give the impression that data in this network line is going from left to right?
View 1 RepliesI want to create animation like this. [URL]I don't know its create from actionscript or only simple flash.
View 1 RepliesI am working on a flash website built with as3. It works fine when i test it locally. but when I upload it and test it from a remote server, 5 black dots in a row cycle a few times before the preloader starts. this also will happen when I simulate download locally. does anyone know what these 5 black dots are
View 2 RepliesI'm trying to load a swf file into my main swf. Everything looks fine when I test it with ctrl-enter, but when I open my main swf in a browser it just shows 5 flashing dots where the loaded swf should be.
View 1 RepliesI have an IK chain of 3 dots. I would like to put random movement on one of the dots 'pt1' so that is randomly bounces around my screen while the other 2 dots follow - something like a snake. However when I put this code on 'pt1' which is a movie clip by the way it simply will not work.
ActionScript Code:
onClipEvent(load){
xDir=1;
yDir=1;[code].........
URL...I'm thinking of haveing the dots move on a path (the line) clockwise. now I wonder: is it do-able in actionscript?I mean, can I set the line to be a path for the dots in actionscript? I'm thinking of something similar to the setMask() function..
View 2 RepliesI'm making this interactive map. It's made from tiles of dots, each turned on or off at run time depending on where the user has scrolled to. The tiles are 9x9 dots and I make the map from an array which is 20x40 in size. The swf then shows what is visible as you scroll over that map with a window which is smaller than a 3x2 tile space. The problem I have is that the dots which fall outside of the proposed viewing window still exist so when your mouse hovers over them, even though they're hidden, they still interact.
Here's a picture: Is there some way to mask the interaction of those dots? Each one's a movie clip. I can hide them visually but that's no good, people can still click on them then without even knowing they're there. I've tried loading the exported SWF into a movieClipLoader but that just automatically spills over like this again.
just playing around with stuff and i was wondering if i were to make a small internal site... how i'd go about making it so when you enter your password that it came up with those black dots instead of the letters?
View 4 Replieswell i made a game and in the game there is music at the first frame and when u lose to goes back to first fram and more music plays so they are overlapping.
View 10 Replies