Be a Supporter!

Variables Tutorial

Score:
rated 3.76 / 5 stars
Views:
5,547 Views
Share Links:
Genre:
More Games
Tags:
None

Credits & Info

Uploaded
Aug 9, 2005 | 2:16 PM EDT

If you liked this, check these out!


  • Scrotum 1
    Scrotum 1 by Brian-Beaton
    • Movie
    • Rated M
    • 994,507 Views
  • Time for Tubbies
    Time for Tubbies by JeremyLokken
    • Movie
    • Rated M
    • 31,820 Views
  • Hate
    Hate by bigandclever
    • Movie
    • Rated M
    • 280,045 Views
  • Y2Kraze
    Y2Kraze by HalfQuakeSix
    • Movie
    • Rated M
    • 13,016 Views
  • AEvil
    AEvil by Larz
    • Game
    • Rated T
    • 943,111 Views
  • Yoda's Blowjob
    Yoda's Blowjob by flangazor
    • Movie
    • Rated T
    • 627,309 Views

Author Comments

I made this becouse I want help people!
Those who already know everything about variables can skip this tutorial.And again, I live in Finland so my english grammer sucks. If you don´t understand something, skip it. I hope you will learn something!

Reviews


TheMadWitchling21TheMadWitchling21

Rated 5 / 5 stars

coooooool!

too good!really works!I'll use it for a game!
and I WILL credit you!



FattyWhaleFattyWhale

Rated 1.5 / 5 stars

(title in work)

^^Good Points^^
It was a decent tutorial. Some decent information was found in here, if you have the knowhow to decipher what you are saying.

^^Needs Improving^^
It didn't really seem like you were too knowledgeable on the subjects covered in this one. For example, when creating a scoring system, you don't explain anything very well at all. I.e., how to change the score increments and how to implement them. You would change the target to a button, but the way you explain it sounds like you are just creating a random button. Needs some work.



smileyrandomsmileyrandom

Rated 5 / 5 stars

Wicked...

and to answer the question (although I don't know the specific code) you do something like this:
1: Set up "cent" variable
2: When "cent" is 100, set "cent" to 0
3: Then (in the same IF) add 1 to "dollar"



gamer107gamer107

Rated 5 / 5 stars

great, but:

how can I make it so that I have dollars and cents, and when I reach 100 cents, they go to 0 and dollars move up one?



RutterBrothersRutterBrothers

Rated 3.5 / 5 stars

Really useful

I found this really useful. I am trying to learn action script and variables so this could be usefull, especially for a game that's in the pipeline. Anway, to the last reviewer if you don't want the money to go under zero, make the button code say something like;

if (money) = 0 {
this visible = false

Please note, that exact code won't work, it's just an example.