Shootorial #6: ActionScript 3

Shootorial #6: ActionScript 3

ni Moly
I-report ang bug
I-flag ang Laro
โญ Pinakamataas
Learn to Fly 2
โญ Pinakamataas
The Enchanted Cave 2
โญ Pinakamataas
SAS: Zombie Assault 4
โญ Pinakamataas
Fleeing the Complex
โญ Pinakamataas
Epic Battle Fantasy 5
๐Ÿ”ฅ Trending
NGU IDLE
โญ Pinakamataas
Mutilate-a-Doll 2
โญ Pinakamataas
UnpuzzleX
โญ Pinakamataas
Retro Bowl
โญ Pinakamataas
Bloons TD 5
โญ Pinakamataas
Bloons Monkey City
โญ Pinakamataas
Incremancer
โญ Pinakamataas
Escape Game - Computer Office Escape
โญ Pinakamataas
The King's League: Odyssey
โญ Pinakamataas
Kingdom Rush
โญ Pinakamataas
Bit Heroes
โญ Pinakamataas
Kingdom Rush Frontiers
โญ Pinakamataas
Epic Battle Fantasy 4
โญ Pinakamataas
Swords and Souls
โญ Pinakamataas
Learn to Fly 3
Loading ad...

Shootorial #6: ActionScript 3

Rating:
3.3
Pinalabas: September 20, 2009
Huling update: September 20, 2009
Developer: Moly

Mga tag para sa Shootorial #6: ActionScript 3

Deskripsyon

Ang tutorial na ito para sa mga baguhan sa paggawa ng Flash game ay sumasaklaw sa score display, health meter, at game over menu na may โ€œplay againโ€ button at game reset logic! Ginawa nang may pahintulot mula sa Kongregate.

Paano Maglaro

Tapusin ang Shootorials at matutong gumawa ng sarili mong Flash games!

Mga Komento

0/1000
asgerregsa avatar

asgerregsa

May. 11, 2013

3
0

I have a problem with the game over menu. I called it "GameOverMenu" and its export is "GameOverMenu" - just like in the tutorial. Now when I try to run the game, I get this error: "1120: Access of undefined property gameOverMenu." I get that error 8 times - the number of times "gameOverMenu" is written in my Game.as file. I tried changing "gameOverMenu" to "GameOverMenu" but that didn't help. Can someone please explain what the problem is?

Pengisimo avatar

Pengisimo

Jun. 30, 2011

7
1

For score format, the code is correct, but the score format code has to be before the score text code because if you are defining a default text format, you need to define it before drawing the text. ALSO, in order to define scoreText's text format, you have to create it first, so replace this line: static var scoreText:TextField; with this:static var scoreText:TextField=new TextField(); in your variables spot. Take that Cantor.

Cantor avatar

Cantor

Mar. 08, 2010

26
6

To answer the one question most people have for this tut, defaultTextFormat is WRONG! instead use: scoreText.setTextFormat(scoreFormat);

Quite a simple little error but causes so much frustration :P

damiller avatar

damiller

Oct. 09, 2011

1
0

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at Game()

polkadex avatar

polkadex

Nov. 11, 2010

3
1

ty very much, :D, I really was in need of a way to show score on the screen. this works great for me. 5/5

Dog Eat Dog
โญ Pinakamataas
Thing-Thing 2
โญ Pinakamataas
Champion
โญ Pinakamataas
Cosmic Crush
โญ Pinakamataas
The Classroom 2
โญ Pinakamataas
The Classroom 3
โญ Pinakamataas
Thing-Thing
โญ Pinakamataas
GunMaster Onslaught 2.0
โญ Pinakamataas
Four Second Fury
โญ Pinakamataas
Thing-Thing Arena