Dhruv singh's profile

Scratch/Arduino Game Design

SCRATCH / GAME DESIGN 
3D ENVIRONMENT IN SCRATCH
Here is the code for the player movement and the ray-caster which is responsible for generating a 3D image.
Initial build for the ray-caster , essentially acts as a FOV/vision range indicator.
3D image generated of the custom built map, the ray-caster now incorporates height based on the distance of any wall from the player, thus giving an illusion of perspective.
INTEGRATION w/ MAKEY-MAKEY
I decided to integrate my game with a Makey-Makey kit, using graphite, cardboard, and alligator clips. 
Four buttons on the left of the board correspond to the W(Forward), A(Left),S(Back) and D(Right) keys, while the two on the right are used to rotate the camera in the game seperately
Here is a demonstration of the controls.
GAME FEATURES
Players will be able to experience the feeling of exploring and navigating through 3D rendered level within a otherwise primitive and largely 2D based program which is Scratch. I tried to explore the limits of how far Scratch can be pushed and create something different.

I have also coded a custom movement script that separates the player's movement and camera controls to give them more freedom that also resembles a true FPS game's movement.

Project Link​​​​​​​
https://scratch.mit.edu/projects/841414854
Scratch/Arduino Game Design
Published:

Scratch/Arduino Game Design

Published: