Dynamic text box on one frame that displays your currunt score or points youve got then ive got a Finnish button that ends the game and goes to the next frame with:another dynamic text box that i want to diasplay the total score aka:Display the socre from previous frame can i do that how? details:Score on first frame is called scoreBox Total score display text on second frame called: totalScore
I'm making a platform game. The hero can move around, but the enemies are stationary. My problem is that I want the enemies to face the hero. The first enemy behaves correctly, but the subsequent enemies only behave correctly if I kill all the preceding enemies. I have added the hero and the enemies as Objects and put the enemies into an array called enemies. Both the hero and enemy objects have a direction property and an mc property that refers to their movie clips. This for loop gets called every frame.
I'm planning to make a multiplayer hero-based RTS game, similar to the gameplay of DotA/HoN/LoL. With about 10~ players max at once in a game. The latency and responsetime is key, trying to get as low ping as possible.And last but not least - I don't want to use any 3rd party solutions, such as smartfox server or any of the likes of it.So, with that said, what is the way to go if I'm going to build this properly? Java socket server? Python? Let me know what you think and please share resources since i haven't done anything similar before.
i am making a game and i have my main character as a square and the enemies are circles at the moment. i have just made the circles home in on the main character, but my problem is when the enemies come inline with the x or y coordinates of my character they start vibrating/shaking. im not sure how to fix this. i have included my fla so you can easily see whats going wrong.
currently i making this game and objects would spawn at random and be able to click but when de game starts itself, the spawn is correct but i am unable to make it stop when time goes to 0seconds.
I've just developed a function to ring frequencies, but I can't make it sound like a guitar string, I can only change it's frequency. Is there some way to change other parameters of a generated sound?
function sineGenerateSound(event:SampleDataEvent):void { for (var i:int=0; i<4092; i++)
I am working on a Heads up display and I am having some problems. The Problems are i cant seem to get Flash to do what I want...I am relatively new to flash but I know that I need to use action script 2.0 and Kismet to make what I want happen. (I am using the UDK and Scaleform for the development of the game I am helping with)Here is what I am doing.
I am making a cross hair. When I highlight an enemy it should turn red. When it Highlights an ally it should turn blue.I have made a heart beat Monitor that needs a animation for a heartbeat and Flat lining. The Background of the Heart beat monitor Changes color according what has happened to the player, If the player Gets hit the background of the heartbeat monitor changes color. If the Player gets hit too much the Heart Beat Monitor will flat line.Then I am making a radar for the hud.
I am making mouse avoider game where idea is to avoid walls. and i want to create coins to stages and my problem is that i don't know how to make it so that when player collects coin he can go to goal but if he doesn't collect it he can't go to goal.. second option is that goal isn't seen if coi hasn't been collected.. Heres what I have done :
onClipEvent (load) { var coin = false; var game = false;[code]..........
I am making a word game app in flash for the touch screens, except I really don't know how to have the game recognize words. Is there some trick to doing this? To be a little more clear, I want to know how I can make the game recognize real words that the player will be putting together. I'm pretty sure I know how to have the game recognize the player's chosen letters, but that's really about it
I'm currently working on a new game using flash CS5. The game is really a simple quiz game.Basically I have written up an xml file with dreamweaver andI want flash to search for the Child element and return the Subchild.
<items> <Question>Legato is the musical term for what</Question>
I am in the progress of making a game....its based off of the TV Show, Charmed. I want to try and make it an online multiplayer game so three people can play online together as a team. Is there any possible way I can do this?
I'm making a top-down shooter game. I have keyboard input that moves the ship around and fires a laser.everything works perfect except that when the ship moves diagonal up left, or diagonal down right, the laser can't fire at the same time. It will work in any other direction, including the other diagonals. Just not those two
[Code]...
is this a common problem among movement in games? or do I just need to fix something?
I want to make a multiplayer flash game- something very basic, like each person controls a dot which they can move around (doing this as a learning experience, not because it seems like a great concept for a game ). I'm pretty new to PHP and mySQL, and don't have a lot of experience in making flash apps that interact with outside scripts... and here's the approach i've thought up so far.i design the swf so that every 30th of a second or so it checks an xml file on the server (http:servernamedata.xml), and also sends a request to the server to run a php script and sends it four boolean values (which keys the player is pressing). The php script runs- it loads a mysql database which has each players x/y coordinates, adjusts those coordinates according to the bool (if player is pressing keys), resends the x/y coordinates to the mysql database, and generates an updated version of the xml, which the swf running on each players client computer will check to determine where to draw each dot.So to get to the point, what i want to know is:
1: is what i described even possible?
2: if it can be done, is this a good way to go about it or is it horribly innefficient (i eventually want to make games more complicated than moving dots around, and have as much code run server-side as possible to prevent hacking/cheating)
3: if this is a possible and OK way to do this, what sort of AS3 script do you use to make a flash app have a server execute a php script?
I'm trying to make a simple animation where there is ten balls floating around the stage, I want to be able to click on any of the balls and "throw" them. I'd also like there to be a boundary around the stage so the balls bounce off this when thrown.
I seem to be going round in circles. I am making a little game with a character, I want it so when you pressed left and up it goes left and up at the same time. Does any one know how to do this?
I am in the progress of making a game....its based off of the TV Show, Charmed. I want to try and make it an online multiplayer game so three people can play online together as a team. Is there any possible way I can do this? If there is.
how to make a Space Invaders game (with a twist). I have previously made a game in Actionscript 1.0, which may be viewed at [URL] (press S to start the game after typing in your name).
I want to use this project as an exercise for learning AS 3.0, and I a cannot really see how I need to use separate AS files (Actionscript classes)
[URL]I have made the string and its movement is also done the problem i am facing is is to fix the position of the mouse on enterframe. As, you can see in the game(link given above), the level starts when the mouse touches the start button in the game. How can i implement that?
I'm doing a kind of plataform map, and now I need to make health (3 hearts, like Mario). I tried to do it with hittest but the hearts goes like crazy. Guess I need to make something like invulnerable or I don't know. What I want to do is three hearts, and, if the human touches a spike he loses a hearth.
Im pretty new at Actionscript 3.0 and I have to make a Spot The Difference game for school.. Now I followed a tutorial, but it's in AS 2.0 and I really cant get it to work in AS 3.0. Also, the tutorial isn't complete, so is there anyone that can help me any further with the code ?Here's the tutorial I followed:[URL]...
I'm currently making a game with over 100 levels. I have a level select screen where you can go to any of the 100 levels.I want it so that only level 1 is unlocked first then when you beat it level 2 unlocks and so forth.What's the best way to go about this? I was thinking an external text file maybe like this:
and so on,then when the levels are unlocked and beaten updating the text file. Is this possible? Even making a class which stores level variables including beaten and locked.
I am an amateur programmer attempting to make an adventure game and I need a little help. The basic setup is a panoramic engine that loads external swf's when you click on a specific area. I need a way to globally store the states of the puzzle variables so that you can save your progress.The basic idea for my save game class is as follows:
I am making a game url...).I want you to be able to buy a gun from the store and then that goes under your gear which you can then choose to use before a match.I do not know how to make it so when you buy a Pistol and a rifle they show up in your gear, Then make it so that when you select the pistol then when you start the round, you will have the pistol and not the rifle.
I am having a problem with my collision game. When I try to make collision between 2 objects, this occurs: TypeError: Error #1009: Cannot access a property or method of a null object reference. at Level$iinit().
Here is my PHP Code: package { import flash.display.*; import flash.events.Event; import flash.geom.Point; import flash.events.Event; import flash.events.MouseEvent; public class Level1 extends MovieClip { [Code] ..... My flash file is at [URL].
I'm making a shooting game, would like the gun to flip _xscale when you move the gun past half the width of the stage. Here's the script I made which doesn't work and is probably not written correctly: