using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Enemy_Jump : MonoBehaviour {
Rigidbody2D rb;
[SerializeField]
private float jumpHeight;
我已經做了一個簡單的網格和一個簡單的精靈作爲「球員」。 ,我的問題是::但是當我使用箭頭鍵移動,如下圖所示圖片中的人物動作太快如何設置延遲或區間內的各按鍵事件後防止這種問題? player.py #!/usr/bin/python
import os, sys, pygame, random
from os import path
from pt import WIDTH,HEIGHT
f