This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
# Grab PROJECT from Cargo.toml project.name | |
PROJECT=$(grep "name" Cargo.toml | cut -d '"' -f 2 | head -n 1) | |
PROJECT_ORG="bevyengine" | |
PROJECT_ORG_STRUCTURE="org.${PROJECT_ORG}.${PROJECT}" | |
BEVY_RELEASE="refs/heads/release-0.15.2" | |
echo "Creating new Bevy project: ${PROJECT} with organization structure: ${PROJECT_ORG_STRUCTURE}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This example clones https://github.com/bevyengine/bevy/blob/latest/examples/games/breakout.rs | |
// with https://github.com/bevyengine/bevy/blob/latest/examples/games/stepping.rs | |
// into a single file, with modifications to be called from main.rs. | |
//! A 3d Scene with a button and playing sound. | |
use bevy::input::touch::{TouchInput, TouchPhase}; | |
use bevy::math::bounding::{Aabb2d, BoundingCircle, BoundingVolume, IntersectsVolume}; | |
use bevy::{ | |
app::MainScheduleOrder, |
OlderNewer