Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RMXP สอบถามเรื่องการแสดงตัวแแปรในหน้าเกมครับ
#1
สืบเนื่องจากกระทู้นี้ http://irpg.in.th/thread-1953-page-2.html
ท่านนกย่างได้อธิบายเรื่องการตั่งค่าแสดงตัวแปรไว้แล้ว แต่เมื่อผมลองปรับดูทำไมถึงไม่ปรากฏตัวอักษรคำว่า "Bullet"เลยครับ พอดีไม่ค่อยถนัดเรื่องสคริปต์ แหะๆ
[Image: 5u612.png]

[Image: b9mx1.png]
[Image: MotleyTH.png]
Reply
#2
Quote:@windowp.contents.draw_text(x, y, width - 32, height - 32, text1)
มี 2 ที่
ลองเปลี่ยน x,y เป็น 0,0 ดู
[edit]
เพราะมันเป็นตำแหน่ง ตัวหนังสือ ข้างในตัววินโดวส์นั้น
ดูแล้ว ตัวแทนค่า x y มันเลยที่จะโชว์ ข้างในขนาดวินโดวส์นั้นไป
[-] The following 1 user says Thank You to hengmana for this post:
  • motley
Reply
#3
(04-18-2017, 07:43 PM)hengmana Wrote:
Quote:@windowp.contents.draw_text(x, y, width - 32, height - 32, text1)
มี 2 ที่
ลองเปลี่ยน x,y เป็น 0,0 ดู

ได้ละครับ ขอบคุณมากครับ
[Image: MotleyTH.png]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)