Sunday 1 February 2009

Gym Button (Str Training)

To make a Gym button first make the button itself, and remember make sure
the buttons a button not a movie clip.

Add this action script to the button

on (release) {
if (_root.Energy > 49){
_root.Energy -=50 ;
}
if (_root.Energy > 49){
_root.Str +=1 ;
}
}



The code basicly means if energy is 50 or above then take away 50 energy and add 1 Str.

2 comments:

  1. Excellent!Thanks to you i can start on an Sim about a guy thats a super forum boy.. etc.
    No offense,but you missed out a lot of stuff like:
    -Chat
    -Posting
    -End
    Basically for my SIM to become reality i need:
    -Cool points
    -Posting points
    -Flash skills
    -Levels
    -When shopping something to add points for example to your flash points
    -When clicking `Z` for example i could see my stats.
    Hope you can add those thing to your awesome and helpful blog.*wordpress allows more pages :)*
    I will check this blog regularly for updates and if you wish to contact me just PM me a message at good all Newgrounds.
    P.S.Sorry i`m such an ass i just got so exited when i found this blog.I said to my self *YES!I found it!I`m gonna make a SIM game!!*
    Best regards antoan3 from NG

    ReplyDelete
  2. I did not get it wroung im only covering the basics and will let you and others to edit the words too create your own games such as say changing the word str to cool points is what you would need too do ect....
    have fun and keep checking the blog.

    ReplyDelete