00:00
00:00
Minix07
what is goodie in da hoodie gangalang?

ima dude, dude

Human

Highland High School

was british land

Joined on 1/13/24

Level:
8
Exp Points:
656 / 710
Exp Rank:
> 100,000
Vote Power:
5.04 votes
Rank:
Police Sergeant
Global Rank:
8,100
Blams:
211
Saves:
949
B/P Bonus:
12%
Whistle:
Normal
Medals:
254
Supporter:
15d

Making a click n' point game using AS3 | Step 1. Setting up

Posted by Minix07 - 4 hours ago


This is a work in progress tutorial. It's unfinished, and as such you should ignore it until it's done.



Step 1. Setting up

Create a new AS3 fla document. If you don’t see this when making a new document, choose ActionScript 3.0 on the start menu and the properties panel, set the framerate, stage size, and other properties to whatever you prefer. I usually select 30fps, 1280 x 720, with a black canvas.


AD_4nXfkpkzRXzUBqkjky6SKscf4fUysr-sSHRSCRwvMv3CnIrdH9IWBLo6Re0YXt9yW6uE1A-GRmeEZNiOv3BsWFamPGuViBa36NSbdcbnQ8cd_fftCBiIdL85ZBGZPx5emDLKSEzmy?key=lYln-58pvChvGvHg5Z5QrAAD_4nXcK2WyQViMELTsBvBV-McfeGF6INqZjzQLYeL0ND7cXgk8SVeTJTe7Whj9kF4c3Z95Zyk2bDGot-e3UycAg2xX5HhTFG78BGCG_pB8TYEf-MS9NQtTTnWlOEElMBR_qww3MEAqgoA?key=lYln-58pvChvGvHg5Z5QrA


Now it is time to create the actual game! Create a background for the main menu. Don't worry about making it look

good or fancy; you can always change it later.

AD_4nXfDGgd65s1X5zKdBFnGbnI868P1wXyGxc5V766adhONZjpe-RO83EsLqU1KN-2iFDqSLVEO_udXQeC-wDDxaw4l6ydpKkF7b5rCYTlbGbbg58d788M4qaWW8FxjdnS0AhkjcqXBRg?key=lYln-58pvChvGvHg5Z5QrA


Convert it into a symbol by pressing F8 or right-clicking and clicking "Convert to symbol". Choose MovieClip, as we need to write code for it and make it independent from the timeline. Call it menu. This will be where the game's menu is housed (duh)

AD_4nXdTnjpx8x8aMHNEIj7ZgE0lW5tV-amIDaACK9334Q-YLO-dleERgEsG2KK6nYIoqBCvnAhpRc7anM8SyYZVJSNc5Th3CtoAryroHK_z98X7Sk0SgsPFi3kRIovJJDh-rBR6ZnNz?key=lYln-58pvChvGvHg5Z5QrA


Go to the root of the game

AD_4nXduOZiDqhk8o5RzU3Yls3M__WSAWqBPv_b3W93R60PTf13RKEVoOFL4Mwd4-VyBsOSfoybyNCIBEDsPsvkx6ZvrwbqEdjH7J2hLewUt9CCR6MkMtp9_rO37cU2b5VdcocB78ug4GA?key=lYln-58pvChvGvHg5Z5QrA


Convert the menu to a MovieClip again, and call it the game's title. Why? To prevent people from cheating by using the forward and backwards buttons >:(

AD_4nXdNWrW9x4WVUDlrKq9caX92IVkVyosPm1wZbivvNJvA5LEL_HkEXlyFdjuPXRVvqc5QSjEkDfOqT01q0XFedccxdwpAZV1NmU75-CeLarLispOn7HcSxT2QpCSI6HRtkOGvLETJsw?key=lYln-58pvChvGvHg5Z5QrA


Tags:

2

Comments

Comments ain't a thing here.