PRU213DễKỳ 7Tự chọn Cập nhật 29/07/2026

Game Programming with C# - Lập trình Game với C#

Game Programming with C# - Lập trình Game với C# (mã PRU213) là môn lập trình game trên Unity bằng ngôn ngữ C# của Đại học FPT. Nội dung môn trên QizHub chia thành năm chương và một chủ đề tổng hợp phần Assignment. Chương 1 là giao diện Unity Editor và hệ thống GameObject: các cửa sổ Scene, Game, Hierarchy, Project, Inspector, Transform Tools, quan hệ cha–con giữa các Transform, sprite, prefab, material, quản lý scene bằng SceneManager. Chương 2 là lập trình C# trong Unity: lớp MonoBehaviour và thứ tự các hàm vòng đời Awake, Start, Update, FixedUpdate, LateUpdate, OnEnable; kiểu giá trị và kiểu tham chiếu; delegate, event, coroutine; đọc bàn phím và chuột bằng Input.GetKey, GetKeyDown, GetMouseButton và Input System; thiết kế theo component. Chương 3 là hoạt hình và giao diện người dùng: Animation Clip, keyframe, Animation Event, Animator Controller, Blend Tree, Animator.CrossFade, rig và bone; UI với Canvas, TextMeshPro, Button, Image, Input Field, Scroll View. Chương 4 là vật lý, va chạm và logic game: Rigidbody và Rigidbody 2D với mass, drag, Use Gravity, Is Kinematic, AddForce; Box, Sphere, Capsule, Mesh Collider và Composite Collider 2D; trigger với OnTriggerEnter, OnTriggerExit; Physics Material; Hinge, Fixed, Spring, Configurable Joint; broad-phase và narrow-phase; Layers và Masks. Chương 5 là dự án, gỡ lỗi và tối ưu: Console Window và Debug.Log, breakpoint và Debugger, Profiler; lỗi cú pháp, lỗi thời gian chạy, lỗi logic; lưu và nạp dữ liệu bằng tuần tự hoá; sprite atlas để giảm draw call; Entity Component System.

303Câu hỏi
6Bộ đề
6Chủ đề
5,01 đánh giá