安裝 Steam
登入
|
語言
簡體中文
日本語(日文)
한국어(韓文)
ไทย(泰文)
Български(保加利亞文)
Čeština(捷克文)
Dansk(丹麥文)
Deutsch(德文)
English(英文)
Español - España(西班牙文 - 西班牙)
Español - Latinoamérica(西班牙文 - 拉丁美洲)
Ελληνικά(希臘文)
Français(法文)
Italiano(義大利文)
Bahasa Indonesia(印尼語)
Magyar(匈牙利文)
Nederlands(荷蘭文)
Norsk(挪威文)
Polski(波蘭文)
Português(葡萄牙文 - 葡萄牙)
Português - Brasil(葡萄牙文 - 巴西)
Română(羅馬尼亞文)
Русский(俄文)
Suomi(芬蘭文)
Svenska(瑞典文)
Türkçe(土耳其文)
tiếng Việt(越南文)
Українська(烏克蘭文)
回報翻譯問題
Just go through the help file. Actually, if you download GM8.1 from the site, and use its help file, it has a bit more detail (it almost seems like GMS' help file was written solely for people that upgrade). Once you've learned the stuff in the GML Language Overview section, and you've got an idea of what each function does, it's literally just matching up functions, and checking to see if a certain condition is met.
A big part of it is learning what functions return what. For example, things like instance_exists() or collision_rectangle() return true or false, so you'd write a conditional statement like:
The savvy comes in knowing what everything does and how to match it up to get the effect you want.
Also, you don't HAVE to code like I did, per say, you could even do something closer to the structure of Python than C, like...
...and I'm pretty sure that's valid code. You can mix and match, just if you use curly braces, you have to close the curly braces, and if you wrap your conditionals in parentheses, you have to close the parentheses and so on.
But yeah, the leading authorities right now are the GM8.1 manual and the YoYoGames Wiki[wiki.yoyogames.com], so far as I know.
You WILL want to read the GMS manual, but like I said, the GM8.1 manual was much better for just learning the language.
I have a little programming experience and the logic part comes naturally for me. I'll try those references, might even read the GM8.1 manually but one problem I think with 8.1 to GMS is that some odd functions have been made obsolete and can not longer be used. So what was valid script now just throws a compiler error.
But personally I don't mind the challenges of creating custom functions to do even that which might be built in there. :-)