The document discusses using a micro:bit for light sensing applications. It explains how the micro:bit can sense light levels using its LEDs as photodiodes. When an LED pin is set as an analog input, the voltage measured corresponds to the ambient light level. Two example projects are described - an automatic night light that adjusts its brightness based on light levels, and a magic face panel display that changes expressions when the LED is covered and uncovered.
The document provides instructions and examples for using switches, capacitive touch, and game controls on the micro:bit. It includes tutorials for building guessing games where the micro:bit guesses a number by narrowing the range, adjusting LED brightness with touch pins, and creating a dodgeball game where the player character avoids falling balls. Code snippets and step-by-step explanations are given for each example project.
This document discusses LED display control on the micro:bit board. It covers LED principles and applications, the micro:bit LED matrix, LED display control commands including displaying numbers, text, images and arrows. It provides examples of breathing lights, fireworks, and a dynamic screen using variables, conditional and counting loops.
The document describes how to create a 2D platformer game in Unity, including:
1) Adding background animations and music
2) Creating and controlling the player character
3) Spawning random enemies
4) Implementing a health bar UI to display the player's health
2. shapethefuture
素材Pixel Per Unit設定為100,表示Unity裡的1單位代表100 pixel
Camera Size建議值為視野半高
假設遊戲畫面為1024*768,Camera視野半高為7.68/2 = 3.84,則
Camera Size建議值為3.84
Camera size設定
2 Wu, ShyiShiou Dept. of E.E., NKUT