Puzzle Game
If you have simple puzzle game in .fla file please send it to me so I can look on how it's done I would like to see codes and how it's done. Thank you very much. webnut@shaw.ca
FlashKit > Flash Help > Flash Newbies
Posted on: 08-10-2002, 04:01 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Help With A Puzzle Game....
anyone know how this game was made or if there is a tutorial/fla to look at.
http://games.yahoo.com/games/downloads/pi.html
i'm trying to learn actionscript and thought if could make something simular to this it would be a good challenge and a good learning curve.
thanks in advance,
ben
Puzzle Game
Hi,
Please see attachment fla
I'm working on a puzzle game.
No one has been able to figure this out so far, so I put the challenge out there to anyone can solve this puzzle.
At present, when all the pieces are put in place it takes you to frame 4.
However I want to be able to do the following;
go to frame 3 if the puzzle is completed in less than 1 minute
go to frame 4 if the puzzle is completed in over 1 minute
go to frame 5 if the puzzle is completed in over 5 minutes
Code
Code for the timer can be found on frame 2 upper left side.
Code for the puzzle pieces can be found on frame 2. Double click on number to get code.
Thanks Guys
Puzzle Game Due In 4h's
i made one and it worked now i'm doing it again and it's not going and there's absolutly no reason why it shouldn't be going
here it is http://www.sandmanmedia.com/puzz/game-label_revised.swf
you will notice #8 and 6 will not follow the mouse once you let go of the mouse button but the rest do
here's the source http://www.sandmanmedia.com/puzz.zip
I've checked it upside down over 10 times and they are alll identical!
Sandman9
Starting A Puzzle-game
Hello!
I'm new to Flash (MX) and made some small movies as well as some simple action-scripts. Now I want to make a kind of puzzle, which has some images on the screen which should be put together to one large image. I have experience in other programm-languages.
The problem: I have no idea where to start
I only know movies which are shown in some kind of order, but what is the general structure of a game?
Thanx in advance
Flash Puzzle Game
Does anyone knows how to make crossword puzzle by flash (any version)? Or I can find any book, CD, or website has this instruction.
Thanks a lot!
Export Jpg In Puzzle Game
Hi! we're developing a series of child games (5-6 year old)
The games are like this:
pulsobinario.com/demos/caritas2a.swf
As you can see, each face is composed by individual items.
The goal is that with the press of a button, the user (a child) get a PNG, JPG, GIF or any graphic format with their finished product.
How can be this done?
Please help. We are a non profit organization
/*ActionScript Help*/ Puzzle Game
I have recently completed a puzzle game, and it seems to be working fine. The only problem I have had (or been unable to fix) is that when I go to a different scene, the last puzzle peice that has been placed remains for the rest of the Flash movie.
Does anyone know how to fix this problem?
Your help would be greatly appreciated!
Thanks,
Lee.
Slide Puzzle Game?
Hi, I'm looking for a source file I can amend for an old game, the slide puzzle one. I'd like to be able to simple start it off where the photo is in a mess and simply needs to be reorganised by the user. It's a kind of old school game I know but a favourite I think. Anyone know where there might be a fla file for this kind of thing? thanks
Export Jpg In Puzzle Game
Hi! we're developing a series of child games (5-6 year old)
The games are like this:
pulsobinario.com/demos/caritas2a.swf
As you can see, each face is composed by individual items.
The goal is that with the press of a button, the user (a child) get a PNG, JPG, GIF or any graphic format with their finished product.
How can be this done?
Please help. We are a non profit organization
Load Diferent Mcs Into Puzzle Game.
Hello everyone.
Im making a simple puzzle type game. Well actually i say puzzle because it works on drop targets and so on. The game is like this one here http://pbskids.org/barney/children/g...ners_game.html where there are 3 "containers" for diferent objects. Bottles, cans and paper. Well the whole functioning is simple to do with drags and drop targets.
Now what really is driving me nuts is that i want to make a random positioning and choice of the objects to appear. You can see in the link that everytime you start the game its not the same objects as before, or when you complete a level, that same choice of mcs and theyre positioning is randomized.
How can i do such an effect?
I know how to duplicate mcs and how to "scramble" them as puzzle pieces, but how to choose smoe of them, thats really hard to me.
So, i hope to hear from you.
Thanks!
AS - Building A Bubble Puzzle Game
Hi people, I need to build a game that is similar to bubble puzzle game play, but have no idea how to start.
Try googling but didn’t get any useful result.
Anyone know of any tutorial or reference on when I can draw on to build a flash game around the same game play of bubble puzzle?
Thanks in advance!
Any Simpler And Reuseable Puzzle Game Template?
hi all,
this link http://www.macromedia.com/desdev/mx/...aw_puzzle.html introduced the puzzle game but it is too complex for me.
Does anybody know a simpler one?
Besides, whenever we change the image, do we have to re-cut the image into pieces? If so, does anyone know a better solution so that we can change the image on-the-fly?
Thanks for all answering.
I Need A Good Scripter To Help Me Out To Help Me With A Puzzle Flash Game
I just need a good coder to make a code for my game , i have already got everything for the game, i even have a sample script that you could work off of , somone tryed to dump me on the project and take all the credit for himself so i need to do it fast. Please respond or email me at rindotheraven@yahoo.com
Sliding Puzzle Game.... Flicker Problem
Here is the thing... i created this sliding puzzle game in AS3... i must say that i'm new to making things move or any other kind of animation through AS3 code... so, if there are any beginner's mistakes - i apologize!
Now, the problem is that sometimes when i click on one piece of a puzzle, and it should start to slide on to new position, it first flickers (if i can call it a flicker) and then moves... i attached the whole project in a RAR file on other forum (this one doesn't allow more than 150kb) - here is URL (http://www.flashmove.com/forum/showt...861#post125861) ... so, anyone is free to take a look... and offcourse - HELP!
there... and one more thing... be patient... it sometimes takes more than 20-30 clicks for it to happen... but trust me... it happens!
thank you all!
Sliding Puzzle Game.... Flicker Problem
Here is the thing... i crreated this sliding puzzle game in AS3... i must say that i'm new to making things move or any other kind of animation through AS3 code... so, if there are any beginer's mistakes - i apologize!
Now, the problem is that sometimes when i click on one piece of a puzzle, and it should start to slide on to new position, it first flickers (if i can call it a flicker) and then moves... i attached the whole project in a RAR file below... so, anyone is free to take a look... and offcourse - HELP!
there... and one more thing... be patient... it sometimes takes more than 20-30 clicks for it to happen... but trust me... it happens!
thank you all!
Sliding Images Puzzle "game" - Help
Greetings,
The "game" I need to make consists of 1 large (vector) image split up into 4 rows. The user is to arrange each row (one at a time only, top to bottom) so that the picture is completed. Upon each row completion, a message is displayed and the user moves on to the next row.
I have the basics down in Flash, and I can move the image pieces horizontally with keyboard arrows. The only thing I need help with is how to specify when each picture slice hits a certain X coordinate to "goto" a keyframe, load a movie, whatever need be..
The code I have thus far:
watchKeyBoard = new Object();
watchKeyBoard.onKeyDown = function() {
trace("a key is pressed. the key that is pressed is "+Key.getAscii());
};
Key.addListener(watchKeyBoard);
function moveStuff() {
if (Key.isDown(Key.LEFT)) {
this._x -= 5;
}
if (Key.isDown(Key.RIGHT)) {
this._x += 5;
}
}
box_mc.onEnterFrame = moveStuff;
Puzzle.fla
HELP! I am completely new, not only to Flash, but to web design also. This actionscript stuff is a foreign language to me. In the puzzle.fla in the Macromedia tutorial, the "OK" button pulses. I see how the animation was built, but where is the instruction to cause it to run? I am out of my league
This Is A Puzzle (pun)
i have been working with this puzzle for a while - can someone help me?
here is the puzzle:
http://www.flashkit.com/movies/Games...2433/index.php
(copy all of the url)
this is what i am trying to do:
1. make the puzzle bigger!
2. make it so it can be random pictures (with a button to reset with a random picture)
thanks for your time guys
Yechiel
(i am using flash mx - hi was done in flash 5)
Puzzle
I found this article in the Flash Tutorial, it describes Ifframeloaded action script for Flash MX,
If Frame Is Loaded (Scene 1, "end")
Go to and Play (Scene 1, 1)
End Frame Loaded
i am currently using Flash 5. How do i overcome this problemo.
Thanks for takin your time reading this.
Help is greatly appreciated. I would also like little bit more info on how to create a preloader if possible.
thanks again.
A Puzzle
Not sure how else to subject title this problem so hopefully you like starting your monday's off with a puzzle...
Bit o' background:
I have a multi-level movie that has 2 ways in...the user is either coming in for the first time or returning to a previously viewed 'page'. Each time the user views a 'page' he triggers code that makes a clip visible. That clip's name as well as the level it's on is dynamic...determined by AS code:
Code:
_level0[holdsVisual][visual]._visible = true;
Everything works fine on the 'user here for 1st time' branch...but the above statement is evalutaing to null on my 'return via bookmark' branch. Here's the puzzle....the variables 'holdsVisual' and 'visual' both return exactly what they should but taken together they ain't got it. That means the most obvious source of problem ... populating/initializing my vars ... works correctly.
When I run this trace from the '1st time' branch:
Code:
trace("visual is: " add visual);
//returned: myVis
trace("holdsVisual is: " add holdsVisual);
//returned: _level41
trace("holdsVisual is: " add _level0[holdsVisual][visual]);
//returned: _level41.myVis
trace("holdsVisual is: " add _level0[holdsVisual][visual]._visible);
//returned true
But when run from the 'resume from bookmark' branch the 2 vars show the correct value but they don't evaluate to anything when used in the '_level0[holdsVisual][visual]' statement:
Code:
trace("visual is: " add visual);
//returned: myVis
trace("holdsVisual is: " add holdsVisual);
//returned: _level41
trace("holdsVisual is: " add _level0[holdsVisual][visual]);
//returned: [blank]
trace("holdsVisual is: " add _level0[holdsVisual][visual]._visible);
//returned [blank]
I've taken great pains to be sure that all the levels have already loaded before the ' _level0[holdsVisual][visual]._visible = true;' is called so i'm at a loss for my next troubleshooting step.
thankx
--steve...
Puzzle?
i'm trying to make a jigsaw puzzle and i dont know how to make the parts join and move as one group if they are placed correctly. can anyone help? ps. am using flash mx
Help With Puzzle
I am trying to build a sliding puzzle. Not for a game just for a navigation system. My trouble is that I don't even know where to begin. I found this:
http://www.flashkit.com/movies/Effec...5043/index.php
That is on the right track, but I don't want to have 1 movie duplicated. I want to have each square be a button to a seperate page, each with its own rollover picture. I guess my question is that even possible. Can I achieve the random movement of that example, with out the duplication of movie clips. Basically start with my pattern on screen and have the boxes move around at random like a sliding puzzle. This is probably extremely confusing, so I will check back and answer any questions you have of me.
Thanks in advance
Here's A Puzzle For Someone...
How would you define setInterval so that depending on which content is loaded into your movieclip, the delayed would be longer or shorter.
For example I have a movie clip with 3 text fields. Each text field loads text from a txt file. This movie clip has an animation (10 frames) and on frame 9 I have the setInterval command that acts as a pause so content can be displayed.
What I am looking to accomplish is using setinterval to, depending on what frame of my movie clip is displayed (some text fields are 2 lines of text others 1)display for a longer or shorter period of time.
I am using this code on frame 9
//
_root.animate = setInterval(_root.playMovieClip, 5000, this);
and I imagine I would just incorporate if then statements
Any takers?
Puzzle
hi guys
can any one help me to do a puzzle just like the sample was in flash 5,
but i want it 9 squares rather than 15 and i want to put a picture on the squares
Puzzle
I got as far as making the pieces, converting to buttons doing the x y thing so they click into place; but then I want to add a click sound, so put another layer on the buttons with a sound; and they don't move with the mouse anymore! also it has a stop in the first frame of the first layer, but I want the player when he has put the puzzle together to go automatically to the next scene. I have put the condition script. I am stuck at making it go ahead. The puzzle image is a house with a window and when assembled I want it to go to same pic but with a person looking out of the window, it's for a birthday card. I hope I have explained what I am trying to do clearly. Found tutorials on making a puzzle but no sound and no final changed scene.
[CS3] Puzzle With If
Hi,
I have made three puzzles, but now I need to add code, so the animation continue after the puzzle is finish.
I already have done some coding for the first one, but it doesn't work :
if ((_root.Puzzle.CercleE._rotation==_root.Puzzle.Cer cleE._rotation+(180,250))
(_root.Puzzle.CercleI._rotation==_root.Puzzle.Cerc leI._rotation+(65,115))
(_root.Puzzle.Centre._rotation==_root.Puzzle.Centr e._rotation+(150,210))){
play;}
For the second I want something similar, but its the frames that will make the animation continue.
For the last I have a whiteboard, and when 5 specific locations will have been hit by the draw, the animation must continue.
Thanks for your help.
Puzzle
Hi there!
I m making a puzzle. I want when i attach the objects to the rt place - a sound will produce like in normal windows game.
If i place the sound in the puzzle piece it plays early n look awkward.
Can anyone help me in this?
Puzzle Help
Howdy all, Trying to put together an example for a client of an adver-game. Simple game simple message anyway...
i used a standard sample file in the flash 5 samples folder and made a few modifications. it's the sliding piece puzzle game and the only thing that fails on it is the movie clip labeled "p0". for some reason it's dead wherever it lands after the shuffle.
this is just something that i wanted to whip-out and say "see this is sort of what i'm talking about"per usual the flash snake has bitten me in the ass.
http://www.westwayne.com/interactive...nt/Puzzle2.swf
http://www.westwayne.com/interactive...nt/Puzzle2.fla
the only real changes that i made was disabling the routine that dynamically generated the "tiles" and instead made my own pictographic tiles with the instance names already in place.
Any thoughts or insight to this dead tile would be greatly appreciated.
Another Puzzle For All Of You
Lets say we have text fields that can be filled up with an external text.(I am novice, bear with me, I dont know the exact term)
Quote:
this is the actual working code, by the way.
ActionScript Code:
function loadtext(str) {
trace(str);
texte = new LoadVars();
texte.onLoad = function(success) {
if (success) {
_root.texte1.text = texte.texte1;
_root.texte2.text = texte.texte2;
_root.texte3.text = texte.texte3;
_root.email.texte5.text = texte.texte5;
_root.url.texte6.text = texte.texte6;
_root.texte7.text = texte.texte7;
_root.int2020.texte8.text = texte.texte8;
_root.intcat.texte9.text = texte.texte9;
_root.bexit.texte10.text = texte.texte10;
} else {
trace(success);
texte.load(str+"/txt.txt");
}
};
texte.load(str+"/textesID.txt");
}
loadtext(lang);
// Just for contact us
texte22 = new LoadVars();
texte22.onLoad = function() {
_root.createTextField("box", 15, 35, 200, 250, 250);
_root.box.html = true;
_root.box.selectable = false;
var m = this.txt.split("<#>");
m = m.join(newline);
box.htmlText = m;
};
texte22.load(lang+"/textesID.txt");
texte22.autoSize="left";
Now, each field is set at Arial, 12(For example).
Fine with English, fine with Dutch...fine with with and with...but our German is having text that are taking more place and so, the text is cut by the displaying box.
Is there a way to say to Flash that if the text is not displayed enterely in one of all those field, take the one that is having more than what we can display(preferably in character number...)then reduce the police to 11...till either you reach 6 or it fits in the field...then do not reduce.
I tried with text lenght, but all the boxes are the same lenght, that's the content that is not...
Any thought on that?
Btw, I am still working on this myself...I thought I found a way to know what field was the longuest...
just that Flash is like having 3h of my time per week...
Sorry.
Thanks for anything.
Zaza
PS:For your information:
My ultimate goals with that flash is to come to a point that just by setting my variable lang, the flash will :
- go and fetch the text in a folder(done),
-change the police to make it fit all the way(So you dont have a 12 aside a 8).(in progress)
-change the font type(Thinking of it, this could be simple so I didnt asked for help there)
-change the url and email(posted on an other thread)
-mirror the position of the object if need to be for right-to-left language(done, believe it or not)
Ambitious for a newby?
It's A Puzzle? (help)....PLEASE
Hi there....
Need to get the jigsaw pieces in the main image to change from grey to red when they are rolled over by the pointer. They need to fade in as red and then when the pointer isn't over them they need to fade back out to grey. I have got so close to doing this but my files are a mess. I have put up a blank file with the library of files to be used. If someone wants to have a pop at making the solution, feel free or can someone tell me how I should go about it?
Many thanks in advance!
>File in Flash CS3
>File in Flash 8
Edited: 07/02/2007 at 04:24:00 AM by ukdazza
Puzzle
Does anyone know how you could have a animated picture and cut into pieces
to make a puzzle that you drad around to put it together. I coudl use an example file. THANKS.
AS Puzzle
Hi,
I'm trying to unravel a piece of AS that i found, but untill now I'm not very succesfull in understanding it, maybe you guys can make sense of it (for me)
Code:
function str_replace(str, char, replace)
{
return (str.split(char).join(replace));
}
thanx
Puzzle ?
hello... i want to know if someone can help///
i want to learn how to do a puzzle but when i finish my puzzle..
i want a enter button to appear..
the puzzle i want it to be made of a picture..
thanks
Crossword Puzzle
I've built a small crossword puzzle for a training program as a series of Flash files. I have the thing working great locally, but it will not work when posted to the web. I am calling the answer files (e.g. 1 down), which are separate .swf files, from the clue buttons (e.g. "1 down: Amplifies and passes network signals")using:
on (release) {
loadMovieNum ("1 down.swf", 1);
}
The user then types their answer and it appears on screen and persists throughout the remainder of the movie. (Each answer file--there are just eight of 'em--goes into its own layer.)
What do I need to do to get this working over the web?
Thanks in advance!
SwapDepths () Puzzle
I have created a 3D interface with 10 panels using the attachMovie method. I am trying to work out a way of using swapDepths to make it so that the front panel hides the proportion of the rear panel that it is in contact with.
Is there any way of making one panel's level greater than any other when it's _xscale value is also greater?
Thanks for your time,
Shaka(UK)
Help Me By Working Out This Puzzle
Pictur this:
A movie clip (import mc) in a stop frame of the main time line, this has variable imported from a .txt,
On the main time line there is another variable, and a button.
I am trying to set the variables on the main time line with the variable in the import mc using a button action, here's what i've been using:
"on (release) {
variable = import/variable;
}"
but I keep getting the variable NaN in the main time line.
Does any one understand my explanation nevermind what I need to know?
any help much appriciated.
Crossword Puzzle Help
Hoping that someone knows of a flash crossword puzzle that I could take a look at, and help if you know how it was done.
Trying to do several interactive quizes, and this one is hanging me up. If you know of anything let me know.
Thanks
A Sound Puzzle...
Right heres the deal, I want sound 'A' lets call it to play when I open the frame...ok I can do that, but now I want sound 'B' to play when sound 'A' has finished. How do I do this? Also I want sound 'B' to loop infinately, how do I enter infinity?
Puzzle Pieces
Hi,
I just made a jigsaw puzzle and am trying to get the pieces returned to exactly the same position if they are placed incorrectly. The problem is that they do return but usually go right off the stage so it is impossible to place them on the puzzle again. This is the code I used..
onClipEvent (mouseDown) {
mx = _root._xmouse;
my = _root._ymouse;
for (x=0; x<6; x++) {
for (y=0; y<4; y++) {
piece = _root[x+"-"+y];
if (piece.hitTest(mx, my) and (piece._alpha<100)) {
piece.startDrag();
x = 6;
y = 4;
break;
}
}
}
}
onClipEvent (mouseUp) {
stopDrag ();
dx = _root.outline._x-piece._x;
dy = _root.outline._y-piece._y;
dist = Math.sqrt(dx*dx+dy*dy);
if (dist<10) {
piece._x = _root.outline._x;
piece._y = _root.outline._y;
// set to full color
piece._alpha = 100;
else (dist>10)
piece._x = mx
piece._y = my
}
}
3D Co-ordinates Puzzle
HI Everyone
back again... this seemed to be unanswered last week, so just in the hope of getting an answer this time ;o)
i have a 3d problem thats had me stumped for months and i really need to get this bit sorted out so any help would be really appreciated,,i have tried every tutorial i can find but none seem to be as straightforward as i need
anyway
i have some points
camerapositionX
camerapositionY
camerapositionZ
and
camerafocusX
camerafocusY
camerafocusZ
(general x,y,z coordiantes to a normal flash movie, im trying to use the camera focus part as the perspective point so i can move it around
now i have a layer with x,y,z values
eg:
clipX
clipY
clipZ
so in essence im looking for something to stick in a call or function type thing where the inputs would be
inputclipX
inputclipY
inputclipZ
and outputs would be
outputX
outputY
to then 'fake' the 3d coordinates relative to the camera coordinates..
i hope that makes sense ?
many thanks again
Shane
How Do I Create A Puzzle?
I know the basic features about flash and using symbols and such, but can anyone give me step by step instructions to create a puzzle with an image of my choice?
Help Building A Puzzle
Hi there,
I was looking for that kind of tutorial for so long. I'm trying to build a
puzzle game. Same kind as at http://www.shockwave.com/content/dailyjigsaw_syn/
where you can select the draggable object from anywhere whithin it's boundary.
Also, when the two object do overlap, they don't glue unless their in their good
position. It's not very easy but if you know how, give me a good hint
Regards,
Problem With Puzzle
Hi flashers, I´m doing a puzzle with non square pieces. I´ve got the base mcs in one layer and the daggable mcs in other layer. Then when I drag the mc´s it can appear under the other draggable mc´s or even under the base or the already placed mc´s. How can I make the draggable mc to appear on top and the placed mc to appear at the bottom? Any way to check levels? I´ve tried with swapdepths and it´s driving me crazy... there must be better way to do it. Thank you all.
Puzzle Question
How do I make puzzle pieces snap together so people don't have to struggle to get them in place properly?
Puzzle Question
I would like to do a jigsaw puzzle game. I have an image, and i would like to slice them. Is there a program which could slice it for me so that I could directly take them to use it Flash??
Thanks
FK
Swapdepths In A Puzzle
I'm working with a puzzle, and i had de following structure:
Principal scene this function:
//_root.embaralha();
function embaralha(){
for (var i = 1; i<=3; i++){
with (this["c"+i]){
_x = Math.floor(Math.random()*200)+360;
_y = Math.floor(Math.random()*230)+140;
}
}
}
function final(numero){
if (_root.n < 2){
_root.n+=1
}else{
_root.fundo.play();
_root.onEnterFrame = function() {
if (_root.movie_txt._alpha < 100) {
(_root.movie_txt._alpha += 5);
}
}
}
}
inside every piece(MC) i had:
3 frames and 2 layers
in the first frame:
if ((getProperty("", _droptarget) eq "/a1") and(getProperty("", _rotation) eq"0") ) {
setProperty("", _x, getProperty("/a1", _x));
setProperty("", _y, getProperty("/a1", _y));
gotoAndStop(3);
}
in secound frame:
gotoAndPlay(1);
in third frame:
stopDrag();
_root.final();
stop();
in the first and secoun frames i had a button with the action:
on (rollOver){
this.swapDepths(1);
}
on (press) {
startDrag("", true);
}
on (release) {
stopDrag();
}
and this button chnge for a graphic in the third frame.
My problem is when i use the swapDepht property on every pieces
in finalof the game i try to scrumble the pieces again and the puzzle start with a copy of the last piece in the final place.
why?????
see the attachment for understand it.....
http://clientes.lazo.com.br/lazo/layout_producao4.zip
i'm using just the three pieces in the left/top pieces to test this
sorry abou my english
and thank's
Icaro
Puzzle Problem
Hi,
In the movie's there's a simple picture sliding game, where you move elements around a 3x3 square, what I want to know is, is it possible to solve it??, because the Flash lessons version is 4x4...is a 3x3 version solvable??
thanks
phil.
Animated Puzzle
What would be the best way to create an animated puzzle in Flash?
Ex. I have 8 pieces that I want to fly onto the screen to complete a puzzle.
Puzzle Pieces
hey I'm making a puzzle game and i want the pieces to "lock" in the right place if they're near where it should be. It's a fairly big puzzle but i really need help with the script. right now i have it where they have to be exact and it isn't working out to good due to exact placement. Thanks for your help.
|