Shootorial #6: ActionScript 3
โดย Moly
Shootorial #6: ActionScript 3
แท็กสำหรับ Shootorial #6: ActionScript 3
รายละเอียด
บทเรียนสำหรับผู้เริ่มต้นสร้างเกม Flash นี้ครอบคลุมการแสดงคะแนน แถบพลังชีวิต และเมนูจบเกมพร้อมปุ่ม “เล่นอีกครั้ง” และตรรกะรีเซ็ตเกม! สร้างขึ้นโดยได้รับอนุญาตจาก Kongregate
วิธีเล่น
ทำ Shootorials ให้ครบและเรียนรู้วิธีสร้างเกม Flash ของคุณเอง!
FAQ
คำถามที่พบบ่อย
Shootorial 6 (ActionScript 3) คืออะไร?
Shootorial 6 (ActionScript 3) คือเกมยิงอวกาศบน Flash ที่พัฒนาโดย Moly เป็นส่วนหนึ่งของซีรีส์ Shootorial บน Kongregate เน้นสอนการพัฒนาเกมด้วย ActionScript 3
เล่น Shootorial 6 (ActionScript 3) อย่างไร?
ใน Shootorial 6 คุณจะควบคุมยานอวกาศด้วยคีย์บอร์ด ยิงศัตรูที่เข้ามา และหลบการโจมตีในสไตล์เกมยิงอาร์เคดคลาสสิก
จุดเด่นของ Shootorial 6 (ActionScript 3) มีอะไรบ้าง?
Shootorial 6 เพิ่มระบบชีวิตผู้เล่น การรีสตาร์ท และ UI แสดงจำนวนชีวิตที่เหลือ รวมถึงฟีเจอร์จากบทเรียนก่อนหน้า เช่น การยิงและคลื่นศัตรู
Shootorial 6 (ActionScript 3) มีระบบความก้าวหน้าหรือคะแนนหรือไม่?
มี Shootorial 6 มีระบบคะแนนสำหรับการกำจัดศัตรู และติดตามจำนวนชีวิตที่เหลือ ให้ความก้าวหน้าเบื้องต้นในแต่ละรอบ
Shootorial 6 (ActionScript 3) เล่นได้บนแพลตฟอร์มใด?
Shootorial 6 (ActionScript 3) เล่นได้ในเบราว์เซอร์ที่รองรับ Flash ผ่าน Kongregate เหมาะสำหรับเล่นบนเดสก์ท็อป
ความคิดเห็น
asgerregsa
May. 11, 2013
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
Jun. 30, 2011
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
Mar. 08, 2010
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
Oct. 09, 2011
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at Game()
polkadex
Nov. 11, 2010
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