ActionScript 2.0 :: Make A Shooter From A Bird's View Perspective?
Dec 6, 2010
I was trying to make a shooter from a bird's view perspective...So far I've got my character which is a simple circle, and a rectangle protruding from him (the gun), and it rotates depending on where the mouse is located.I've also got a custom cursor set in, to add some kind of excitement...Here's the dumb question... How do I get it so that whenever I click (shoot) the cursor movieclip will play a certain frame inside of itself? I want it to do something like:
Code:
on(release){
gotoAndPlay(2);
}
It just says that I can't have mouse functions unless it's a button.I was thinking of just making a huge button that covers the whole stage, set the alpha to 0, and when that button is clicked, it will play what I want it to play.
View 2 Replies
Similar Posts:
Nov 16, 2006
this thread is about side view shooters any one working on a side view shooter who needs help or wants to help me i want in here posting ideas, theres no good thread on the subject so lets get one going
[code]...
View 14 Replies
Nov 11, 2011
I'm doing a football game which is now seen from above, I would like to know the easiest way to transform it into a perspective view.
View 2 Replies
Feb 23, 2012
I have a picture of an owl I did in Photoshop, I am new to flash but thought it would be easy to make the owl move it's wing up and down, like on a pivot. The body of the bird and each wing are on different layers as the wings partially overlap the body and I didn't want blank spaces on the body as the wings move.
I've tried the bone tool but aside from getting round the whole bitmap and break apart thing I can't seem to do it with that as it moves the whole image and splits it into 4 pieces [URL]..
View 2 Replies
Mar 18, 2010
I am wondering how to make a 360º view bubble, like they use for Google Street View, but have no idea how to go at accomplishing this task... i have the string of photos that i attached in photoshop(so that if you connected the left to the right it would be a full 360º view).
View 1 Replies
May 18, 2011
Im attempting to make an overhead shooter game. Ive got the basic movement down already, and rotation towards mouse. For when he shoots, ive set it to duplicate a bullet movie clip, but i only understand how to set it towards one graphical direction(ex: x +, y -)
The code i know ive gotta fix is
onClipEvent (enterFrame) {
this._x += laserMoveSpeed;
if (this._x>1000) {
this.removeMovieClip();
}
}
The little x + part has to be fixed, but i have no idea what to substitute in order to make it shoot from the front.
View 3 Replies
Jul 29, 2010
I'm trying to make a game that's a top down shooter kind of like Asteroids, but there are no asteroids, just enemy ships. Anyway, I'm trying to make a radar for it. The area for the ships to shoot eachother in is 2400 pixels length and height. The stage is 650 x 500 pixels. The radar works fine for when I'm traveling up and down, but the enemy ships on the radar move in the opposite direction as the enemy ships on the screen when I move left to right. When I move left the enemy ships on the radar also go right, instead of left.[code]this code is called from a move objects function which is an ENTER_FRAME event if that helps any.
View 8 Replies
Jun 6, 2005
I've been seaching and even trying some motion prototypes on my own, but I can't figure it out: Does any one know how to make shapes appear to move in perspective with ActionScript?
View 3 Replies
Jan 20, 2006
I am trying to make displacement map for perspective correction, but so far my math goes wrong. Here's what I've got; as you see, some lines are not preserved.
View 5 Replies
Oct 3, 2011
i am an newbie as3 developer, and i am working on a basic, horizontal shooter platform game.and my question is: how can i make enemies move smart, towards the player? ( but ofcours you are in able to dodge)so like, an enemy is moving to me so when i am not dodging, it will hit the player.
View 2 Replies
Feb 19, 2005
im trying to make a third-person shooter game similiar to those "hide" when you press Down and "attack mode" when you stand Up, sort of like Time Crisis.I've done first person shooter games before.The hero character's move clip contains three clips, one of him in hiding, one in attack mode, and the last being hit. How do I script it such that the "hide" clip does not receive any commands from the enemy clip (which tells the hero clip to advance to "hit" clip and lose a health").
View 3 Replies
Sep 1, 2010
I've created a flying bird movieclip. Now I just want to make a flock but I don't want to use action script. I can reuse the same movieclip but then they are all identical. They are all flapping their wings at the same time. Which isn't really realistic. And any changes I make to one of them, they all change. What I want to do is say, if I click and drag my bird animation into the stage three times I'll have three flying birds. But now I want to change them individually. For example, have each flapping their wings at different speeds etc. Is this possible?
View 2 Replies
Apr 13, 2011
I need to play some mp3 sounds (bird songs), depending on keyboard events.
First I create my Sound and SoundChannel
var music:Sound=new Sound();[code]......
Everything fine till there but I need later to stop the current sound, and play a new one ...I made some tries ; I am able to stop the current sound, but unable to play another one .How should I proceed ?
View 1 Replies
Jun 4, 2007
URL...I have created an animation which has the bird fly up & chirp, and would like to replace all the birds with this.For now I have replaced all buttons w/ the animation on stage and they all lie on the 1st frame. But thats kinda not what I want.How can I get any one bird animation to play, one at a time, at a random interval of 15-45 seconds?
View 2 Replies
Dec 9, 2010
apologies if this question doesn't seem very clear, i'm finding it difficult to describe what i mean.can i make object move 'out of view' in a movieclip?for example, in the same waya movieclip can move offstage, i'm trying to find a way to make the content of a movieclip move out of view to the side but within the scope of the movieclip.so if i have a square movieclip size x=100 y=100 with a circle size 10 in the centre, i'm trying to make it so when my circle moves to the left more than the size of the movieclip it starts to move out of view.another example would be if i had a character on a television (the screen being the movieclip
View 3 Replies
Sep 20, 2009
I have created an xml slide show and currently when one presses the next or back btns then the next or previous image will come on screen. I am trying to make it where when one presses next the next image will slide on the screen from the right side and stop at the center while the previous image slides off to the left side.
var xmlRequest:URLRequest = new URLRequest("imageData.xml");
var xmlLoader:URLLoader = new URLLoader(xmlRequest);
var imgData:XML;
[Code]....
View 2 Replies
Jul 20, 2005
I'm trying to make a panoramatic view for my site but I can't find any good tut or .fla for it.
View 4 Replies
May 17, 2010
I am trying to make a racing game with an overhead view looking down. There will be a separate mc for the ground and another separate mc for the players car. How can I do this? O ya and just in case i am thinking the way I did: I tried to "rotate" the ground but when the car moves down the ground it moves away from the registration point, so therefore it rotates non relative to the car i want to make this game in as3.
View 2 Replies
Dec 23, 2004
I've been studying this isometric view game...and I was wondering how to make doors, unfortunately I'm not experienced enough to try and create a script that will actually work. I added the fla. file which I'm currently studying.
View 2 Replies
May 1, 2010
I am designing a very long page. There will be a flash animation at the bottom of the pageI want this animation to play only when the user scrolls down and this flash object comes into view. How do I do this? I am quite familiar with flash and actionscript, so I just need some pointers.I have seen that this is already being used for advertisements. If you visitthere are ads that appear far below on the page. These ads play only when you scroll down and the ad appears within the browser window. This happens on many other sites as well.Many popular sites also use something like this. On CNN, try opening a new tab that loads a flash video. The video begins to play only when you actually go to that tab. Until you open the tab and the contents become visible in your browser window, the video doesn't start. How is this done?
View 5 Replies
Nov 3, 2010
I have the following markup:
<s:Group width="100%" height="100%">
<s:BorderContainer borderWeight="3" borderColor="black" cornerRadius="5" width="100%" height="100%">
[code]....
View 3 Replies
Jul 25, 2009
How to make a DYNAMIC TEXT invinsible at the begining and toggle the view accordingly.The Important thing is - I need the text to be invinsible at the begining. The main thing behind my need is WHEN the user GO FORWARD and BACKWARD in the main timeline the visibility of the text box should be unchanged unless the user decide to change it's visibility by clicking "chk_tbtn1" button.
In the code below every time the user go backward in timeline, it makes the txt box invinsible.
_root.my_Dyn_Txt1._visible = false
this.chk_tbtn1.onRelease = function() {
_root.my_Dyn_Txt1._visible = !_root.my_Dyn_Txt1._visible;
};
View 1 Replies
May 31, 2011
i'm trying to make an augmented reality game..my game will be composed of a main menu..and in the main menu you can either choose to start a new game,option,and exit button, what will i do to make my background a webcam view when i click the new game button??
View 2 Replies
Dec 29, 2010
How can I make my flash website to view it in FULL SCREEN MODE as in the following website?
[URL]
View 3 Replies
Aug 3, 2010
I'm about to have to write a web page/app that will serve the agenda for circa 100 people on a page. One line per person, one column per day with 3 clickable zones in each cell. In HTML, the page is way complex for the browser to load quick and there is no possibility to click on a border between 2 cells to for example split an event that spreads among several cells. So I search an not too overkilling technology to render this kind of view. I begun with a PHP generated HTML page but the number of elements in the page make the mouse move jerky.
Moving to JAVA would give me better performances regarding the reuse of the generator of the view but it will still be an HTML page. So, here is my question: do you think that going forward with JAVA and its graphical capability is the simple solution or is Flash a better option for this part of a Web App? I'm afraid of the code I'll have to write in JAVA to handle the GUI presentation as well as the events generated by the 1000's cells plus borders of the page. In Flash, the graphical part seems simpler even if the actions handling is still huge.
View 2 Replies
Aug 15, 2011
I'm currently using RobotLegs with the Presentation Model pattern to develop a Flex 4 project. I understand that all business logic related to a View resides in the Presentation Model associated with that view, however, I am confused when it comes to View specific logic.For example, I have an indicator that needs to be positioned relatively to list items depending on which list item is selected. Is it acceptable in the Presentation pattern to put the logic that will position the indicator in the View and simply have that logic run in reaction to a selectedIndex property changing in the presentation model?The reason I am considering this is that since the Presentation Model does not have a reference to the view it is difficult to come up with an ideal solution for manipulating view components.
View 1 Replies
Feb 11, 2010
I can't seem to go to a master edit file that is supposed to show both the body (layer 1) and wing (layer 2) of a flying bird animation. Is there a way to merge these two since I'm planning on shrinking it down and making a lot of birds?He merged the two layers at 14:24 of the video without even explaining how he went to this so called "Edit Master Movie Clip" that seems non-existent on Adobe Flash CS4.
View 1 Replies
Nov 25, 2010
I am using Flash CS4 AS3.. When I open my browser "Internet Explorer 7" it opens normal. But When I open a link using the following Flash code it opens half in length and half in width. I need to click on "Maximise" button to view in full. How to solve the problem? It is our Intranet link.
PM3.addEventListener(MouseEvent.CLICK,PM3ClickHandler);
function PM3ClickHandler(event:MouseEvent):void { navigateToURL (new URLRequest ("http://engineering/history/thisyear/ceomessage.htm"));
}
I tried modifying the line as well. It also doesnt work.
navigateToURL(new URLRequest ("http://engineering/history/thisyear/ceomessage.htm"), "_blank");
View 3 Replies
Jun 13, 2010
I have one .mxml file (the Application) with a ViewStack (with 4 views) and a ControlBard, obviously I can change the views with it, but what I want to do is: in view #1 I have an image which I want to convert to a "hyperlink", so when I click it I go to View #2, is this doable? Also I would like to pass somehow some data (like a String) to that View #2 (lets say the it's a user avatar I click so I want to go to the second view which will show me his profile, that's why I need his name/id).
View 1 Replies
Sep 28, 2011
My problem is that when I try to pass an object from the navigator.pushView(view, dataobject), I can't figure out how to access the dataobject from actionscript. I can access {dataobject.property} from MXML easily, but I want to set a variable in the new view to the passed dataobjects property.
View 1 Replies