ActionScript 3.0 :: Making A Spot The Difference Game?

Jun 10, 2010

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]...

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Dynamic Spot Difference Game

Jul 30, 2010

I have recently been looking into making a 'spot the difference' type game that will automatically detect the difference between two similar images.It will eventually do the following:compare two imagesdetect and separate the differences (hotspots)create clickable movieclips from the separate objects (differences)So far I have done the following:loaded two images using XMLdrawn these images into separate BitmapData objectsused the 'compare' method of the BitmapData class to detect opaque pixels that are different between the two imagescreated a third BitmapData object containing the differences.How would I separate the third BitmapData object (the differences) into individual objects?I would like to add click functionality to them individually.I'm pretty sure I need to simplify the objects to black and white blobs and then separate them somehow.I just don't know how.I have found algorithms such as marching ants, but i am not sure if this is the right approach for this type of application.

View 9 Replies

Unable To Create A Simple Spot Difference Game

Feb 17, 2010

I'm looking to do a very simple spot the difference game using flash CS3 and actionscript 2 for a school project.

I have 2 images on separate layers on a timeline in the same frame, which has been paused using the 'stop' command. I am looking to have around 4 differences that, when clicked, will be recorded at the bottom of the screen.
 
The problem is, I am unable to find a way to get the differences recorded at the bottom in the order the user finds them, where each one is entered when the user clicks it, leaving gaps for those that haven't been found.

Being only a basic user, I am only familiar with scenes and basic timeline controls, and i'm hoping there's a relatively simple way of achieving this. However I am perfectly comfortable with using more complex actionscript, having done some programming before.

View 9 Replies

ActionScript 1/2 :: Continued Trouble Making Button Hot Spot Invisible After Click?

Aug 12, 2009

i have a few buttons that use loadmovienum to load a few clips into levels. The code on each button is something similar to:
 
on(release){    loadMovieNum("print_index.swf",1);printbutton._visible = false;webbutton._visible = false;illusbutton._visible = false;threedbutton._visible = false;retouchbutton._visible = false;}
 
But because the print_index movie slowly scrolls across the stage rather than immediately replace it, there is a moment where the button turns completely invisible after the click. Perhaps the bigger problem is that it doesnt make any of the accompanying buttons invisible like it is supposed to- only the one that is clicked.

View 3 Replies

ActionScript 3.0 :: Making Game And Objects Would Spawn At Random And Be Able To Click But When De Game Starts Itself

Jul 4, 2010

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.

View 1 Replies

ActionScript 3.0 :: Making A Game Like Pokemon Trading Card Game?

Jul 23, 2010

im trying hard to make a Game like the Pokemon TCG .

View 2 Replies

Flex :: Building Java Multiplayer Server Game - Difference Between Sockets And Webservice?

Aug 8, 2011

I'm building a multiplayer card game using Flex on the client side and Java on the server side and I wanted to know if I must sockets and the accept method in order to connect users to the server for in order for them to join a game room or create one or to chat.In the past I've learned how to build a game server which both sides are JAVA and connection was in sockets but now days the client side will be in FLEX which has few ways to connect to a Java server (XML,SOAP,BLAZEDS(AMF)) and I find it hard to understand how to write the Java server in order to do all the features of a game server,especially managing the rooms and sending data back to the users.

In the sockets way, when a user was connecting to the server and he had opened a room, this room was opened on a thread and who ever was joined that room then he was connected to the same thread and sending the messages to the right place was easy, so the problem is understanding how to do the same using SOAP or BLAZEDS.

View 4 Replies

Making A HUD For A Game ?

Jul 8, 2010

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.

View 1 Replies

Making A Game In Flash?

Sep 25, 2009

Im planning on making a game in flash thats going to be kind of like a breeding game for birds.

View 2 Replies

ActionScript 2.0 :: Making Coins In My Game?

Jul 17, 2008

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]..........

View 2 Replies

ActionScript 3.0 :: Making A Word Game?

Dec 2, 2011

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

View 2 Replies

ActionScript 3.0 :: Making A Game Using XML With Flash?

Aug 9, 2011

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>

[code].....

View 2 Replies

ActionScript 2.0 :: Making A Game Multiplayer?

Nov 18, 2003

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?

View 12 Replies

ActionScript 2.0 :: Making A Top-down Shooter Game?

Mar 17, 2004

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?

View 1 Replies

ActionScript 3.0 :: Making An Online Game

Mar 13, 2009

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?

View 8 Replies

ActionScript 3.0 :: Making A Bubbles Game

Jan 27, 2010

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.

View 4 Replies

ActionScript 3.0 :: Making A Little Game With A Character?

Jun 12, 2010

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?

View 1 Replies

ActionScript 2.0 :: Making An Escape Game?

Apr 4, 2011

Well i need help with two things! 1. i need help with an if statement that satisfies the following

[Code]...

View 3 Replies

ActionScript 2.0 :: Making A Game Multiplayer

Nov 18, 2003

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.

View 12 Replies

ActionScript 2.0 :: Making Guitar Hero Game

Feb 15, 2009

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

View 4 Replies

ActionScript 3.0 :: Making A Space Invaders Game

Sep 26, 2009

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)

View 5 Replies

ActionScript 3.0 :: Can't Get My Roots To Work On Game I Am Making

Oct 23, 2009

I heard that the .roots don't work anymore on AS3.

I am following this old tutorial, and cant get the scoring to work.[url]...

View 5 Replies

ActionScript 2.0 :: Making A Game Like String Avoider?

Jan 5, 2010

[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?

View 3 Replies

ActionScript 2.0 :: Making Hearth On Platform Game?

Jul 9, 2010

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.

View 5 Replies

ActionScript 3.0 :: Making A Game With Multiple Levels?

Feb 10, 2011

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:

Level1:Unlocked:UnBeaten
Level2:Locked:UnBeaten
Level3:Locked:UnBeaten

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.

View 3 Replies

ActionScript 3.0 :: Making A Save Game Class?

Sep 26, 2010

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:

[Code]...

View 7 Replies

ActionScript 2.0 :: Making A Game - Buy A Gun From The Store And Then That Goes Under Your Gear ?

Feb 9, 2004

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.

View 2 Replies

ActionScript 3.0 :: Flash Game - Making Collision Between 2 Objects

Mar 16, 2010

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].

View 1 Replies

Actionscript 3 :: Making Interesting Flash Based Game?

Mar 25, 2011

how to make a interesting flash based game?

View 1 Replies

ActionScript 2.0 :: Making A Shooting Game, Would Like The Gun To Flip _xscale?

Jun 2, 2008

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:

if(_xmouse >= Stage.width/2){
_root.gun_mc._xscale * -1;
}

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved