Game Development
Hi All, I am new to flash and FMS.I need clarification about game development.I need to develop the multiplayer game using flash mx 8 and flash media server 3.If u had any tips or technical documents of game develpment or code,please send to me.It's very urgent.Thanks,Mariappan.R
Adobe > Flash Media Server
Posted on: 03/25/2008 08:04:47 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Game Development Help
Hi friends,
I'm trying to create a game for my website using Adobe Flash CS3. The game takes place in a river, with two castles on either side. The player, on the left, tries to build boats to ram the enemy castle, and the computer tries to build boats to ram your castle.
There are five buttons. "BuySloop", "BuySchooner" , "BuyFrigate", "Produce Resources", and "Wind"
Produce Resources increases the variable "resourcevalue" by 10 every time it is pressed. This part works.
BuySloop, BuySchooner, and BuyFrigate spawn the respective ships at the base when pressed. This part works.
Wind is the part I'm having trouble with. I'm trying to make it so it increases the x value of all the ships on the field with every click. So the ship spawns, I press "Wind". Nothing happens. The ship doesnt budge. I have a feeling it has something to do with the setProperty, because I tested the variables and they should be working.
Many thanks,
Frodo of www.nerdworks.info
Attach Code
//Wind
on(release)
{
while (windvar<=i) {
if("Ship"+i._x<=450)
{
setProperty("Ship"+windvar,_x,"Ship"+windvar._x+20);
}
else
{
removeMovieClip("Ship"+i);
castle2-=50;
if(castle2<=0)
gotoandplay("win");
}
windvar++;
}}
-------------------------------------------------------------------------------------------------------------
//BuySloop
on (release) {
if (resourcevalue>=100) {
resourcevalue = resourcevalue-100;
attachMovie("Sloop_right", "Ship"+i,i,{_x:50, _y:225});
i++;}}
Game Development In AS3
In AS3 how does a movie clip reference or find another movieclip? Example, let's say I have a game that has enemy airplanes and the play uses a gun to shoot them down, the airplanes are randomly selected and addchild is used to place them in the DisplayObject on the stage by the document class. Now lets say that the airplanes drop bombs, so the airplanes have their own class linked to the airplane movie clips in the library, this class uses a timer to drop bombs by using addchild and moves the plane. The bombs have their own class that move them down the screen and do a hittest looking for the players gun. How do you do this in AS3? In AS2 I would use a _root to allow the Bomb class to find the Gun MC. So in AS3 how do classes find MCs on the stage?
Is my approach totally off for AS3? I'm trying to migrate from AS2 game development to AS3, and my biggest problems is the DiplayObject ; (
Does anyone know of a book or website that gives instruction or examples for a game with enemies that shoot back? Or can anyone answer my question?
Thanks!
Game Development Problem
Hi, I'm currently developing a Rally Racing game in Flash MX, that also uses VB to gain a front-end advantage.
So far I have created a SWF File that acts as a 'Splash' screen for the game, before the player starts playing, this is only small and is sitting ontop of a VB Form.
Now what i'm having trouble doing is getting another SWF file that i've already created to load from a click of a button on the previous SWF file.
All the fscommands on this main swf are set up correctly, im 100% sure about this, however getting them to load on the same form is not what i want to do (And as luck would have it, its the only way i can currently get it to work). What i want it to do is, when the player clicks 'Play' from the first SWF file i would like Flash to Load up a new FLash Player with a different SWF file (in this case the main SWF File) in full screen.
This may be alittle hard to understand, but i really need some help, if you my explanation is alittle fuzzy i'll answer any questions you might have, but here is a basic version of what im getting at:
Player clicks on VB Exe File from Desktop (Done)
VB Form opens with Flash SWF on it (Done)
Player clicks on Play Button on SWF File
This launches a new FLash Player with main.swf in full screen.
Thanks for any help
Adam Webb
Flash Game Development
I am planning developing Flash Games for a cell phone. If I post them to my website can people play them on their mobile web browser? Is it in Flash or Flash Lite? Or do people have to somehow download the game to their hpone to play? Thanks.
Several Questions Regarding Game Development
Hi all
I am creating a game in flash and had some questions for the movement and hittest abilities
I would like my character to move as if he was drunk I am unsure how to do that I am using the keyboard for his movement.
I also have a character that moves at random I would like the drunk moving character to be able to catch this character and play a scene from within the drunk characters movie clip but I want this character to try and escape the idea is the drunk character gets points for how long he is able to hang on to this character
Any Help is cool
Thanks in advance
Several Questions Regarding Game Development
Hi all
I am creating a game in flash and had some questions for the movement and hittest abilities
I would like my character to move as if he was drunk I am unsure how to do that I am using the keyboard for his movement.
I also have a character that moves at random I would like the drunk moving character to be able to catch this character and play a scene from within the drunk characters movie clip but I want this character to try and escape the idea is the drunk character gets points for how long he is able to hang on to this character
Any Help is cool
Thanks in advance
Flash Game Development
Hey Guys
I will keep this short and to the point.
I am developing a portal site at the minute that is a hybrid of flash and html/css.
I want to include some flash based games like crossword games or word/number puzzle games etc.
I have never really developed anything like this before so I was wondering if anyone could point me in the right direction, either by recommending a good book or website that will get me started with some good examples!
Thanks in advance!
Streamer
What Should I Purchase For Flash Game Development
I'm interested in jumping into the world of Flash game development. What products should I get buy to get started?
Flash 4.0 or 5.0?
Flash Director?
Flash Freehand?
I want to start with simple stuff and work up. Thanks.
Flash Online MPG Game Development
hi, i am developing a project which is exactly a Multi-Player RPG Game;details as below:
1.multi player move from one scene to another,and every one can watch the action of others in real time;
2.they can chat together;
3.they can play some games that two or more players can play online;
en,it is just sth like www.penguin.com;and i have no idea about it;So, can i have your help?thanks very much!
Flash CS3+AS3. Really Serious Problem With Game Development. Help Me
Hi,
I need your help I am in a close deadline.
I am using Flash CS3+AS3.
I have game.FLA file with the art content and a game.AS file that extends the MovieClip class.
Here is the problem, I just realize that the code that runs inside the constructor of the class extending the MovieClip works just for the current frame.
My Game.FLA has 2 frames. The first one with the game instructions and a Start button and the second frame with the actual game.
In the constructor I create the event listener for the EnterFrame event. But this event is not suppose to fire until the game is started by clicking the Start button.
Ok, I figured, this is clumsy but is the only way. Inside the click event listener for the button I have this code:
function startButton_click(e:MouseEvent) {
play();
addEventListener(Event.ENTER_FRAME, run);
}
The play method advances to the next frame (the other frame has a stop() call in the .FLA frame actions area). Fine, then create the EnterFrame event and that is. Well it works but appears to me that the call to <<play>> is asynchronous so the the next call fails the first time but then works because the frame is actually loaded.
The problem is I need a way to know that the frame for my game has completely loaded so I can start the EnterFrame event and detecting keys presses.
Thanks,
Jorge
Flash Game Development Books Help
Hi,
I am looking to get into creating interactive products to get various 'content' out to end users.
I am looking to get key content out via the use of games and flash seems the most interesting way to go about it.
Can you guys recommend any decent books I should purchase? I am looking to go from a beginner all the way up to a good understanding of games and flash. So can you recommend simple/beginner books as well as higher thought provoking one?
When the user plays these games they will hopefully be given key information and therefore I am looking to create a package of different games for different end users.
The web is good but I just want to sit down quietly and practice away by looking at books and get a better understanding.
Thanks,
Desktop Game Development ... Is AS2 Robust Enough?
Forgive the length, here. I'm truly interested in input. I posted this on forums.flash.actionscript on the 6th but got no replies, so I'll try my luck with this gang.
I've been a Flash developer since version 4 and have basically taught myself programming as a result. Since MX, really -- but especially since the introduction of AS2 -- I begin to feel I can hold my own among OOP developers in the office, which is a good feeling.
Citing a company such as Sarbakan (http://www.sarbakan.com/), I feel more and more strongly that Flash has "arrived" -- that it has matured -- enough to build an off-the-shelf, worthy-of-paying-money-for family adventure game. By "family adventure," I mean something along the lines of the old Sierra classics, say, the King's Quest series. Check out Sarbakan's Arcane or Steppen Wolf (all under Our Properties > Internet) to see what I'm talking about.
To be sure, I recognize the enormous talent already shown in dozens and dozens of online favorites; I'm not downplaying online games. Flash is, without a doubt, the industry leader in that domain. Rather, I'm wondering about the feasibility of Flash as a development tool for an install-on-your-hard-drive game, something that is intended to be played for weeks or months, like ... I suppose ... Dora the Explorer, or Clifford the Big Red Dog (neither of which I've played, but have seen in stores). Every now and then, you hear about one of these family offerings and discover it was developed in Director. So how about the younger cousin, so recently gleaming in its new coding paradigm?
It goes without saying you'd need additional software to pull Flash out of the sandbox (like Flash Studio Pro, maybe, or Jugglor), if for no other reason than to kill the right click menu that screams, "I AM A FLASH MOVIE!!" But can anyone with experience weigh in? What are the pros and cons of choosing Flash over Director -- or using Director as the "shell" for memory management and IO capabilities -- or, again, one of these 3rd party apps?
Flash just seems too good to pass up, for all its graphics, animation, and audio strengths. Macromedia has been pushing the rich Internet application angle for a while now -- "Flash is more than just sophisticated cartooning software" -- so how sturdy is it? Or should a guy like me, who's been wanting to create a game forever now, learn C#?
Some Development Problems And Ideas To Do With A Game I Am Currently Trying To Make?
hi could you help me with a some development problems and ideas to do with a game i am currently trying to make.
I'll try to explain exactly what I want to acheive and exactly what ive done because ive led others to confusion over this, so that you can follow what i mean, ill try to explain clearly. im using Flash MX Professional using a 1024px width by 600px height stage frame rate 12fps.
Ill start off with my character:
- I started off with my .png bitmat picture of my character cut it into his limbs in the following peices:
Torso (included head arms and gun), lower torso (to which i'd attach other limbs), mid region (waist), left and right upper legs, lower legs and both feet of course.
- After exporting the images to my .fla files library i used the break apart functon in flash to allow the lasso tool to select the shape in the image i wanted.
- Then i converted the selected section to a symbol with the behavour of a movie clip.
- Once i converted the parts i needed to symbols, i started a blank symbol (behavour movie clip) I called it "player 1", and added the body parts and limbs each on different layers (with only one frame at first in each) in this order top to bottom:
"torso"
"sulg9mm"
"mid reagon"
"lower torso"
"right upper leg"
"right lower leg"
"right foot"
"right upper leg"
"right lower leg"
"right foot"
Note -
- I added the slug9mm layer because, i realised i needed somewhere for realistic bullets to fly from,
- i positioned it so that the bullets in the "slug9mm" layer where directly under the guns muzzel in the above torso" layer, and
- when the movieclip played they would start from the muzzel (very important).
- Also in the beginning the character had a laser beam on another separate layer called "laser line" to follow his gun and the path the bullets where intended to go to using action scripting but ill get back to that in a minute.
Now Ill go through what i used with action scripting on my character:
- I selected the "torso" symbol MC i originally made from the start and the one on the "player 1" symbol, because i needed to add the following action scrip which i got from a site called flashkit.com to make just the "torso" symbol on the symbol "player 1" rotate about a point pointing at the mouse. The code was:
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root._ymouse-this._y, _root._xmouse-this._x);
myDegrees = Math.round((myRadians*180/Math.PI));
_root.yChange = Math.round(_root._ymouse-this._y);
_root.xChange = Math.round(_root._xmouse-this._x);
_root.yMove = Math.round(_root.yChange/20);
_root.xMove = Math.round(_root.xChange/20);
this._rotation = myDegrees-90;
}
Note:
- i had to change the this._rotation = myDegrees-90; part of this code to
this._rotation = myDegrees-11;
- because it made the guns muzzel point directly at the mouse, give or take a few degrees.
- I then added the same code to the "torso" MC which was on the top layer of the symbol "player 1" and in my original to the "laser line".
- The results of this where that the "player 1" MC's torso and gun would point at the mouse at the right angle, until you got too close to the player with the mouse!
So after this i added the action script code to the bullet,
- the results of this where that the bullet was not visible under the muzzel of the gun,
- because i made the gun and the bullet so that they where to rotate arround the same point at the same radius starting from the same possition operating under the same action script but they where on different layers so they would not interact.
That was the beauty of it until i came into the problem of:
- making or finding an action script which would make (or allow) the bullet to follow a path in which was the same as the mouse angle
- at the position the mouse was after the user pressed the clicker
- this was to make the user able to point and shoot accuratly at the target and see that the bullets whent where they where suppost to go to.
Also I was thinking of ways that i could:
- make the bullets ricoche (bounce) off the walls, and
- have there speed dampened each time they hit a surface (like a wall) or object (like an enemy).
- make bullets go through an enemy whitch triggers an effect of blood spatter at that position (spatter would follow a simillar path as the bullet out the back of the enemies).
- make the bullets obey laws of gravity, kinematics, motion, and of course kill enemies.
- make the character walk across the screen using the left & right keys to move L&R, up for jump down for crouch and combinations of the arrow keys (up/down&left/right) to produce diaganal motions.
- because i want my character to jump off some platforms aswel as on.
- This would also mean the character would have to obey gravity wile not falling through the floor, walls, platforms or walk on thin air!!! also have a slight bounce on landing on a platform or floor or a slight bounce off a wall.
- Also I was thinking of making the characters, enemies and bullets not able to pass through certain objects which i specify to provide cover for my character and his enemies.
-Most of the games levels will be in the x and y dimentions like a streets of rage type shoot em up, but on some i want to have my character face off his enemies point blank in corry-doors, stair wells, snipering and any where else i can think of to put bosses these levels would not be in 3dimensions but be more like a primitive Time Crissis type level with duck, click and shoot +other stuff.
- also id like to make a animation at the muzzel which moves with the muzzel the animation would only play when shooting the gun and show the path of the bullets trojectory (muzzel flash/smoke trail).
Things I think i need help with most are:
- the bullets going to the mouse angle,
- bullets staying on that path of mouse angle click until they collide with something
- then they would bounce off at a 90degree angle (if i specified that they should bounce off)
- the velocity reduced through a kind of dampening effect over time (due to air friction)
- and due to collisions.
I think i have the movement with the keys sorted and the gravity aswell but my character kept on falling through the floor when i jumped so i scrapped the code i was using for it!
I know how to calculate gravitys effects, momentum, kinetic energy and vectors...& so on but i just dont know how to put it all into action scripting because ive only been usung actionscrip for flash MX 04 for three days!!!
Id appreachiate any suggestions that you may have although im not asking you to make the game for me, because im having fun learning. I would value your advice, if its helpful to me. hope you can help, if there is anything else you need to know about what i used or did then dont hesitate to message me, or leave a post, actionscripting codes, ideas, and any other suggestions are welcome, on one condition you make it clear, understandable and explain it step by step including anything you need to follow it ie codes and stuff!!
Regards Roninsmine.
Some Development Problems And Ideas To Do With A Game I Am Currently Trying To Make?
hi could you help me with a some development problems and ideas to do with a game i am currently trying to make.
I'll try to explain exactly what I want to acheive and exactly what ive done because ive led others to confusion over this, so that you can follow what i mean, ill try to explain clearly. im using Flash MX Professional using a 1024px width by 600px height stage frame rate 12fps.
Ill start off with my character:
- I started off with my .png bitmat picture of my character cut it into his limbs in the following peices:
Torso (included head arms and gun), lower torso (to which i'd attach other limbs), mid region (waist), left and right upper legs, lower legs and both feet of course.
- After exporting the images to my .fla files library i used the break apart functon in flash to allow the lasso tool to select the shape in the image i wanted.
- Then i converted the selected section to a symbol with the behavour of a movie clip.
- Once i converted the parts i needed to symbols, i started a blank symbol (behavour movie clip) I called it "player 1", and added the body parts and limbs each on different layers (with only one frame at first in each) in this order top to bottom:
"torso"
"sulg9mm"
"mid reagon"
"lower torso"
"right upper leg"
"right lower leg"
"right foot"
"right upper leg"
"right lower leg"
"right foot"
Note -
- I added the slug9mm layer because, i realised i needed somewhere for realistic bullets to fly from,
- i positioned it so that the bullets in the "slug9mm" layer where directly under the guns muzzel in the above torso" layer, and
- when the movieclip played they would start from the muzzel (very important).
- Also in the beginning the character had a laser beam on another separate layer called "laser line" to follow his gun and the path the bullets where intended to go to using action scripting but ill get back to that in a minute.
Now Ill go through what i used with action scripting on my character:
- I selected the "torso" symbol MC i originally made from the start and the one on the "player 1" symbol, because i needed to add the following action scrip which i got from a site called flashkit.com to make just the "torso" symbol on the symbol "player 1" rotate about a point pointing at the mouse. The code was:
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root._ymouse-this._y, _root._xmouse-this._x);
myDegrees = Math.round((myRadians*180/Math.PI));
_root.yChange = Math.round(_root._ymouse-this._y);
_root.xChange = Math.round(_root._xmouse-this._x);
_root.yMove = Math.round(_root.yChange/20);
_root.xMove = Math.round(_root.xChange/20);
this._rotation = myDegrees-90;
}
Note:
- i had to change the this._rotation = myDegrees-90; part of this code to
this._rotation = myDegrees-11;
- because it made the guns muzzel point directly at the mouse, give or take a few degrees.
- I then added the same code to the "torso" MC which was on the top layer of the symbol "player 1" and in my original to the "laser line".
- The results of this where that the "player 1" MC's torso and gun would point at the mouse at the right angle, until you got too close to the player with the mouse!
So after this i added the action script code to the bullet,
- the results of this where that the bullet was not visible under the muzzel of the gun,
- because i made the gun and the bullet so that they where to rotate arround the same point at the same radius starting from the same possition operating under the same action script but they where on different layers so they would not interact.
That was the beauty of it until i came into the problem of:
- making or finding an action script which would make (or allow) the bullet to follow a path in which was the same as the mouse angle
- at the position the mouse was after the user pressed the clicker
- this was to make the user able to point and shoot accuratly at the target and see that the bullets whent where they where suppost to go to.
Also I was thinking of ways that i could:
- make the bullets ricoche (bounce) off the walls, and
- have there speed dampened each time they hit a surface (like a wall) or object (like an enemy).
- make bullets go through an enemy whitch triggers an effect of blood spatter at that position (spatter would follow a simillar path as the bullet out the back of the enemies).
- make the bullets obey laws of gravity, kinematics, motion, and of course kill enemies.
- make the character walk across the screen using the left & right keys to move L&R, up for jump down for crouch and combinations of the arrow keys (up/down&left/right) to produce diaganal motions.
- because i want my character to jump off some platforms aswel as on.
- This would also mean the character would have to obey gravity wile not falling through the floor, walls, platforms or walk on thin air!!! also have a slight bounce on landing on a platform or floor or a slight bounce off a wall.
- Also I was thinking of making the characters, enemies and bullets not able to pass through certain objects which i specify to provide cover for my character and his enemies.
-Most of the games levels will be in the x and y dimentions like a streets of rage type shoot em up, but on some i want to have my character face off his enemies point blank in corry-doors, stair wells, snipering and any where else i can think of to put bosses these levels would not be in 3dimensions but be more like a primitive Time Crissis type level with duck, click and shoot +other stuff.
- also id like to make a animation at the muzzel which moves with the muzzel the animation would only play when shooting the gun and show the path of the bullets trojectory (muzzel flash/smoke trail).
Things I think i need help with most are:
- the bullets going to the mouse angle,
- bullets staying on that path of mouse angle click until they collide with something
- then they would bounce off at a 90degree angle (if i specified that they should bounce off)
- the velocity reduced through a kind of dampening effect over time (due to air friction)
- and due to collisions.
I think i have the movement with the keys sorted and the gravity aswell but my character kept on falling through the floor when i jumped so i scrapped the code i was using for it!
I know how to calculate gravitys effects, momentum, kinetic energy and vectors...& so on but i just dont know how to put it all into action scripting because ive only been usung actionscrip for flash MX 04 for three days!!!
Id appreachiate any suggestions that you may have although im not asking you to make the game for me, because im having fun learning. I would value your advice, if its helpful to me. hope you can help, if there is anything else you need to know about what i used or did then dont hesitate to message me, or leave a post, actionscripting codes, ideas, and any other suggestions are welcome, on one condition you make it clear, understandable and explain it step by step including anything you need to follow it ie codes and stuff!!
Regards Roninsmine.
Some Development Problems And Ideas To Do With A Game I Am Currently Trying To Make?
hi could you help me with a some development problems and ideas to do with a game i am currently trying to make.
I'll try to explain exactly what I want to acheive and exactly what ive done because ive led others to confusion over this, so that you can follow what i mean, ill try to explain clearly. im using Flash MX Professional using a 1024px width by 600px height stage frame rate 12fps.
Ill start off with my character:
- I started off with my .png bitmat picture of my character cut it into his limbs in the following peices:
Torso (included head arms and gun), lower torso (to which i'd attach other limbs), mid region (waist), left and right upper legs, lower legs and both feet of course.
- After exporting the images to my .fla files library i used the break apart functon in flash to allow the lasso tool to select the shape in the image i wanted.
- Then i converted the selected section to a symbol with the behavour of a movie clip.
- Once i converted the parts i needed to symbols, i started a blank symbol (behavour movie clip) I called it "player 1", and added the body parts and limbs each on different layers (with only one frame at first in each) in this order top to bottom:
"torso"
"sulg9mm"
"mid reagon"
"lower torso"
"right upper leg"
"right lower leg"
"right foot"
"right upper leg"
"right lower leg"
"right foot"
Note -
- I added the slug9mm layer because, i realised i needed somewhere for realistic bullets to fly from,
- i positioned it so that the bullets in the "slug9mm" layer where directly under the guns muzzel in the above torso" layer, and
- when the movieclip played they would start from the muzzel (very important).
- Also in the beginning the character had a laser beam on another separate layer called "laser line" to follow his gun and the path the bullets where intended to go to using action scripting but ill get back to that in a minute.
Now Ill go through what i used with action scripting on my character:
- I selected the "torso" symbol MC i originally made from the start and the one on the "player 1" symbol, because i needed to add the following action scrip which i got from a site called flashkit.com to make just the "torso" symbol on the symbol "player 1" rotate about a point pointing at the mouse. The code was:
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root._ymouse-this._y, _root._xmouse-this._x);
myDegrees = Math.round((myRadians*180/Math.PI));
_root.yChange = Math.round(_root._ymouse-this._y);
_root.xChange = Math.round(_root._xmouse-this._x);
_root.yMove = Math.round(_root.yChange/20);
_root.xMove = Math.round(_root.xChange/20);
this._rotation = myDegrees-90;
}
Note:
- i had to change the this._rotation = myDegrees-90; part of this code to
this._rotation = myDegrees-11;
- because it made the guns muzzel point directly at the mouse, give or take a few degrees.
- I then added the same code to the "torso" MC which was on the top layer of the symbol "player 1" and in my original to the "laser line".
- The results of this where that the "player 1" MC's torso and gun would point at the mouse at the right angle, until you got too close to the player with the mouse!
So after this i added the action script code to the bullet,
- the results of this where that the bullet was not visible under the muzzel of the gun,
- because i made the gun and the bullet so that they where to rotate arround the same point at the same radius starting from the same possition operating under the same action script but they where on different layers so they would not interact.
That was the beauty of it until i came into the problem of:
- making or finding an action script which would make (or allow) the bullet to follow a path in which was the same as the mouse angle
- at the position the mouse was after the user pressed the clicker
- this was to make the user able to point and shoot accuratly at the target and see that the bullets whent where they where suppost to go to.
Also I was thinking of ways that i could:
- make the bullets ricoche (bounce) off the walls, and
- have there speed dampened each time they hit a surface (like a wall) or object (like an enemy).
- make bullets go through an enemy whitch triggers an effect of blood spatter at that position (spatter would follow a simillar path as the bullet out the back of the enemies).
- make the bullets obey laws of gravity, kinematics, motion, and of course kill enemies.
- make the character walk across the screen using the left & right keys to move L&R, up for jump down for crouch and combinations of the arrow keys (up/down&left/right) to produce diaganal motions.
- because i want my character to jump off some platforms aswel as on.
- This would also mean the character would have to obey gravity wile not falling through the floor, walls, platforms or walk on thin air!!! also have a slight bounce on landing on a platform or floor or a slight bounce off a wall.
- Also I was thinking of making the characters, enemies and bullets not able to pass through certain objects which i specify to provide cover for my character and his enemies.
-Most of the games levels will be in the x and y dimentions like a streets of rage type shoot em up, but on some i want to have my character face off his enemies point blank in corry-doors, stair wells, snipering and any where else i can think of to put bosses these levels would not be in 3dimensions but be more like a primitive Time Crissis type level with duck, click and shoot +other stuff.
- also id like to make a animation at the muzzel which moves with the muzzel the animation would only play when shooting the gun and show the path of the bullets trojectory (muzzel flash/smoke trail).
Things I think i need help with most are:
- the bullets going to the mouse angle,
- bullets staying on that path of mouse angle click until they collide with something
- then they would bounce off at a 90degree angle (if i specified that they should bounce off)
- the velocity reduced through a kind of dampening effect over time (due to air friction)
- and due to collisions.
I think i have the movement with the keys sorted and the gravity aswell but my character kept on falling through the floor when i jumped so i scrapped the code i was using for it!
I know how to calculate gravitys effects, momentum, kinetic energy and vectors...& so on but i just dont know how to put it all into action scripting because ive only been usung actionscrip for flash MX 04 for three days!!!
Id appreachiate any suggestions that you may have although im not asking you to make the game for me, because im having fun learning. I would value your advice, if its helpful to me. hope you can help, if there is anything else you need to know about what i used or did then dont hesitate to message me, or leave a post, actionscripting codes, ideas, and any other suggestions are welcome, on one condition you make it clear, understandable and explain it step by step including anything you need to follow it ie codes and stuff!!
Regards Roninsmine.
Flex Is A Great Game Development Language
link
I don't know if most people on this site are in the Flex or Flash camps, but I get the impression lots of people use Flash for programming. I'd love to hear from experienced AS3 developers, so your comments on my blog are welcome.
Development Kit
where can i dowload the flash development kit that lets me program flash things?
CD Rom Development With Actionscript
after you put in the command to go to full screen on the CD rom I noticed there is no way to escape that screen at the end of your movie. What is the actionscript to close the flash player so the user can return to the desktop if need be?
Mp3 Player Development
Hi guys,
maybe not the best place to post this, but what the heck. I'm looking for somebody who can develop (for money!) a Flash based MP3 player for my music site.
The application needs to be able to load playlists in XML format where the XML filename & path need to be passed to the player via HTTP GET, so for example: player.swf?xml=playlist.xml
The mp3s need to be streamed and by default the player should start the next song in the list if the current one has finished.
Payment will be via PayPal or in cash if you're somewhere in Adelaide, South Australia.
Please let me know what you think this would cost and how long it would take to develop.
Feel free to email me if you need any further information.
Thanks...
Website Development
hello I have flash mx 2004 pro and I want to learn how to make fully fuctional websites with it but I can't seem to find any tutorials on the basics of website development with flash mx 2004 pro so if any one can help please
thanks in advance
Web Site Development
Hi
I am Irfan, Multimedia designer, I need someone who can guide me in developing a web site, this is the first website i am developing . In the sense, Wat should be the size of stage, wat are things should be kept in mind. plz guide. Note: Fully In Flash Not In Any Other Packages Like Frontpage or Dreamweaver.
Website Development Help
Hi,If anyone can please help me out to a certain style of website that I seen, i would greatly appreciate it...
http://www.mjblige.com/gallery/
I wanna do a website similar to this style^...I like how there is a still image and the rest of the site scrolls up and down but the image outside the template doesn't...I need to know if I need to do it in flash, then import it to dreamweaver to add the pic on the side, but waht is also confusing me is what size i should make the flash part, and what size should I make the html part...please help, thanx.
[F8] Application Development
Is it possible to add 3rd party objects to SWF files. For instance, hypothetically, would it be possible to develop an Open GL 3D engine to be embeded for use in a Flash movie? Sort of a 3D plugin for the Flash plugin?
Thanks,
Aaron
CS3 Dynamic Ad Development
CS3 dynamic ad development
If I make a flash ad, and the client wants 300 different versions of that ad (different Headlines, different ClickTags, etc.) does CS3 have any
automated output tools?
We just got CS3 and I am checking if there is a way to output hundreds of SWFs from one FLA with Hard-Coded variables pulled from an external database? Any tutorials on how to do this?
thanks
Best Tools For Development
I'm a newbie. Just bought Flash CS3 and am interested in jumping in to actionscript 3.0. I'm wondering if anyone can help me figure out whether I need any more software?
I'm interested in writing AS for developing interactive/dynamic animation & integrating some XML type stuff. I want to really learn about the AS language - not just find pre-fab or canned solutions all the time, and then pull my hair out trying to figure out how to customize things. With that in mind, I'm looking for the kind of setup that's best for learning.
I purchased the book ActionScript 3.0 Animation - Making Things Move, and would like to follow along. In this book Keith Peters (author) mentions leaving the timeline behind and using the free Flex 2 SDK.
Can anyone tell me what the free Flex SDK will actually do andvwhy it's recommended?
Thanks very much in advance...
PocketPC Development Help
Is the flashplayer 6 2003 and 2002 for the pocketPC? or is it for
the desktop?
If it is for the desktop, what requirnments are needed for
pocketPC to have a flashplayer 6 2002 or 2003 application? What
format do I export my flash project? Is flashplayer 6 2003 and 2002
required to make pocketPC applications with flash?
Advice On Web Development
Hi I'm learning flash and Dreamweaver for the purpose of starting up a web design business. I have a few options for starting up the company, mainly the skills that I need to obtain, but I lack knowledge of what the market demand is. I have a vision in my head of mastering flash and using xml to interface the swf interactive movies with .net web applications. Now that may seem like a good enough idea, but I'm not sure how realistic it is. Should I specialize in flash and just have an idea of how to use xml and visual studio .net, and hire xml and .net developers, or is it realistic to say that it's humanlly posible that one person can do all three and compete with the market. I'm sure that I need to be asking a lot more questions if I want to compete it this type of business, but for now, this little note will get me started with a little direction from you.
Where I am in my training so far:
1. I've mastered Corel draw 12, fireworks 8
2. I've become efficient in creating flash movie graphical layouts, and simple actionscript, and am moving on to more complex movies, and advanced actionscript
3. I can build attractive looking web pages using dreamweaver 8, and am ready to start learning the bits and pieces of web programming languages such as: php, javascript, xml, html, xhtml, but I'm not sure what I really need to get my business going.
4. I was schooled in Robotics and hard automation, so I know enough basics to begin training with more specialized web languages as apposed to robot and PLC specific languages.
5. I have basic understanding of Visual Basic, and can make semi-useful programs.
6. I can create music using cakewalk.
7. I've mastered the basic everyday programs like: MS word, MS excel (including VB),
8. I know my way around the windows enviornment and worked as a pc tech for a while (I still work on computers as a hobbie)
Software equiped with: Corel Draw 12 (and enough filters to turn my screen black), Macromedia Studio 8, Cakewalk, Fire Stone Capture, Nero 8, Band In A Box, MS Office XP, Windows XP Pro, Visual Studio .net 2002, Visual J# .net
So these are my skills as such. If anyone can guide, advice, or point me in the right direction, I would be very happy.
Thanks for your help.
Dennis
Edited: 08/08/2007 at 04:29:50 PM by GentleDragon007
Development Questions
Hi all,
I've been searching and reading and am still a bit confused and need some guidance. I've read about different things you can do with Air and Flex and gone through some tutorials, seen some of the old Flash MX tutorials using Flash Media Server, and read some tutorials about php sockets. I have NO idea which way would be the best way to accomplish what I'd like to do or where to start.
Objective: Build a multiplayer card game with text, audio, and webcam chat capability
History: My grandparents and I used to play cards together almost every night before I went off to college. They just got a webcam for their computer. I'd like to make the game along with webcam/chat capabilities so that we can still enjoy the game as well as the social aspect of seeing each other while playing.
The Problem: I've not kept up with the changing software and am now completely lost. I'm proficient with Photoshop, Illustrator, HTML, javaScript, XML, ASP, php, mySQL... but I haven't touched Flash since FlashMX (and even then it was relatively simple timeline type stuff) and (other than the tutorials) I've NEVER used Air or Flex. I do not know how to accomplish my goal or what the best approach would be.
My Questions:
Can someone point me to a good (recent) tutorial?
Does anyone have any book recommendations?
Which technologies should I use to develop this application?
What are the pros/cons of the different technologies?
New In Site Development...
Hello,
I have been using flash for a long time, programing games and making movies. Now I wish to learn how to make a full flash site, and I was wondering if anyone would want to take the time to teach me how to do this. If anyone could do so, I am willing, and eager to learn. Thanks.
Sincerely,
~JoMan.
Site Development...
this is a very generalized question.... i want personal opinions...
what is the best method for creating a 100% flash site?... just give me any opinions, personal expierences, or techniques you guys might have...
i know what flash can do... and i understand the basics of flash... i've used it for awhile... but i've never built a flash site... and one thing i know is theat there are some important factors when putting flash on the web...
i just want some advice on the techniques for building a flash site from the ground up... how do you guys set up sites?... where do you start?...
i've got my background set up with a little animation... but i'm scared to move forward cuz i'm afraid i'll mess it up...
well... i'll leave it at that... i don't want to complicate matters with my ramblings...
thanks guys...
oasis.
Character Development
Can some help me make a character for a beat em up game it be happy if you could show me shapes i could use or methods
Development Question
I am looking into work on a project in flash. However a formal engineering approach is required. To that end can anyone suggest methodologies, books etc on analysis, design and implementation of multimedia systems in Flash?
I'm assuming through OOP things such as UML etc can come into it, and for animation there are storyboards etc but can anyone point me to a book, site or other resource that covers these kinds of issues?
Using ExternalInterface During Development
I'm writing a Flash application that reads context information through a bunch of calls to externalInterface. I have been hardcoding the values during development, then commenting those lines out when I publish.
Is there a way to simulate the javascript functions (that return the values) in the development environment so I can develop and deploy the same code?
Thanks
Apple Mac Development IDE?
I'm in the process of switching all of my development over from a Windows XP box to a Mac Book Pro. I just installed OS 10.5 and hope in a month to have Flash CS3.
Right now I've hit a snag, I can't find a proper IDE to do Actionscript 3.0 work.
On WinXP I found a great program, FlashDevelop ( http://www.flashdevelop.org ), to tackle the task. Does anyone in the Kirupa community know of an equivalent program for the Mac?
Additionally, I'm wondering if it's possible to do timeline work without the Flash CS3 IDE at all. Are there any (Mac supported) IDE's that can get the job done? (A quick glance on Wikipedia, Google, and OSFlash.org didn't turn up anything mature enough to do the job.)
Cheers.
AS 2 PSP Flash Development Anyone?
I own a PSP, and I was an user on PSU (Playstation forum). You know about PSP Portals? Flash applications designed for the PSP. Here is a nice examples:
- PSPfVista beta 3
You can download it here, but not sure if it works on PC
Does someone here own a PSP? it would be nice to make my portals here instead of a Playstation forum.
Btw Hai this is my first thread!
New In Site Development...
Hello,
I have been using flash for a long time, programing games and making movies. Now I wish to learn how to make a full flash site, and I was wondering if anyone would want to take the time to teach me how to do this. If anyone could do so, I am willing, and eager to learn. Thanks.
Sincerely,
~JoMan.
Component Development
Does anyone have a recommendation for a book (or source) that focuses on component development. I have a few books that touch on it, but I wanna find a more dedicated source.
I have created a bunch of reusable component-like clips, but I have not created a real packaged component....
thanks
Flash Cd-rom Development
I've been ask if flash can insert into and extrat data out of a database on the users hard drive via odbc?
can this be done, it not a web app a cd-rom project
jef
Site In Development
I am new to actionscripting. I know some of the basics. And I am working on a flash site now. The thing is, I am trying to make it actually look like it was done in flash, not like it was done with html. So, I was wondering, since I have gone as far as I can right now, if anybody could look at it and tell me what else could help spoof it up a bit. If you are up to helping me just reply to this post or AIM me at Catch22MestUP later on after my school time. I'll be on at about 3:30 pm CST
p.s. i want it to look like it was done with flash, but not so flashy that people won't want to come. something perfectly in the middle, like this site. not to flashy, right in the middle
Flash AIR Development
I have been looking high and low for a good example of the SQlite integration in the Flash AIR API. I am able to get my db read into the app, confirm that with trace(). I can not howerver do anything with the data...I would love to simply display the array on the stage in a datagrid. Any help or resource online would be great. thanks in advance.
Code:
import flash.data.SQLConnection;
import flash.data.SQLResult;
import flash.data.SQLStatement;
import flash.data.SQLMode;
import flash.events.SQLErrorEvent;
import flash.events.SQLEvent;
import flash.filesystem.File;
var conn:SQLConnection = new SQLConnection();
var dbFile:File = File.applicationDirectory.resolvePath("Playbook.db");
try
{
conn.open(dbFile, SQLMode.UPDATE);
trace("the database opened successfully");
}
catch (error:SQLError)
{
trace("Error message:", error.message);
trace("Details:", error.details);
}
// create the SQL statement
var selectStmt:SQLStatement = new SQLStatement();
selectStmt.sqlConnection = conn;
// define the SQL text
var sql:String =
"SELECT ID, inst_title, inst_desc " +
"FROM install";
selectStmt.text = sql;
try
{
selectStmt.execute();
var result = selectStmt.getResult();
var numResults = result.data.length;
for (var i = 0; i < numResults; i++)
{
var row = result.data[i];
var output = "ID: " + row.ID;
output += "; inst_title: " + row.inst_title;
output += "; inst_desc: " + row.inst_desc;
trace(output);
}
}
catch (error)
{
// Information about the error is available in the
// error variable, which is an instance of
// the SQLError class.
}
Development Question All Help Wanted
Okay hope I can explain this in enough detail.
I need to setup a bezier or shape type recognition.
What I have is someone uploads thier own image (face) into our databse. With that image they can try on makeup (eyeshadow, lipstick, eyeliner, blush, lipliner and foundation) along with different types of hair.
Now the areas of the face where the makeup is applied needs to be something the user can set so that it fits thier own face.
Does anyone have any ideas or suggestions on how to go about doing this.
Thanks in advance for all of the help.
Tab Order In Array Under Development...please Help
I digged up some code originally done in flash 5 and changed it for MX. It look like it is "kind-a-sort-a" working. Take a look at the Array that i specified and see how it work here. Pay specific attention to the order of the array and what is actually happening onm the screen. Also "in_7" should be skiped but another textfield is being skiped. There is probably an easy solution, but i can't figure it out:
www.unthink.net/projects/cds/tabOrder.html
Code:
tabArray = new Array("in_1", "in_2", "in_3", "in_4", "in_5", "in_6", "in_8", "in_9", "in_10");
Selection.setFocus(tabArray[0]);
myListener = new Object();
myListener.onKeyDown = function () {
if(Key.isDown(Key.TAB)){
j = ((Key.isDown(Key.SHIFT) ? -1 : +1)+j+tabArray.length)%tabArray.length;
Selection.setFocus(tabArray[j]);
}
}
Key.addListener(myListener);
I could send you the Fla if need be. Thanks a bunch for all your help.
any help on this would be great.
Desperate For Help..website Development
I realise that this is probably so simple but I am making a website in MX for an assignment and it's going great except for one problem. I make a page and on the screen everything fits in it it's just text boxes (I'm a beginner) but when I press control and Enter to preview it I can only see the first line of the text boxes. I've tried to make the boxes smaller and the stage bigger but I still get the same result.
Thank you in advance.
Bexx
Javascript Development Tools
Hi,
I've been checking out javascript a bit lately, and it's quiet alot like Actionscript. One thing's been a problem though, the Actionscript panel in Flash's really really convenient, you just write something in, and it gives you drop-boxes with optional parameters and stuff...
So I was wondering, whether there are any good Javascript development tools, offering the same kind of convenience that flash offers for Actionscript...
Thanks
Tips For Team Development
Anyone have tips for a team of newbies to manage a Fash MX group project? We're creating 4 modules, which will be combined in one file before packaging for delivery.
Plan so far: create one working module and place all images in library. Make three copies and have each team member work on one, then copy the module 2, 3, & 4 scenes into the original file.
Does this make sense?
TIA for any insight...
|