Rust game engine : Bevy 튜토리얼 v0.11

개요

bevy로 이것저것 만들던 시절 0.9 버전이었는데 손놓은 사이 0.11로 올라갔네요.

다시 정리해봅니다.

Bevy Getting Started

준비

error: package `bevy v0.11.0 (/Users/loblue/work/bevy/bevy)` cannot be built because it requires rustc 1.70.0 or newer, while the currently active rustc version is 1.69.0
% rustup update
stable-aarch64-apple-darwin updated - rustc 1.71.1 (eb26296b5 2023-08-03) (from rustc 1.69.0 (84c898d65 2023-04-16))

bevy 0.11은 rustc 1.70.0 이상이 필요합니다.

맥북 m1 에서 설치했더니 aarch64-apple-darwin 으로 설치되네요.

예제 실행 : breakout 일명 벽돌깨기 

% git clone https://github.com/bevyengine/bevy

% cd bevy

% git checkout v0.11.0

% cargo run --example breakout

순서대로 하면 실행됩니다. 딱히 뭐 없이 실행됩니다.



코드는 examples/games/breakout.rs 에 있습니다.
아직 뭘해야할지 잘 모르겠지만, 일단 계속 해보겠습니다.


#rust

#bevy

댓글

이 블로그의 인기 게시물

WSL2 Ubuntu 20.04 및 네트워크 설정

리눅스 멀티코어를 사용하는 tar 압축/해제

git pull 을 했더니 branch가 갈라지는 경우