View Full Version : games in flash (newby)
pantas
May 8th, 2006, 01:03 PM
Hi there flash pros :D
is it possible to create basic games in flash?
such as:
Sliders (http://www.mccollam.com/fun/sliders/sliders.html)
and memory games? (have no link, but are the ones where we try to find a match between the turned images...if not, they will turn down and well have to turn another..?)
any tutorial would be greate!would really apreciate it!
thanks in advance for the patience!
Joppe
May 8th, 2006, 01:07 PM
No links to tutorials, but yeah of course its possible..
pantas
May 8th, 2006, 01:44 PM
well...
and how about any keywords?
ive searched all over google but no forums or tutorials.. :S
or any .fla file?
thanks again
Joppe
May 8th, 2006, 03:32 PM
flash memory game fla
flash memory game tutorial
etc etc.. maybe?
nathan99
May 8th, 2006, 06:20 PM
www.n99creations.com/?pID=archives&col=Blue
;) go down to memory game... You may want some expanding.. just let me know :)
pantas
May 9th, 2006, 07:06 PM
nathan99 this is really usefull!
too bad there is no slider game too :S
just one thing...by letting other people download your files, you should at least leave some tips in the AS :p hehehe just kidding!
thanks for the file! ill check it out now, try to find out how this works :D
pantas
May 9th, 2006, 07:09 PM
by the way..... loved the gta game :D
nathan99
May 10th, 2006, 12:45 AM
lol :P you can ask questions with the comment feature :P
ajcates
May 10th, 2006, 03:10 AM
i am gonna make that slider game cuz i love those things, even tho i am complety pro at them, i have no idea where to start, but it will be the best slider game ever.
thx for the challnge
pantas
May 10th, 2006, 06:39 AM
no h080j03, i thank you!
Smee
May 15th, 2006, 06:16 AM
Here, I made this a while ago. You might be able to learn from it.
The code is in the _Game MovieClip in the library, frame one of the Actions layer. I didn't comment it, so ask questions if you need some explanation.
pantas
May 15th, 2006, 01:20 PM
thats it Smee!
can you pleasepaste the .fla please ?
Smee
May 15th, 2006, 09:17 PM
Woops! I thought I had attached the fla. It was slightly too large with the image in it to put up here and I didn't notice that it didn't go through. I'm attaching the picture and the fla seperately, so you can just download the fla and the picture and put the picture in the "Hellfire MC" MovieClip in the library, with the reference point in the top left corner of the picture. You could also just use your own picture, of course.
Just make a MovieClip with the picture in it and give it some linkage, and then change the PictureToUse = "Hellfire" to whatever your linkage is, the rest is done automaticly.
pantas
May 17th, 2006, 07:41 AM
thanks!!
pantas
May 18th, 2006, 08:16 PM
first of all, thank you Smee!:evil2:
just one thing...i got lost in your load movie functions. can you help me to try and clean a bit the of the AS?
All y need to try to figure out is the "main game" AS, leaving the options menu out. the problem is that if i try to make it go directlly to the game, without the options menu it will not export the game itself.
can you help me out? the 9squares game is greate. do not need to change anything, just make it load the pictures with the right AS...:hangover:
thanks in advance!
Smee
May 19th, 2006, 01:07 PM
The options screen is where two pieces of information are created, the GridSize object and the NumberOfMoves number. If you want to leave out the options, then you'll need to create those variables elsewhere.
So, in the Game MovieClip, you'll need to modify
GridSize = Info.GridSize;
to be the actual object, something like
GridSize = {x: 10, y: 10};
Same thing for the NumberOfMoves variable, somewhere (just under the GridSize object should be fine) you should define the number of moves:
NumberOfMoves = 10;
Then, scroll down to
ScrambleTiles(Info.NumberOfMoves);
and take out the "Info." part of it. I hope that works.
pantas
June 26th, 2006, 07:40 AM
when we finish the game, can i make anything happen?
pantas
June 26th, 2006, 08:00 AM
something like game over ?
impossible
July 10th, 2006, 03:30 PM
thanks
impossible
August 8th, 2006, 05:02 PM
Hi all. I finally have time to play around with this game.
First let me say that slider games are my favorite puzzle games and Smee's AS code is really cool! :thumb:
Smee I have noticed that when I set ( SnapDistance = 100; ) it will only allow tiles to move x positive and y negative. Is there a way to fix this?
There is also another problem when snap is set to 100, if I click or drag some of the tiles that are not bordering the empty tile they snap behind other tiles thus creating many empty tiles.
Pantas did you ever figure out how to do a game over, you win, puzzle solved or next level?
Can anyone help? :q: :q: :q:
cryo.burned
August 8th, 2006, 05:32 PM
Nathan check ur coding on your site...
Hey Guys,
This is my own folder in which I will place all of my sources that I think will be useful to you. Feel free to browse through my examples and use them however you wish.
Have fun!
Nathan.
Warning: dir(./archives/) [function.dir]: failed to open dir: Invalid argument in D:\Hosting\thirdeye\n99creations\n99creations.com\ www\archives.php on line 9
Current files in my archives
Fatal error: Call to a member function read() on a non-object in D:\Hosting\thirdeye\n99creations\n99creations.com\ www\archives.php on line 11
impossible
August 9th, 2006, 02:52 AM
Nathan check ur coding on your site...
Cyro follow this link or click on the my examples link on the left. Look for the memory game in the list. It is under flash games. :whistle:
http://www.n99creations.com/?pID=my_examples&col=Blue
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.