ActionScript 2.0 :: Make Destructable Terrain In A Game?
Mar 11, 2005How do you make destructable terrain in a game?
View 1 RepliesHow do you make destructable terrain in a game?
View 1 Repliesi need to make scrolling terrain but dont have how to do it for the code? What i want to do is 5 objects lets call them A,B,C,D,E scroll down the screen in random positions
View 15 RepliesI 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 Replieshow 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 RepliesI'm doing a project at the moment where I am creating a side scrolling platformer in AS3. Currently I have:
-The "Character' which is a ball that can be controlled using the arrow keys and has bounce, friction, gravity etc.
-A scrolling system, the character can move freely within an invisible inner boundary, once the character leaves this boundary the background will scroll to compensate.
The thing I am having issues with is creating collision detection between the "Character" and the "Background.Ground" so that the character can move along the shape of the Ground movieclip within the background movieclip.
Actionscript Code:
package{
import flash.display.Sprite;
import flash.events.Event;
import flash.display.MovieClip;
import flash.display.Stage;
import flash.geom.Transform;
import flash.events.KeyboardEvent;
[Code] .....
I'm trying to make a realistic scrolling terrain for a game I'm making. all of the movement and collision detection is 2d, but I need to make the terrain look more real.
does anyone have an algorithm for simulating a 3d terrain in 2d with the geom.Matrix class?
I know how to implement one, but I'm not sure about the logic for a transformation like this
I'm trying to create simple 2D action game, something similar to well known Fancy Pants Adventures :) I've been looking for answer for more than week and all I've found is [URL] which not answers the question. (I've found also moving on platforms that are rotated but that's not I'm looking for). I have also found great (and free!) flash game engine - CitrusEngine which I'm currently using, but, it doesn't provide moving hero along curved terrain. How to make hero moving along curved terrain like this one: [URL]. There are plenty of games like this (for ex. Fancy Pants or Robot Unicorn Attack) where main character moves along the curved terrain but I can't find answer how can I do that.
View 2 RepliesDoes anyone know how to remove parts of a shape (in a movieclip) using actionscript? Something like reverse masking (where the opaque parts hide the image) or just actually modifying the shape. I've seen it done, but I have no idea how to do it. I've tried using masks, and I saw something about masking the mask but when using setMask() you cant mask a mask. I'm looking for an effect much like the explosions in Serious Santa at NewGrounds [URL]
View 1 RepliesI've been trying to use ActionScript to create an isometric pseudo3d terrain generator thing, using a dot movie clip. I come from a C programming background and i thought it'd be pretty easy to just attach a load of movie clips to the stage and put them all (well references to them) into a 2d array so i could call back to them with ease for the moving and the jiggery pokery
[Code]...
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 RepliesI've created a game engine using bitmaps and box2D, the floors for the game engine is made out of a number of lines which then has a bitmap fill applied to it, then it adds a little bit of grass on top of these floors....Here's a quick video to show you what I'm talking about:http:[url].....
This all works fine on my main computer, but when I move over to my netbook, I struggle to get 10fps... Because of this I am now looking for as many ways as possible to improve the efficiency of my code. So far what I've done that appears to of had some positive effect is:
- Use bitmapCaching on layers where it's appropriate to do so.
- Use scrollRect to scroll on only the necessary part of each of the layers.
However I'm still having big problems when it comes to scrolling the terrain on my netbook - are there any ideas that anyone might have which might be able to speed up the game slightly?
I was unable to find any good tutorials or hints on terrain scrollers that isn't random.. like a huge world, and a map that points where on the map you are.
View 4 RepliesI am trying to make a car game, but my car movement is mucked up and I'm not sure why.It also needs brakes and acceleration.
View 7 Replieswhere to get some corresponding information of how to make a flash game.Preferably with some examples of little flash games
View 1 RepliesI am developing a ipad game using flash CS5. When I run it in flash or web browser, it run quite smoothly but when I published it into ipa file and run it on my own ipad, it became very very slow. Since my game has many stages and characters, the amount of symbols may up to more than 50. That makes the flash file more than 100mb (but the ipa is only 11mb) All of the symbols are exported in frame 1.
1)if I used preloader and exports the symbols in frame 2, will my game run more smoothly? is one preloader when the game is loaded enough? or it is need for every game scenes?
2)Is there any other technique that a big game developed in Flash has to follow in order can be run in low configurations devices?
3)Why many other big game can run so smoothly although it contains a lot more characters and background than mine?
I have to make a game in flash, and this game is the equivalent of 'Millionair' tv-game, so it's not so complicated and I have to give a badget to my Client.
View 1 RepliesI was wondering if it were possible to make an RTS game in flash, and if it was, are there any tutorial on that?You know, like get the more cash than the enemy, buy guys with it, and kill the enemy first?
View 1 RepliesToday I will show how to make your own cursor for your game. It's very simple. Draw your cursor and convert to symbol. On the Action Script bar write this code:
[Code]...
I've messed around a bit in Java and Visual Basic. For our class we've been assigned to make a flash game in groups, and our group has decided they want to do a base defense game. I've been looking hard for open source/tutorial versions of a simple base defense game, but all I've found are tower defense games.
View 1 RepliesI 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 Repliesso how would I go about making a DVD game like player 1 vs. player 2 or just player 1 solo in action script 3.0? i know 2.0 well enough and i know a little 3.0 but i am not an expert i am not looking for a complicated game just something simplistic with one question after another I just don't know how to make the options like a right answer a wrong answer and how that would effect scores. or how would i go about if player one got the question right it would go to the next question and if they got it wrong replay the question for player 2 and the points would reflect appropriately also how would i make a time limit for each question? I know you probably wont be able to answer all question I just wanted to convey what I am trying to do.
View 1 RepliesI wont to make a multiplayer game and the problem is that i don't know how to make it multiplayer.
View 14 Replieshow can i make someone input their name and make the name be used throught the game
say if i want some one to to say
"hey (name here)" i want to replace the name here bit with what they inputted at the beggingin with their name
I wan't to know how to make a timebar for a game. Who knows how to do this? or is there a good tutorial for it?I want that the time stops at 1 minute (60 seconds). and the bar must go from te right (60 sec.) to left (0sec.)
View 3 Repliesis it possible to create a game without using onEnterFrame?I read that using onEnterFrame lags the game when there are too many codes running inside that particular function.is there any example of games that does not use onEnterFrame?
View 2 RepliesIs there a tutorial or anything on making a coloring book game like this?
View 1 Repliesi wont to make a multiplayer game and the problem is thet i dont know how to make it multiplayer
View 14 RepliesI am trying to create a memory game, where about five or six (doesn't matter how much) different colours com up and flash for a second and disappear in a random order.
Then the user has to try to match them again buy clicking on the colours that they have infront of them in the same sequence as the lights went.
Is there a way to make this game so it will tell you when you are wrong or right, and also is it possible to make the flashing colours random each time you play it?
want to make a game where if someone presses tab they go to a different frame. I have made many approaches to this. and btw im using AS2Here are my tries:
Code:
on(keyPress "<TAB>"){
gotoAndStop(2)
[code].....
I want to know how to make a character attack in a game. I've made a platformer game in which a character moves and jumps and collects the score balls, but the only thing I can't do is make him hit enemies.
View 1 Replies