motley   04-18-2017, 07:23 PM
#1
สืบเนื่องจากกระทู้นี้ http://irpg.in.th/thread-1953-page-2.html
ท่านนกย่างได้อธิบายเรื่องการตั่งค่าแสดงตัวแปรไว้แล้ว แต่เมื่อผมลองปรับดูทำไมถึงไม่ปรากฏตัวอักษรคำว่า "Bullet"เลยครับ พอดีไม่ค่อยถนัดเรื่องสคริปต์ แหะๆ
[Image: 5u612.png]

[Image: b9mx1.png]

[Image: MotleyTH.png]
hengmana   04-18-2017, 07:43 PM
#2
Quote:@windowp.contents.draw_text(x, y, width - 32, height - 32, text1)
มี 2 ที่
ลองเปลี่ยน x,y เป็น 0,0 ดู
[edit]
เพราะมันเป็นตำแหน่ง ตัวหนังสือ ข้างในตัววินโดวส์นั้น
ดูแล้ว ตัวแทนค่า x y มันเลยที่จะโชว์ ข้างในขนาดวินโดวส์นั้นไป
This post was last modified: 04-18-2017, 07:56 PM by hengmana.
motley   04-18-2017, 07:45 PM
#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]
  
Users browsing this thread: 1 Guest(s)
Powered By MyBB, © 2002-2024 MyBB Group.
Made with by Curves UI.