Thursday 5 March 2009

Make A Shop Part 2

Ok soo lets make the house you buy then.

make a button and then type in this

on (release) {
if (_root.b1 > 1) {
Day +=1
Energy =125
}

Simple as that enjoy rember plz report any errors and i will try and fix them ...

Make A Shop Part 1

Ok so you can work and get money but whats the point when you cant buy things,
well here you go a simple Shop were you can buy houses.

Ok first make the button were you will buy the house and type this .....

on (release) {
if (_root.cash > 199){
_root.b1 =2 ;
}if (_root.b1 > 2){
_root.buy1 ='Bought' ;
}
}

Ok this is what happens first the code says on relase i want you too if the player has above 199
cash set b1 too 2 and if b1 is 2 set buy1 as Bought ....

(((( Part 2 coming soon and will make the house you bought ))))))