ActionScript 2.0 :: MX Simple Quiz Game?

Dec 12, 2003

I have developed a simple quiz game, but im having a slight problem with it.I have a variable set to myScore=0

Everytime you get a right answer it should increment 2points But when you get all 3 answers correct i get a final score of 4points

View 2 Replies


Similar Posts:


ActionScript 2.0 :: If / Then Conditional - Simple Quiz?

Mar 13, 2011

trying to make a 3 question quiz on a 300x250 banner in flash.. If 2 of 3 questions are answered 'yes', it's should relay one function (playEndScreenYes()). If 2 of 3 questions are answered 'no', it should relay another function. (playEndScreenNo()). This is clearly a situation calling for the if / then statement. I have it set up, but I can't seem to get it working. I would gladly pay you for an hour of your time today, if you are familiar with if / then conditionals, I think you could look at my code and solve the problem in 10 minutes max. I am a seasoned flash designer and I animate with as2, but I can't wrap my head around this and its making me a little nuts.

some code:
//////////////////////////////////////////
bulletUp1.onRelease = function() {
a = 1;
if (a == 1) {

[code]....

View 1 Replies

ActionScript 2.0 :: AS 2.0 - Simple If/else Input Text Quiz?

Oct 17, 2009

I have a question regarding an if/else statement I am creating for a simple quiz test in Flash ActionScript 2.0. I have the .FLA file attached. main stage I have the following: of "yes" and "no" with keyframes to jump a message to the user about if their answer was correct or notMy button has the following script:

on(release) {
if(vAnswer == "yes"){
gotoAndPlay("yes");
}else{

[code].....

Am I not doing this correct? Everytime I type yes into the input box, it jumps me to my "no" label. I have researched, and I am doing something so simple and wrong, but I can't figure it out for the life of me.

View 14 Replies

ActionScript 2.0 :: Create A Simple Quiz With A Drop Down Menu?

Dec 4, 2009

I have been trying to create a simple quiz with a drop down menu

i have 8 errors and I cant figure out how to correct them so the way this quiz is suppose to work is you select the right answer goes to a congrads page

View 1 Replies

ActionScript 3.0 :: Simple Template That Hooks A Flash Quiz Up To Lms Using Scorm?

Nov 19, 2009

Does anyone have a simple template that hooks a flash quiz up to an lms using scorm?

View 2 Replies

ActionScript 2.0 :: Timer For Quiz Game?

Aug 23, 2005

I have designed a flash-based quiz for a training program. they've requested to have a timer that runs throughout the movie to add pressure and action to the game and also to display their time at the end.

View 2 Replies

Android :: Cross Platform Game - IOS : Develop A Very Simple Game For Iphone/ipad?

Mar 7, 2012

I am going to develop a very simple game for android and for iphone/ipad I have the option to develop it in cocos2d or in adobe flash air (i am not a developer, but i have 2 developers who are offering me the service)I have a developer that states that cocos2d is better and other one that states that adobe flash air.I want it in cross platform.the cost offered by both developers is the same..i have heard that adobe air has the flaw that it is very slow, is this real? if you had the 2 options which will you use to develop your game and why?

View 1 Replies

ActionScript 3.0 :: Flash - Writing A Simple Game Rule For A Platform Game?

Feb 28, 2011

I'm creating a game at the moment for my university course and it involves the player character jumping on top of boxs twice to break them as opposed to just once.What would be the most efficient/simple way of writing this in Actionscript 3.

View 1 Replies

ActionScript 3.0 :: Make A Quiz Game On Flash Cs4?

Jul 7, 2011

" What does FPS stand for?"Below it, I have three potential answers:

A) Felt Pen Stimulator,
B)Fries Pickles Saurkraut,
C)Frames Per Second.
 
As you all (Hopefully!) know, the last answer is the correct one.What would I type in the Actions box so that when you click the right answer, it takes you to the next question,but when you click the wrong answer, it takes you to a game over screen? (Please, PLEASE make sure your code works before you tell me!)

View 2 Replies

ActionScript 2.0 :: Flowchart Quiz Game For Flash MX?

Aug 22, 2003

Im am completly baffled as to how go about creating this flowchart type game. If you look at the gif example i have attached the way this works it that the user will click on b1 and then has to click on b2 for it be correct. If the user gets it right the line will become highlighted. If not a number gets added to the attempted clicks score:

What i want to happen is that when the user has linked the boxes from b1 to (b2 - b5), i want to disable b1, since the user has made all the selections.

How would i go about doing this? I tried using true false statements and adding numbers each time one of the buttons was clicked. But it all went horribly wrong. It must be a simple answer, but im just to baffled at the moment to figure it out.

View 12 Replies

ActionScript 2.0 :: Create A Simple Quiz Which Adds Up Points Depending On The Answer Selected?

Oct 21, 2010

I'm looking to create a simple quiz which adds up points depending on the answer selected.where to read about creating something like this?

View 10 Replies

ActionScript 2.0 :: Quiz Game Where Answer Revealed After 3 Attempts

Apr 11, 2010

Basically I want to create 6 questions with input boxes next to them for the user to inset their answer. I want them to try three times and then if not correct the answer is displayed for them. In the box with a little description next to it.

Question: How many sides as a square
(answer in the box) = 4
(desc to side of box says) = A square has four equal sides.

View 3 Replies

ActionScript 2.0 :: Create A Text Input Quiz Game?

May 28, 2009

I'm trying to create a text input quiz game.In frame 1, I have the actions:

stop();
answer = "";

On my stage I have a graphic symbol which contains a question. I have my blank input box, set to Single Line, Lower case Only. Variable is answer and maximum characters is 18. NO instance name.An Enter button , No instance name, with the attached code:

on (release, keyPress "<Enter>") {
if (answer eq "sun" or answer eq "the sun") {
gotoAndPlay("win");

[code]....

Everytime I enter the words sun or the sun, I get sent to the "wrong" frame instead of my "win" frame.

View 1 Replies

ActionScript 2.0 :: Removing Correct Answers From Array In Of Random Quiz Questions In Xml Quiz?

Jul 21, 2010

Anyone know where to start thinking about logic for an XML quiz with multiple correct answers, that when the user gets the question right, that question is removed from the random array of questions so we never need to answer it again?

View 0 Replies

MX04 Creating Simple Flash Game

Sep 8, 2009

I'm sort of new to Flash, have been using it for ages but just to animate, i haven't done any programming or interactive stuff for years, so i feel new to it again!Creating a very simple platform.Movie clip of the character (instance name z_1)- runs button - when pressed makes z_1 invisible and loads another movieclip of him firing a weapon (z_fire). (also makes ground stop moving- basically game is a static running animation, over a moving ground, if that makes sense)This all works fine, i even figured how to make the score increase!After the firing animation is finished (there is a stop on the movieclip) i want the original running animation to be visible again and for the ground etc to play again. The firing animation is only 12 frames long so i imagine i need to tell the button to resume normal service on the stage after that time period![code]It's probably completely wrong but it works, i just need to know the extra code to make the original animations start back again after z_fire has played.

View 2 Replies

Pointers For Designing Simple Interactive Game?

May 13, 2009

I'm looking to build a very simple (hopefully!) interactive game.

- A number of balls are situated at the bottom of the stage.

- There are several dropzones which the balls can be placed in.

-Once a dropzone is occupied with a ball, its not possible to populate that the dropzone with another ball until the present one has been removed. -Depending on which balls are present in the dropzones, the balls animate differently. the red ball is placed in a dropzone.  There are currently no other dropzones populated with a ball.

[Code]...

View 5 Replies

ActionScript 1/2 :: Create A Simple Timer For A Car Game?

Aug 25, 2009

I just want to create a simple timer for a car game which notes the lap time each time you cross the finish line. I then want to be able to use the "gotoAndPlay (frame number)" once either a certain amount of laps have been completed or when the timer hits a specified number.I have exhausted tutorials, none of which actually work - what im looking for is 'i think' actually quite simple but i am having great difficulty.... The car game tutorial with 4 parts which seems to pop up everywhere does not help as it is very complex and can only be used when the game is designed in the way that the guys has made it.

View 3 Replies

ActionScript 3.0 :: Create A Simple Platformer Game?

Dec 12, 2009

I want to create a platformer game, but there is no tutorials that actually tell you how.What I dont understand is:

- How the level changes when you get to a certain point
- How to do collision with walls
- How to make the player move

View 5 Replies

ActionScript 3.0 :: Most Efficient Way To Program Simple Game?

Nov 26, 2010

I am developing a Jeopardy-like game in Flash CS5. I am familiar with Flash CS5, but new to AS3. I don't know the language well, and to top it off my code hints don't work in Flash CS5. After researching this I've learned it is a bug that Adobe has yet to resolve. Anyway I am trying to program this game with very little knowledge about the language I am using. I've been watching tutorials and googling specific questions, but it comes down to the fact that I don't speak the language and don't have the resource (code hints) to make the language more available to me.What I am trying to do is simple:Imagine a Jeopardy game board.On the answer screen there is a button that takes you back to the gameboard. Here's the catch: the gameboard must remember which boxes have been chosen and not display those dollar values.

I understand how to program the buttons. I've been using gotoandstop for that. I am trying to figure out the best way to program this so the game remembers which boxes have already been chosen throughout the entire game.The specific question I have at the moment is how to reference an instance on another frame than the frame that has the code on it. For example: The gameboard is on frame 5. When the category A for $200 box (buttonA1) is clicked a Boolean var called 'chosen' is created and assigned the value of true. then the gotoandStop command moves the game to frame 10 which is where the question for category A for $200 lives. There is a button on frame 10 that takes you to the answer, which is on frame 11. And on frame 11, when you click on the button to take you back to the gameboard, I want it so that if chosen = true then buttonA1.visible = false. I get an error because buttonA1 doesn't exist on frame 11 - it lives on frame 5 and I have no idea how to reference it so that it will not be visible.

View 2 Replies

Java :: Math Behind The Red Ship In Simple Game?

Feb 27, 2012

the game is a little flash component found here:[URL].. i found that link here[URL].. I have been using/converting the examples they give in the second link but cant get my "missile" to behave correctly. I am using java and andEngine combo. Here is what I have right now:

[Code]...

this code just makes the object travel to the upper right hand corner of the screen and it doesnt move after that. so i am missing something

my end goal is to have an object that will chase the users touch coordinates. I know how to have the object follow such coordinates but I dont want it to follow the exact path, but rather the shortest path to the most updated coordinates. so more like an intercept course

View 1 Replies

ActionScript 3.0 :: Make A Simple Multiplayer Game?

Jun 16, 2010

Make a simple Multiplayer game (Java server, AS3 client) and i was wondering, how would i get people to be able to select their clothing?

Im going to have the data stored in a database, but i want to know, how would i go about keeping a shirt/pants/shoes of each colour and merging them (For each character's combination) to create a new movieclip (username_figure for example)

View 3 Replies

ActionScript 2.0 :: Create A Simple Hangman Game?

Jan 6, 2009

I have tried to create a simple Hangman game, it works great, but I have two problems. Number one, the course I�m taking requires that there should be an if else statement in the actionscript programming (in an appropriate manner in connection with the user interaction) and I realy don�t know how to fix that. I�m tearing my hair. Number 2 Preferably I would like the program, alternating between several different words.

stop();
okey._visible=false;
akey._visible=false;
pkey._visible=false;

[code].....

View 2 Replies

ActionScript 3.0 :: Simple Maze Game (Pac Man Style)

Jan 29, 2010

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 Replies

ActionScript 2.0 :: Flash8 Simple Game Score Not Working?

Mar 28, 2011

I'm following a tutorial to make a simple game. The aim of the game is for a player to evade a flying enemy ; the higher the score, the faster the enemy. The main elements in the game are the enemy the player and a score card.

However, from following the tutorial, and adding the dynamic text field etc....the score doesn't actually work.

This is the code that I was instructed to place on the first frame of the Scripts layer:

//Game Variables
enemySpeed = 5; //Set Enemy initial speed
numberEnemy = 4; //Change this to add more Enemies
score = 0; //Set initial score to 0

[Code].....

View 2 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

Professional :: Buy Book To Make A Simple Flash Game?

Jul 29, 2010

I need to make or buy a template for a simple flash game for a clients website. It has to be legit to buy. It is about 5 pages long. You are asked a question, you select a radio button for the answer to the question, it compiles all your answers and gives you a result.I know flash pretty well but ccording to budget and time.it is best not to have to experiment.

View 2 Replies

ActionScript 3.0 :: Make Simple Multi Player Game?

Mar 30, 2012

I want to make a simple multi player game so any one give me sample code or how to do that ?

View 1 Replies

Jquery :: Simple Multiplayer Game In Ruby On Rails?

Oct 6, 2010

I have created a simple card game in Ruby on Rails+ajax with jQuery for animation. It's working Ok, and I wanted to develop a multiplayer version. It looks like it's not so simple as i thought. I have also tryed to port the game completely to JS into the Canvas tag. This is possible for me and I could make the animation there much better however I still don't know how to add a multiplayer part in it.

View 2 Replies

ActionScript 2.0 :: Flash8 : Making A Simple Randomness Game - Use The On(dragover)?

Dec 16, 2009

How do i use the on(dragover), becuase i am making a simple randomness game,(to start off) because i have something that you can drag, and i want to make it if you drag the thing over it it takes you to a new keyframe.Here is the movie clip i want to be drug on: (nothing happens)

Code:
on(dragOver) {
gotoAndStop(3)
}

Heres the code that you can drag the item(works)

Code:
on(press) {
startDrag(this)[code].....

View 1 Replies

ActionScript 3.0 :: Dynamic Text In Simple Drag & Drop Game?

Aug 24, 2010

So Im working on a very simple drag and drop flash game using AS3. Everything is complete but I'm having an issue with the dynamic text. For some reason when you drop the item onto its target and accompanying dynamic text is all effed up.. for example when it should say "Try Again!" it says "r ain!".. I've been banging my head for the last few hours with no luck..And here is my code:

Code:
var startX:Number;
var startY:Number;

[code].....

View 2 Replies







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