admannon

มือใหม่หัดเล่นบอร์ดงับ

admannon's Forum Info
Total Posts:
44 (0.01 posts per day | 0.16 percent of total posts)
Total Threads:
12 (0 threads per day | 0.4 percent of total threads)
Total Thanks Received: 55 (0.01 per day | 0.14 percent of total 38489)
(Find All Threads Thanked ForFind All Posts Thanked For) Total Thanks Given: 0 (0 per day | 0 percent of total 38489)
Reputation:
0
Status:
Offline
Time Spent Online:
1 Week, 2 Days, 15 Hours
Additional Info About admannon
Sex
Male
Primarily Uses
Others
Location
แถวๆ บ้าน
Additional Info About admannon
Joined: 07-14-2012
Last Visit: 02-18-2024, 03:23 AM
Date of Birth: Hidden (28 years old)
Local Time: 04-24-2024 at 04:50 PM
admannon's Most Thanked Post
Post Subject Post Date/Time Numbers of Thanks
สคริปต์แก้สระลอย + แก้ตัวอักษรแหว่ง 03-10-2013, 09:14 PM 13
Thread Subject Forum Name
 สคริปต์แก้สระลอย + แก้ตัวอักษรแหว่ง irpg Fabella RPG Maker Academia
RGSS and JS Showcase
Post Message
Message Thai Vovel and Outline Fix สคริปต์เขียนโดย : Admannon (เขียนเองนะครับ) [hr] รายละเอียด : เป็นสคริปต์แก้สระลอยในภาษาไทย และแก้ตัวอักษรแหว่งได้ด้วย (ถ้าไม่แก้ จะไม่เห็นไม้เอกเลยล่ะ) สกรีนช๊อต : ก่อนใช้ http://upic.me/i/t3/119untitled.jpg หลังใช้ http://upic.me/i/a2/18untitled2.jpg ลองแบบผสมดูบ้าง http://upic.me/i/yv/120untitled.jpg เห็นความแตกต่างหรือยัง /cereal1 วิธีการใช้งาน : ในสคริปต์นี้ใส่ล่าง Materials ก่อน Main [ruby] #============================================================================== # ** Message Thai Vovel and Outline Fix #------------------------------------------------------------------------------ # By : Admannon #============================================================================== #============================================================================== # ** Window Base #============================================================================== class Window_Base < Window @@thai_vovel = "ัิีึื่้๊๋็์ุูํฺ" #-------------------------------------------------------------------------- # * Preconvert Control Characters #-------------------------------------------------------------------------- alias thai_fix_convert_escape_characters convert_escape_characters unless $@ def convert_escape_characters(text) result = thai_fix_convert_escape_characters(text).clone result.gsub!(/ำ/) { "ํา" } result end #-------------------------------------------------------------------------- # * Normal Character Processing #-------------------------------------------------------------------------- def process_normal_character(c, pos) text_width = text_size(c).width draw_text(pos[:x], pos[:y], text_width * 2, pos[:height], c) pos[:x] += text_width unless @@thai_vovel.include?(c) end end #============================================================================== # ** Bitmap #============================================================================== class Bitmap alias outline_fix_draw_text draw_text unless $@ def draw_text(*args) s = text_size(" ").width a = args.size - (args[args.size - 1].is_a?(String) ? 1 : 2) args[a] = " " + args[a].to_s if args[0].is_a?(Rect) args[0].x -= s args[0].width += s else args[0] -= s args[2] += s end outline_fix_draw_text(*args) end end [/ruby] ข้อตกลงการนำไปใช้งาน : สคริปต์นี้ยังมีบัคอยู่บ้าง แนะนำกันได้นะครับ และที่สำคัญ /puke/puke/puke/puke/puke/puke/puke/puke/puke/puke/puke ใครเครดิตถึงผมด้วยนะครับ ผมขอล่ะ /puke/puke/puke/puke/puke/puke/puke/puke/puke/puke/puke [hr]

admannon's Received and Given Thanks
  Thanks Received Thanks Given
Last week 0 0
Last month 0 0
Last 3 months 0 0
Last 6 months 0 0
Last 12 months 0 0
All Time 55 0
 
Most thanked by
Mysticphoenix 8 15%
TheMoo2000 6 11%
jojo741963 3 5%
LuZi 3 5%
Mikichan 3 5%
 
Most thanked
admannon has not yet thanked.

Powered By MyBB, © 2002-2024 MyBB Group.
Made with by Curves UI.