중3이고 게임개발독학하는데 한1~2개월된거같은데
선린솦과합격하기도해서 이쪽으로 밀어볼려는데
지금이정도면 수준이 어떤건가요
언어해본거는 js css jsp c C# 자바 안드로이드 파이썬 이정도? 인거같은데
수정했어요 감사합니다~
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using UnityEngine;
using UnityEngine.UI;
public class PlayerMove : MonoBehaviour
{
public float speed = 200f;
public float runspeed = 8f;
public float jumpspeed =2f;
float mx = 0;
Rigidbody rigid;
AudioSource audioo;
public static bool jumping = false;
public static bool walking = false;
public static bool ctrll = false;
Vector3 dir;
// Start is called before the first frame update
void Start()
{
rigid = GetComponent<Rigidbody>();
audioo = GetComponent<AudioSource>();
}
// Update is called once per frame
void Update()
{
float mousex = Input.GetAxis("Mouse X");
mx += mousex * speed;
transform.eulerAngles = new Vector3(0, mx, 0);
float h = Input.GetAxis("Horizontal");
float v = Input.GetAxis("Vertical");
//소리
if((h!=0 || v != 0) && !jumping) //여기다 audioo.isplaying넣어주면 소리가 겹침
{
if (!audioo.isPlaying)
{
walking = true;
audioo.Play();
}
}
else
{
walking = false;
audioo.Stop();
}
//이동
if (jumping)
{
runspeed = 6f;
}
else if (ctrll == true)
{
runspeed = 4f;
}
else
{
runspeed = 8f;
}
float hh = h * runspeed * Time.deltaTime;
float vv = v * runspeed * Time.deltaTime;
rigid.velocity = new Vector3(hh,0,vv);
//점프
if (Input.GetKey(KeyCode.LeftControl))
{
if (ctrll == false)
{
transform.position = new Vector3(transform.position.x, transform.position.y - 0.420f, transform.position.z);
}
ctrll = true;
transform.localScale = new Vector3(1, 0.5f, 1);
}
else if (Input.GetButtonDown("Jump") && !jumping)
{
rigid.AddForce(transform.up * jumpspeed, ForceMode.Impulse);
jumping = true;
}
else
{
if (ctrll == true)
{
ctrll = false;
transform.localScale = new Vector3(1, 1, 1);
transform.position = new Vector3(transform.position.x, transform.position.y + 0.420f, transform.position.z);
}
}
}
private void OnCollisionEnter(Collision collision)
{
if (collision.gameObject.tag == "jumpcheck")
{
jumping = false;
}
}
}
첫번쨰코드고요
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CamMove : MonoBehaviour
{
public float speed = 200f;
float mx = 0;
float my = 0;
public Transform target;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
float mouseX = Input.GetAxis("Mouse X");
float mouseY = Input.GetAxis("Mouse Y");
mx += mouseX * speed;
my += mouseY * speed;
my = Mathf.Clamp(my, -90f, 90f);
transform.eulerAngles = new Vector3(-my, mx, 0);
transform.position= target.position;
if (Input.GetKey(KeyCode.LeftControl))
{
if (PlayerMove.ctrll == false)
{
transform.position = new Vector3(transform.position.x, transform.position.y - 0.863f, transform.position.z);
}
}
else
{
if (PlayerMove.ctrll==true)
{
transform.position = new Vector3(transform.position.x, transform.position.y + 0.863f, transform.position.z);
}
}
}
}
영상 세개 안올라가나보네요 한개는 2d모험떠나는겜이랑 1인칭fps에 애니메이션써보고 한건데
완죤 엘리트네 굳이당 - dc App
볼게 씬전환,대화창, fow밖에 없어서 아쉽긴한데 학생치곤 이외로 무난한걸 하네
저런 구현 자체는 누구나 하드코딩으로 할 수 있음 진짜 니 실력을 평가받고싶으면 코드를 오픈하던가 아님 구조를 어떻게 설계해서 만들었는지 설명이 필요함
이것만 보곤 진짜 하나두 몰겠음 그냥 쭉 움직이면서 텍스트만 뜨는게 끝이라
일단 기술적으로 뛰어나다는건 못 느끼겠음 하지만 중3이니까 어린나이에 코딩에 관심을 가졌다는 그 부분이 기특하고 더 발전할 가능성도 많아 보이는거 같애
아직 2개월 이면 가능성 많은데 난 고2라서 나만큼 하는애는 널리고 널렸더라
게임 기본 딱 배운정도 인데 고등학교 졸업하고 게임에 관심 있는 애들이 게임 만들기 시작하면 할 수 있는 수준임 근데 내가 만들고 싶은 게임을 만들 수 있는게 중요함 내 실력은 문제가 아님 내가 만들고 싶은 것에서 그 기능을 구현할 줄 모르면 그걸 배우는거지
수정했어요 감사합니다
더열심히해서 다시오겟슴다 감사합니다
상위1프로
멋져!
솔직히 코드 자체는 평이한 초보자 수준임 현재는 개발 2개월밖에 안되었고 그걸로 구현에 급급하기 때문에 그럼 근데 중3이 2개월만에 엄청난 코딩실력을 보여줄 수 없는게 사실이잖음 일단 지금 이만큼 한 걸로도 충분히 열심히 잘했음 2개월사이 포기하고 여기까지 못 오는 인간 널렸음
앞으로 코드를 좀 더 효율적으로 관리할 필요가 있는데 에셋스토어 무료 게임이나 에셋들을 열어보며 다른 사람들은 입력 및 이동을 어떻게 구현했는지 등등 자신이 알 수 있는 범위내에서 다른 사람들의 코드를 참조해서 자기것으로 만들 필요가 있음 보다보면 아주 눈에 잘들어오게 간략하고 정렬이 잘 된 코드들이 있을거임 그런걸 분석하고 흉내내면서 자기걸로 삼는거임
현재는 현재의 본인 실력보다는 개발자로서의 앞으로의 장래를 생각해야 할 시기임 정말 자신에게 이 길이 맞을지 끝까지 해낼 자신이 있을지 등등 앞으로 배워야 할 것들은 산더미고 어떻게보면 지금 생각하는것과 달리 즐겁지않고 고되기만 한 길일수도 있음 심사숙고해서 자신의 장래를 잘 결정하기 바람 ㅅㄱ
감사합니다 원래 초4부터 스크래치하다가 초6부터 중2말까지해서 앱개발이나 웹개발이나 온갖 언어들 해보다가 이제 적성에 맞는 개발을 찾은거같아서요 긴조언감사드리고 개발자체가 재밌어서 하루종일하기도하고 해서 고등학교도 관련고등학교로 진학했어요 말씀해주신대로 해보겠습니다 감사합니다