Actionscript 3 :: Make A Racing Game With An Overhead View Looking Down?
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
Similar Posts:
Jul 14, 2011
I want to make a 3D Racing game, becuase i only see crappy overhead one's that are tooo simple to make. so I was wondering the best approach on how to do this. i was thinking of make the race track, as a animation then adding events so when arrow key is moved play event act but then how would the bike react at the same time?
View 15 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 28, 2010
I am trying to figure out the collision physics for a top-down racing game in Flash / AS3. I am currently using the hitTestPoint method for detecting collisions, but I don't know how to apply a decent physics method to bounce a vehicle off of a wall that it hits.
View 2 Replies
Jul 28, 2011
I'm making a top-view side-scrolling racing game in Flash AS3. I'm unsure about the best way to store levels in the game.Please provide suggestions for both tile-based and art-based backgrounds.
View 2 Replies
Nov 7, 2011
I want to develop a car racing game using flash and actionscript3.
View 1 Replies
Nov 12, 2009
I'm building a top-view racing game and I'm using the uch published code to calculate my x and y speed:
speedx = Math.sin(rotation1*(Math.PI/180))*speed*-1;
speedy = Math.cos(rotation1*(Math.PI/180))*speed;
My question is, how can I modify this code to give the car more of a rally-style movement whereas it will go sideways as I go around corners?
View 1 Replies
Jul 12, 2010
How can I modify 2d racing game to seem like isometry? Flash + ActionScript3
ScreeShot:: The game is totally in 2d. Car moves like it should and while it drives the ground everything is fine.I've added a grey ramp. Now the car should move like the arrows are showing, creating illusion of a 3d (isometry).
Ramp is divided in 3 sectors
-first,sector to the right (where the car is currently situated);
-second,sector to the left;
-third, sector on top;
Plus I need the car,to jump out from the ramp when the speed is high. I reffer to old scholl game Rock'n'Roll Racing (Blizzard's game for Sega)So the questions are
1) How should I change car's angle and velocities(velocityX and velocityY) when driving on the ramp ?
2) How can I initiate jumping out of the ramp? For example like in Rock'n'Roll racing? or how Blizzards essentially did it?
View 1 Replies
May 3, 2007
I'm making a top-view side-scrolling racing game in Flash AS3. I'm unsure about the best way to store levels in the game.
View 1 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
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
Mar 30, 2011
am working on a car game,can any one help me to find car side collission, actually the method I used is hittestpoint.
View 3 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
Aug 30, 2011
I'm trying to make a sniper game, but I'm having trouble creating the scope view (you can only see a part of the screen i.e. the scope, the rest is black). Now, I'm pretty sure bitmapdata is somehow involved, but I've never really worked with the class and therefore am not sure how to do it.
View 2 Replies
Jun 13, 2009
I was trying to make a game, and the character inside the game could swim. However, I only wanted him to swim in short bursts that refueled every time he hit the ground.
View 9 Replies
Apr 1, 2011
how to make a game tutorial as farmville game tutorial to teach the user to play the game. i have recently involve in make that kind of game tutorial for its user by actionscript 3
View 1 Replies
Dec 17, 2009
Suppose I have a ViewStack like this:
<mx:ViewStack id="s" left="5" right="5" bottom="5" top="0" width="100%" height="100%" creationPolicy="all" minHeight="0">
<mx:Repeater id="repeater" dataProvider="{dp}" height="100%" width="100%" minHeight="0">
<mx:Box id="bx" label="{repeater.currentItem.label}" width="100%" height="100%" minHeight="0">
<mx:Label minHeight="0" width="100%" height="100%" label="bob" />
</mx:Box></mx:Repeater></mx:ViewStack>
With a large number of items in the stack (each having a large number of panels, databinding, etc), this gets extremely slow. The Repeater seems to trigger creation of all children regardless of the creationPolicy of the viewStack itself.
View 2 Replies
Jun 30, 2011
So I have streaming video coming in, and I want to know when it is buffering. This is fundamentally not that hard, just adding an EventListener for some type of buffering event, but I was wondering if this is necessarily the "best" way to do it.
My other thought was setting up a timer that polls the video feed every X milliseconds asking it if the video isBuffering(), or somesuch. While I could, in the worst case, wait the full X milliseconds before querying the video stream, I've decided that this doesn't actually matter to me; I can work around it, and indeed do so quite naturally already.
So I'm asking: is there substantial overhead involved in having an EventListener (assuming I already have quite a few), or is the advantage of catching the buffering event right away sufficiently appealing?
View 1 Replies
Feb 18, 2009
I would like to ask if there are any articles that explains the overhead added to a flash program when using the Math functions in AS2.0?
View 0 Replies
Dec 19, 2009
i want to make the character in my flash game make a jump when the player presses a key,e.g. 'space',even the player release the key instantly,the character will still finish the complete jump process.
View 1 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
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
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