ActionScript 2.0 :: Make A Maze Game Teleporter?
Apr 24, 2005I'm making a maze game and i want to make a teleporter so that when my mc hits it he goes to a certain coordinate?
View 2 RepliesI'm making a maze game and i want to make a teleporter so that when my mc hits it he goes to a certain coordinate?
View 2 RepliesMay i know you to use hit tests? My idea is to make a maze game controllable with arrow keys
View 5 Repliesim making a maze game and i want to make a teleporter so that when my mc hits it he goes to a certain coordinate?
View 2 RepliesI've just finished making a maze game similar to the "Scary Maze Game" and would like to add lazers around the maze to make it harder to get through.
So basically when youre mouse cursor hits the lazer you lose, id like the lazers to either swing side to side or just appear every X amount of seconds.
I am creating a Simple Flash Maze Game,and i have 2 'Movie Clips' that i want to react when the collide.IE. When 'CHAR_LVL1' (A Movie Clip, controlled with the Arrow Keys) comes into contact with 'WALL_LVL1'. I want it to 'gotoAndStop(27);'[code].I am using Flash CS5 and Action Script 2.0
View 1 RepliesI'm making V.2 of a maze game I made a while ago [URL] I want this version to be unhackable only I can't find any tutorials
View 2 RepliesI am developing a flash maze game and I have a problem with changing direction of my movie clip. I can move around my maze and I have a hit test sorted. But what I want is when a player presses a keyboard button, the first animation of the MC rotating will be played, then when the play head hits stop the MC will stay in this same position (pos from last frame) until another key for example up is pressed.
[Code]...
I want to create a really basic pac man style maze game, its actually for some marketing materials and it will be really used as means of navigation rather than as a game, I want pac mac to eat certain words and when that happens it will tell the user about that topic. What the best way for pac man to work his way around the maze would be? Would I be best using hit detection? Also what would be the best way to remove the pellets as he eats them? visibility or remove child?
View 3 RepliesI can't find the line in the Adobe samples for a maze game where the actual .as code is included into the project. This is fundamental, since my own implementation is just using include "file name";, which isn't working. I also can't use import, since I then can't access the elements placed on the stage.? The files are available here http:[url]....
I tried to debug the code, but I can't even find the point where the constructor is called. The execution starts at "stop()" in frame 1 and then if you step into it, calls the enter frame event handler.
I'm trying to make a maze that's not made of square blocks,The little guy in the left-hand side moves when the user presses an arrow button, but when he can't walk through the lines (walls)I'm guessing that I can't use the usual "hitTest" command, so is there any way i can achieve this without finding every point where the lines cross and do a specific hitTest (hitTest (x,y,true) )?
View 3 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 am making a maze game and i have the edge of the maze as a movieclip. I'm trying to test if the player hit tests the maze to make him stop using this code.
If(player.hitTestObject(Maze))
{
function()
}
But wether or not It's actually touching the maze (it's in the empty space on the inside) it always registers as touching.
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 have some working code that I created in C and ported over to the PSP. I decided that I wanted to work with it in flash and ported it over to AS3.0. It took me a bit to get used to the graphics commands but over the course of a few days I managed to get the code typed in. I compiled it and watched my baby come to life in a new environment. But there was something wrong, everything looked correct but felt wrong. I looked closer and saw what the problem was. The maze is not being displayed like how I put it in.First let me give you some visuals to look at.
[Code]...
When I run the program this is how flash displays the mazeThe starting position is the bottom left corner. Which in flash terms is 13,1. Why oh why is flash rotating and then inverting the map? If row = 13 and col = 1, then [row-1][col] should equal 12,1. I've broken it down and analyzed it till my brain hurt... I can not find any reason for this bizarre behavior... All the program does is interpret the 1's and 0's to know where to place a wall. If the square has a 1 then a wall goes there, if not then its open and the player can walk there. I look at the surrounding squares and then draw what I see... no rotating and no inverting is done.I remind you that the code works as intended in C. So I don't think its a coding issue.
I am writing a maze program for school. I am using a 2d array to represent to location of walls for the maze. The background (for figuring out where a player can move) is not the problem.I am using this algorithm for places the images...
for (i = 0; i < 22; i++) {for (j = 0; j < 16; j++) {if (maze[i][j] == 1) {instanceName = "wall" add i add j; //for multiple names for each instance
duplicateMovieClip("wall", newname = "instanceName", 1);
setProperty("instanceName", _x, (25*i+13));
[code]....
What needs to be done to use many copies of one instance to build the visible part of my maze? I want to be able to have all pieces anmed "wall" instead of "wall1", "wall2", etc...which isn't working anyway.
I 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 Replies