Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Game Maker สอบถาม เกี่ยวกับแบ็คกราวครับ
#1
สอบถามเกี่ยวกับการเปลี่ยนแบ็คกราวใน room โดยที่ยังไม่ต้องเปลี่ยน room ครับ
เราสามารถ ใช้คำสั่งไหนได้บ้าง
https://www.facebook.com/guless.jn สมุดหนังหน้าสำหรับการตามข้อมูลรั่วๆ ที่หื่นบ้างอะไรบ้าง
[-] The following 1 user says Thank You to jin for this post:
  • นิราจ
Reply
#2
Game Maker ใช้

Code:
background_index[ชั้นพื้นหลัง] = ชื่อพื้นหลังใหม่
เช่น
background_index[0] = background2

คับลองใส่ใน Event ดูคับ
[Image: btpni.jpg]
[-] The following 2 users say Thank You to นิราจ for this post:
  • slost, tiwlymaster
Reply
#3
สามารถประยุคได้คับ
เช่นให้ พื้นหลังอยู่ๆมีหมอกซ้อน


Code:
background_index[0] = พื้นหลังหลัก
background_index[1] = หมอกจางๆ

[Image: untitled_zpse5b86cdd.jpg]

ถ้าอยากให้หมอกขยับก็ใส่โค้ด
Code:
background_hspeed[1] = ความเร็ว
เช่น
background_hspeed[1] = 0.5 // ความเร็วแนวราบ
background_vspeed[1] = 0.5 // ความเร็วแนวดิ่ง
[Image: btpni.jpg]
[-] The following 3 users say Thank You to นิราจ for this post:
  • arkman, dreamknight, tiwlymaster
Reply
#4
เยี่ยมเลยครับ
Reply
#5
ขอบคุณ อย่างแรงครับ
https://www.facebook.com/guless.jn สมุดหนังหน้าสำหรับการตามข้อมูลรั่วๆ ที่หื่นบ้างอะไรบ้าง
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)