Can't Find A Point And Click Game Tutorial
Hey i'm really interested in making a room escape game but i can't find a tutorial anywhere. I have very basic flash experience but i think if i could find a good tutorial i could manage pretty well.
Can anybody point me in the direction of a tutorial like this?
FlashKit > Flash Help > Flash Newbies
Posted on: 09-21-2007, 02:03 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Point & Click Game
Hi all,
Before I begin, I must stress I have read the other 2 posts in the Flash Kit forums re this subject (if there are are others, i've missed them ).
Now, this is probably far to complex a project for me right now, but hell, why not just jump right in to the deep end :P I'm also quite stoked with the story I've written for this, but that part is secret right now :P Graphics, i'll be doing myself, backgrounds as per-rendered 3d images, perhaps some animated cutscenes, items as 3d pre-rendered objects.
All i'm really after is perhaps if someone could provide the key points i'll need to bear in mind.
I'll probably be keeping the game 1st person, no main character visible for ease. I'm assuming for an inventory, I could begin with an array with all the items already in, but each item has a value of 0. Once the player clicks on the item, the value can be adjusted to 1. For itmes that can be combined, perhaps have three items as follows; item A, item B and item A&B. Initially they are all set at 0, then when both items separate items are 'used' together (this will require more thought :P ) then item A&B will be assigned the value 1 and the separate items' values reverted to 0.
Anyway, to sum it all up, can someone point me to any resources that will come in useful and to give me some idea of how I should be structuring this.
I look forward to hearing from you all.
Thanks for reading.
Point And Click Adventure Game
I'm trying to develop my own point and click adventure game like the Lucasarts Monkey Island games (gameplay would mostly resemble the third one).
Does anybody know of a good tutorial on how to make one? I myself do know how to actionscript but the current engine I made is so riddled with bugs that it would be easier to just start from scratch.
Making An Inventory For A Point And Click Game
Hi there, im working on a point and click game in flash 8 and im having a hard time getting my head around how i might get my inventory working.
Basiclly, what im trying to achieve is -
you see an object on the stage, and you click it, a message comes up 'you have collected <item>' and the item is added to you inventory. your inventory is a box you can bring up with a little icon for each item youre holding which you can then click and use the item and blah blah blah, thats not the hard part.
So whats difficult is this inventory, how can i load movie clips into a certain place from seemingly no where, because what you click on screen isnt exactly whats going to appear in inventory. And how will i make it so the item loads into the next availiable on screen slot?
Its alot to get my head around, any thoughts, suggestions or examples would be HUGELY appriciated
Where To Find Good Flash Game Tutorial Resources?
I want to start learning to develop a flash games, but as far as I looked there are only tutorials for flash 5 with AS1.
If you know some other resources that use AS2 and most recent flash flash versions I would be glad if you suggest me for some
[CS3] Find Highest Point And Farthest Point Of A Parabola
Hi Guys, I've been using for forum extensively over the past few weeks and have found almost everything I needed until now...
I'm moving a ball using something similar to the following code:
Code:
var spx:Number = 3;
var spy:Number = 7;
var g:Number = 0.1;
var bmove:Boolean = true;
onEnterFrame = function() {
if (bmove) {
move_ball();
}
stop_ball();
}
function stop_ball() {
if (ball._y > 350) {
bmove = false;
}
}
function move_ball() {
spy = spy-g;
ball._x += spx;
ball._y -= spy-g;
}
Is there a way to find the maximum height and farthest point of the parabola it describes? I want to display a path guide using curveTo which shows the route of the ball.
Thanks.
Find Highest Point And Farthest Point Of A Parabola
Hi Guys, I've been using for forum extensively over the past few weeks and have found almost everything I needed until now...
I'm moving a ball using something similar to the following code:
Code:
var spx:Number = 3;
var spy:Number = 7;
var g:Number = 0.1;
var bmove:Boolean = true;
onEnterFrame = function() {
if (bmove) {
move_ball();
}
stop_ball();
}
function stop_ball() {
if (ball._y > 350) {
bmove = false;
}
}
function move_ball() {
spy = spy-g;
ball._x += spx;
ball._y -= spy-g;
}
Is there a way to find the maximum height and farthest point of the parabola it describes? I want to display a path guide using curveTo which shows the route of the ball.
Thanks.
Is It Possible To Find The Color At A Point?
Is there any way to test what color appears at a given (x, y) location in a movie clip?
For instance, I create an empty movie clip, then do some lineTo() and similar vector drawing commands. Then I want to test what color appears at the point (_xmouse, _ymouse). I know I could do this by keeping track of all the drawing commands, and doing lots of calculations. But I'm wondering if there's an easier way.
Any suggestions?
How To Find Out The Intersect Point?
Hi Everybody..!
This is my first querry in actionscript.org.
I have an angled straight line. And I have an object(ball), which is moving towards the line. What I want to know is..At what coordinate the ball will intersect the line?
Which formula I need to use? Can anybody help me doing this?
Thanks in advance..
Find Point On Dynamic Curve?
Im generating a line dynamically to simulate a wobbling stack of books.
The image shows the line which the book stack will follow. however im struggling to find a simple method of snapping my books to the line.
Any suggestions?
Math - How To Use 3 X,Y Cords To Find Any Given Point On A Arc?
Hi there...
I have 3 known points on screen. I am trying to find code that will allow me to find any given point of teh arc that moves though these three points.
See Pics
example01 - http://www5.picturepush.com/photo/a/...mg/1296823.png
example02 - http://www1.picturepush.com/photo/a/...mg/1296819.png
What we know
We know the X,Y cords of A,B and H.
We know the ANGLE of D.
What we want
Is the X,Y cords of any given point on the arc that connect A,B and H them.
My thoughts... If I can find the Center Point of the circle, I can than use that to work out the arc....
Can you guys help me out?
How Do You Find An Object's Center Point?
Hi,
I'm trying to find an object's center point. I've been using .x and .y (eg. object.x) to find the registration point. From there I've been calculating the center point by adding half the objects width to object.x and half the objects height to object.y. The code below is an example of what I've done.
Or is there a way to set an object's registration point to the center of the object?
Is there a method or property that will give me an object's center point automatically without me having to calculate it?
Attach Code
center.x = object.x + (object.width / 2);
center.y = object.y + (object.height / 2);
Find Point Between Two And Do It Again And Again. Making Grid
HI there, i'm triying to make a dinamic generated plane, that plane has a grid with lines in X and Y, by now i'm able to generate a grid clicking and dragging points to make 4 lines and i generated 2 lines between the midles of the opposites lines like this:
here is the app so far:
http://www.theguaz.com/grilla_lines.swf
U have to click and drag to make a line, try making a surface in the table.
now i have this also:
http://www.theguaz.com/sodimac/draw_lines_v2.swf
that one makes the subdivision, but now i need to make that same thing in the previous swf so when u subdivides one side that same subdivision occurs in the other 3. By now i have used the Point.interpolate funtion to find the middle point between the 2 points i mark:
Code:
var puntoIni:Array = new Array(0,0);
var puntoFin:Array = new Array(0,0);
var cardinales:Array = new Array(0,0);
contador = 0;
contaMarcas = 0;
var iniciado:Boolean = false;
var poderDibujar:Boolean = false;
var drawP = true;
//
//
var ref = this;
import flash.geom.Point;
//
#include "lmc_tween.as"
//
MovieClip.prototype.soyMarca = function():Void {
this._alpha = 50;
this.useHandCursor = false;
this.onRollOver = function():Void {
this.alphaTo(100, 1);
};
this.onRollOut = this.onReleaseOutside=function ():Void {
this.alphaTo(50, 1);
};
};
//
//
functionDrawLines = function (init:Array):Void {
if (contador<4) {
ref.onEnterFrame = function():Void {
puntoFin[0] = ref._xmouse;
puntoFin[1] = ref._ymouse;
//
//
ref["line_mc"+contador].removeMovieClip();
ref.createEmptyMovieClip("line_mc"+contador, ref.getNextHighestDepth());
ref["line_mc"+contador].lineStyle(2, 0xFFFFFF, 65);
ref["line_mc"+contador].moveTo(init[0], init[1]);
ref["line_mc"+contador].lineTo(puntoFin[0], puntoFin[1]);
//
};
ref.attachMovie("marcame_mc", "marcame_mc"+contaMarcas, ref.getNextHighestDepth(), {_x:init[0], _y:init[1]});
ref["marcame_mc"+contaMarcas].soyMarca();
contaMarcas++;
contador++;
}
};
calculaMitad = function (coords_one:Array, coords_two:Array):Point {
var point_1:Point = new Point(coords_one[0], coords_one[1]);
var point_2:Point = new Point(coords_two[0], coords_two[1]);
var interpolatedPoint:Point = Point.interpolate(point_1, point_2, .5);
return (interpolatedPoint);
};
creaNuevoPunto = function (punto:Point):Void {
var puntoNew:Point = punto;
cardinales[contador-1] = punto;
};
//
///
var mouseListener:Object = new Object();
//
mouseListener.onMouseDown = function() {
puntoIni[0] = ref._xmouse;
puntoIni[1] = ref._ymouse;
//
functionDrawLines(puntoIni);
};
//
dibujaParalelas = function ():Void {
if (drawP == true) {
ref.createEmptyMovieClip("linePara_mc"+0, ref.getNextHighestDepth());
ref["linePara_mc"+0].lineStyle(0.5, 0xFFFFFF, 35);
ref["linePara_mc"+0].moveTo(cardinales[0].x, cardinales[0].y);
ref["linePara_mc"+0].lineTo(cardinales[2].x, cardinales[2].y);
//
ref.createEmptyMovieClip("linePara_mc"+1, ref.getNextHighestDepth());
ref["linePara_mc"+1].lineStyle(0.5, 0xFFFFFF, 35);
ref["linePara_mc"+1].moveTo(cardinales[1].x, cardinales[1].y);
ref["linePara_mc"+1].lineTo(cardinales[3].x, cardinales[3].y);
}
};
//
mouseListener.onMouseUp = function() {
if (contaMarcas<8) {
delete ref.onEnterFrame;
//
//
ref.attachMovie("marca_mc", "marca_mc"+contador, ref.getNextHighestDepth(), {_x:calculaMitad(puntoIni, puntoFin).x, _y:calculaMitad(puntoIni, puntoFin).y});
ref.attachMovie("marcame_mc", "marcame_mc"+contaMarcas, ref.getNextHighestDepth(), {_x:puntoFin[0], _y:puntoFin[1]});
ref["marcame_mc"+contaMarcas].soyMarca();
creaNuevoPunto(calculaMitad(puntoIni, puntoFin));
contaMarcas++;
}
if (contaMarcas == 8) {
dibujaParalelas();
ref._parent.redraw_mc._visible = true;
ref._parent.redraw_mc.alphaTo(50, 1);
drawP = false;
removeListener(mouseListener)
}
trace(contaMarcas)
};
Mouse.addListener(mouseListener);
//
//
stop();
How in hell i can make a function that takes two points and makes equal intervals in every line i create ???
Thanks a lot to everyone who read this.
theguaz
Find Corner Of Mc Regardless Of Registration Point Position
Hello again,
Does anyone know of a way to find the top left corner (for example) of an mc regardless of where it's registration point is?
What I mean is how do I determine where the registration point is for an MC?
This is kinda what I am trying to accomplish: A user mouses over something and no matter what size it is, or where it's registration point is a box will appear right at the top left corner. Not including curves - there are no curves.
Thanks for the help.
webg
Find A Point On A Dynamic Curved Line
Im generating a line dynamically to simulate a wobbling stack of books.
The image shows the line which the book stack will follow. however im struggling to find a simple method of snapping my books to the line.
Any suggestions?
Rotation, Find Out Degrees Of A Point, Soooo Simple
I want to find out the angle of a point, which is always on the outline of a circle. I wrote a little function for that, dividing the circle into 4 divisions and using tangens. Anyway, the script seems to be correct, but the results are wrong. Can anybody help me, please????
Code:
/*
mx = _x position of the center of the circle (M)
my = _y position of the center of the circle (M)
px = _x position of the point
py = _y position of the point
*/
Math.circA = function(mx, my, px, py){
var a = 270;
if (px>mx && py > my) {
a = Math.atan(Math.abs(px-mx)/Math.abs(my-py));
} else {if (px<mx && py>my) {
a = 180 - Math.atan(Math.abs(mx-px)/Math.abs(my-py));
} else {if (px<mx && py<my) {
a = 180 + Math.atan(Math.abs(mx-px)/Math.abs(py-my));
} else {
a = 360 - Math.atan(Math.abs(px-mx)/Math.abs(py-my));
}}}
trace("circA() " + arguments.toString() + " = " + a);
return a;
}
/* 1. set dot to a position on the circle, i.e. 225 degrees
M is on _x:160 and _y:160, radius is 100
*/
this.dot._x = 160 + 100 * Math.cos(225 * (Math.PI / 180));
this.dot._y = 160 + 100 * Math.sin(225 * (Math.PI / 180));
// 2. Get the angle of the dot on the circle (usually between 0 and 360)
trace(Math.circA(160, 160, this.dot._x, this.dot._y));
Find Point On Rect Edge Based On Angle
I did not find anything that helped me with this anywhere on the net, and I racked my brain for what seemed like...
Well... just too long to figure it out. I'm not a math guru so I had revisted my old homework assignments to finally get it.
But I thought I would post it here to help anyone who might want it.
The example is done with a square, but it could easily be modified for a rectagle since I had to use quadrants anyway. The hardest thing was working with the degrees, because of flash's geometry system is so wonkey when it comes to degrees. But anywho...
Check out the example here (you may drag the squares):
http://www.jimisaacs.com/test/geomTest3/
The fla for it is here:
http://www.jimisaacs.com/test/geomTest3/geomTest3.zip
toodles
Point And Click
Hi!
I was wondering, instead of using a drag and drop interface, how do you make an interface where you click, and the object moves to that spot? This was done in the site, dubit(http://www.dubit.co.uk/), where you simply clicked anywhere on the screen, and the character moved there.
Cheers,
Willy
Point Click Help
Here is my moving code for my game I'm working on
onClipEvent (load) {
clickSpot_x = _x;
clickSpot_y = _y;
speed = 5;
clickMode = true;
}
onClipEvent (mouseDown) {
// set position of target spot when mouse is clicked
if (clickMode && _root._xmouse>1 && _root._xmouse<550) {
clickSpot_x = _root._xmouse;
clickSpot_y = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (clickMode) {
gotoSpotX = clickSpot_x;
gotoSpotY = clickSpot_y;
}
// calculate angle of current position to target position
delta_x = _x-gotoSpotX;
delta_y = _y-gotoSpotY;
targetRotation = -Math.atan2(delta_x, delta_y)/(Math.PI/180);
// calculate the two methods of rotation
if (turnMode) {
if (_rotation<targetRotation) {
_rotation += 10;
}
if (_rotation>targetRotation) {
_rotation -= 10;
}
} else {
_rotation = targetRotation;
}
}
onClipEvent (enterFrame) {
if (_root.walk==false) {
} else {
if (Math.sqrt((delta_x*delta_x)+(delta_y*delta_y))>sp eed) {
_y -= speed*Math.cos(_rotation*(Math.PI/180));
_x += speed*Math.sin(_rotation*(Math.PI/180));
}
}
}
What I want to is completely get rid of all the rotation stuff and make it so if the charactder is moving in a certain direction it does a goto and play to a frame for example if he's walking down, one of him facing forward walking, right = right walking and then when he's not moving go to another frame of him standing in the direction he stoped in. I've tried everything I could think of and it always gives me weird results, can somebody help me?
Point And Click.......
Hi
I was wondering.Howwould you do somthing like this. click anywhere on the screen and the guy well walk there.thanks
Point And Click
Can somebody please send me a link to a tutorial on how to make point and click games?
Point And Click
Hi there.
well ive looked for tutorials on games like this but havnt found ne at all.
What im wondering how to do is make a classic point and click adventure game with a story line of course, inventory, and when the use clicks the mouse around the screen the character i have animated plays their walking aniamtion and walks to the mouse clicked position not just appears their.
well ne help on how to make games like that would be great thanks in advanced
Point & Click Adventure
Hi, Im making a point & click game similar to Space Quest or Monkey Island, which brings me to my question. Is there a tutorial or anything on how to click and make a movie clip move to that location, adding of course collision detection to walls, etc.
Any help would be appreciated.
Thanks again
Help With A Point And Click Adventure
I'm trying to make a point and click adventure. I've gotten some script to work that allows a movie clip to move to an area that the user clicks, but I cant get it to animate properly. I want something like this: if x increases then character go to and play frame 2. If x decreases then character gotoandplay 2, xscale = -100. Same deal for a change in the y axis, but I would try to map it so that it would shrink according to the distance. Any ideas?
Inventory Point And Click
Hi
I'm in the midst of writing a point and click game and i'm trying to get my head round how I will make my inventory. I understand that I need to store the objects into an array but I'm struggling a bit. Does anyone know how I would do this using Actionscript 3.0. BTW I'm not using frames in my game I'm doing it in seperate classes (loads of different .as files)
Cheers
Prooster
Point And Click Movement
I've experimened a bit, but I cant find a way to get smooth movement from a players current location to a clicked location. Help please!
(Also, is there a way for the script to check if there is an obstical in its way, and if so, disallow movement?)
Find The X Game - How Too?
Does anyone know how to do this OR know where an open FLA is?
http://us.mms.com/us/dark/
I've checked in the movies section but there is nothing like this there.
Thanks!
Cosmo
Trying To Find A Tutorial...
Anyone know where i can find a tutorial on a flash/ASP guestbook?
Right now, I created a flash page... and I download a free guestbook made with asp.. If I get a little knowledge of how one can be done, I can prolly make one myself, but just can't find anything to put me in the right direction..
Mucho Gracias,
-Funk
Need To Find This Tutorial
is there a tutorial i can find to make a menu nav similar to this:
http://www.highersourcemusic.com/index2_nointro.htm
i just want to know how the box goes over the text, then gets smaller as you move, etc.. and how that little >> blinks..
i searched flash kit but couldnt find anything
thx
Can Not Find A Certain Tutorial
There is a tutorial that I had in myFK but I must have erased it, (idiot). It was about sliding windows. One long movieclip sliding from side to side depending on which button pressed.
It was really useful and now I can't find it!
Need To Find A Certain Tutorial
Hi,
I don't use flash much and I dont where I can find this tutorial. But I need a tutorial that can explain how to change the color of a product. It needs to be like http://www.timbuk2.com/tb2/byobclassic.t2 . If I could get any direction on this that would be great.
Thanks
Alex
Can Anyone Help Me Find A Tutorial?
hey everyone.
i wanna know how i can Load_movie and goto_frame X in the movie that i just loaded.
well i wanna find a tutorial for that.
and also for targets.
thanks
I Need A To Find A Tutorial For...
I need a to find a tutorial for 2d games like megaman. I wish to make interactive scenes in my movie.
Any help would be greatly appreciated.
Where Can I Find This Tutorial?
I'm trying to make my own Flash website and I was browsing around and I came across http://www.agencynet.com/.
Their navigation panoramic bar really intrigued me. I saw a tutorial for one before but I can't remember the website and I want to make my own, perhaps not has professional but similar where you scroll through an image and many of it's items or objects are buttons.
Does anyone know a suitable tutorial?
Looking For A Certain Tutorial... Can't Find It
Hello! I would like to find some tutorials that will teach me how to make navigation menus like the one on this site...
http://www.beksinski.pl/
I want to learn how to create the moving lines and dots as they have done. I know my way around the Flash program, but am a newby to actionscript. So I need something with a step by step process.
Can anyone point me in the right direction? Everytime I do a search for it, I get more people asking similar questions, but no tutorials.
Thanks!
[mx] Cant Find Tutorial...
I wanted to add a self-drawing line to my page but the only types of tutorials I can find in that category make the user draw the line themselves. Does anyone know where that tutorial is that explains how to coordinate the line? Or do I just use tweens and transforms? I'm sure there was a tutorial that make it look a lot smoother with the final product. Hmmmm...... Let me know if you know of the one I'm talking about.
~ S. Blaze
Cant Find Tutorial
Hey, I can't find that tutorial that teaches how to actually make your own scrollbar. Not the one from the components window..but my own arrows? Does anyone know where to find one?
~ Seretha
I Cant Find A Tutorial
I am looking for a tutorial called Senocular's 3D car race tutorial if anyone has a link to it please post it.
- thank you
Where Can I Find A Tutorial
The guy that built my business website made some flash up top....Where can i find a tutorial on how to do the little flashing circles and arrows like on my site...heres the site...www.gbcamerica.com
thanks for the help guys!
Where Can I Find A Tutorial On This?
hey guys i was checking out a website at http://www.amberfly.com/main/index.html
and i was wondering where i can find a tutorial on how i can create the pre loading effects (ie when each of the frames come togehter to form the webpage at different intervals, which then ultimatley leads to the complete site) thanks in advance!
Point'n'click Navigation Not Working Right...
I have a problem with my point'n'click navigation setup. After adding speed formulas, my object doesn't move down any more...
I am using Flash MX (educational version).
Could anyone help me find out what the problem is?
Point And Click Email Wish List
hi
could you help me?
i would like to create a simple point and click wish list which would go something like this:
user clicks on an object/graphic/mc (button or invisible button) and that object is added to a list which can be then emailed to the owner of the site.
would you have a tutorial with this kind of possibility or script to share to make this possible?
thanks!
leelaa
[MX04] Point And Click Wish List
hi
could you help me?
i would like to create a simple point and click wish list which would go something like this:
user clicks on an object/graphic/mc (button or invisible button) and that object is added to a list which can be then emailed to the owner of the site.
would you have a tutorial with this kind of possibility or script to share to make this possible?
thanks!
leelaa
Point And Click Inventory System
OK i am half way through an elaborate point and click game i am making and i am using variables for my items and i was wondering if anyone know how i can make an inventory system around that?
Maybe like that when i click the the inventory button it checks for my variables like :
if(key eq 1){
//show the image of it
} else {
//dont show the image
Find The Error Game
i have to go to bed can anyone find the error(its in the moonlander mc). My friend is new at programming and i said i'd give him this to look at. ITs supposed to be the done version. He's making his own and then he's gonna compare code.
Find The Error Game
i have to go to bed can anyone find the error(its in the moonlander mc). My friend is new at programming and i said i'd give him this to look at. ITs supposed to be the done version. He's making his own and then he's gonna compare code.
Where Can I Find A Panorama Tutorial?
Howdy people, I'm just wondering If anyone knows where I can find a panorama tutorial?
Also, what's the best software to smooth all the images into one?
Cheers,
ksj
Where Can I Find A Good Tutorial On This...
http://www.kistphoto.com/
if you roll over the name "Andrew Kist" it will play a movie clip ("click for contact info")that follows the cursor.
I've been looking in the tutorial section but with no luck.
Where Find A Good Tutorial?
Hello guys.
I want to learn about data interactions between databases and flashMX using asp.net
please give me some useful links.
thnx
|