更改

跳到导航 跳到搜索
删除176字节 、 2021年4月12日 (一) 14:49
第32行: 第32行:  
<span id="help"></span>星露谷模组社区欢迎你的到来. Feel free to ask for help in [[Modding:Community#Discord|#making-mods on the Stardew Valley Discord]].
 
<span id="help"></span>星露谷模组社区欢迎你的到来. Feel free to ask for help in [[Modding:Community#Discord|#making-mods on the Stardew Valley Discord]].
   −
==Get started==
+
== 开始==
===Learn C#===
+
=== 学习 C#===
Since mods are written in C#, it's a good idea to get acquainted with it first. You don't need to memorise everything, but a grasp of the basics (like fields, methods, variables, and classes) will make everything else much easier.
+
由于模组是用 C # 编写的,因此最好先熟悉它。无需记住所有内容,但是掌握基础知识(例如字段、方法、变量和类)将使其他所有内容都变得更加容易。
   −
Some useful resources:
+
一些有用的资源:
* [https://docs.microsoft.com/en-us/dotnet/csharp/quick-starts/ ''C# Quickstarts''] teaches the basics of C# with interactive examples.
+
* [https://docs.microsoft.com/en-us/dotnet/csharp/quick-starts/ ''C# 快速学习''] 通过交互式示例讲解C#的基础知识。
* [https://mva.microsoft.com/en-us/training-courses/c-fundamentals-for-absolute-beginners-16169 ''C# Fundamentals for Absolute Beginners''] is a video guide which will walk you through C#, from the basic concepts to event-driven programming (which is what SMAPI mods mostly use).
+
* [https://mva.microsoft.com/en-us/training-courses/c-fundamentals-for-absolute-beginners-16169 ''C# 绝对初学者的基础知识''] 视频指南将引导您完成 C # 从基本概念到事件驱动的编程(这是 SMAPI 模组经常使用的内容)。
   −
===Requirements===
+
=== 要求===
Before you start:
+
在你开始之前:
# Read the [[Modding:Player Guide/Getting Started|Player Guide]]. The rest of this guide assumes you're already familiar with using mods.
+
# 熟悉 [[ 模组: 玩家指南| 玩家指南]] ,本指南的其余部分假定你已经熟悉使用模组。
# Install Stardew Valley.
+
# 安装游戏
# Install [[Modding:Player Guide/Getting Started#Install SMAPI|SMAPI]].
+
# 安装 [[ 模组: 玩家指南# 安装 SMAPI|SMAPI]]
# Install the IDE (''integrated development environment'').
+
# 安装开发环境
#* On Linux: install [http://www.monodevelop.com/ MonoDevelop].
+
#* Linux 上:安装 [http://www.monodevelop.com/ MonoDevelop]
#* On Mac: install [https://visualstudio.microsoft.com/vs/mac/ Visual Studio for Mac]. (This is a rebranded MonoDevelop.)
+
#* Mac 上:安装 [https://visualstudio.microsoft.com/vs/mac/ Visual Studio for Mac]. (This is a rebranded MonoDevelop.)
#* On Windows: install [https://visualstudio.microsoft.com/vs/community/ Visual Studio Community]. When the installer asks about workloads, enable ''.NET Desktop Development''.
+
#* Windows 上:安装 [https://visualstudio.microsoft.com/vs/community/ Visual Studio Community]. 在安装程序中的工作负载中选择 .NET 桌面开发
   −
If you're not familiar with Visual Studio (on Windows/Mac) or MonoDevelop (on Linux), [[Modding:IDE reference]] explains how to do the important stuff you need for this guide.
+
如果你不熟悉 Visual Studio (on Windows/Mac) 或者 MonoDevelop (on Linux), [[ 模组:IDE 参考]] 解释了如何完成本指南所需的重要工作。
    
==Create a basic mod==
 
==Create a basic mod==
203

个编辑

导航菜单