Now place a button somewhere, it should be one to add on to your intelligence e.g. a study button in a school. Place these actions in the frame that button is placed in:
if (moneyneeded>=moneyrequired) {
money=1
}
And give the button these actions ...
on (release) {
strength+=(10*money)
}
And that can be used for all the different things required for the game e.g. Buying beer and stuff.
Moving into buildings. Inside the map place a square outside the door with an instance of "step".
onClipEvent (enterFrame) {
if (_parent.man.hitTest (this)) {
_parent.gotoAndStop("insidebuildingframe");
}
}
Thats really all I need to show you without repeating myself or others.