GithubHelp home page GithubHelp logo

draggie306 / alevel-cs-project Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 2.26 GB

For my A-level Computer Science NEA, I developed a games ecosystem with downloader, auto-updater, authentication with a server, website and Unity water simulator game. This repo contains the Unity game. For all aspects of the project, go to: https://github.com/Draggie306/CompSci-HandIn

Home Page: https://alpha.draggiegames.com

C# 63.11% ShaderLab 17.43% HLSL 6.19% Python 13.27% PowerShell 0.01% Batchfile 0.01%
alevel alevel-computer-science alevel-coursework alevel-resource alevels

alevel-cs-project's Introduction

My A level Computer Science Project

time spent

Welcome to my A level Computer Science project! This project contains a lot of different things, including a Unity project, Python scripts, and more.

๐Ÿ”— Linked repositories

The website and assets are available on another repository, draggie306/draggiegames.com The server is available on another repository, draggie306/DraggieGamesServer

๐Ÿ“ Project Structure

  • Assets/ - Contains most assets for the project, including materials, images, and packages.
    • Assets/SceneScripts/ - Contains the scenes for the project and handmade C# scripts.
  • Packages/ - Unity json files for package list
  • python/ - Contains Python scripts including autoupdate and tools for the project.
  • saturnian-distributeBuild.py - Python script to distribute the build using Cloudflare R2 object storage.

๐Ÿ“š Additional Documentation

  • CompSci Project.docx - Writeup for the project.
  • More coming soon!

๐Ÿ—๏ธ Build

๐Ÿงฑ Unity project

Git clone the repository, then download the Unity Hub and install 2022.3.14f1 Open the project in Unity and build it.

๐Ÿ Client-side python scripts

  • In /python/autoupdate and /python/tools, run pip install -r requirements.txt to install the required packages for each respective script.
  • You can then run the scripts using python3 <scriptname>.py
  • To build the autoupdate script, run pyinstaller --onefile --noconsole autoupdate.py in the /python/autoupdate directory.
  • To build the tools script, run pyinstaller --onefile tools.py in /python/tools.

๐Ÿ“ค Distribute build

To distribute the build, run the saturnian-distributeBuild.py script in the root directory of the project.

  • This assumes there is a build/ directory in the root directory of the project. It will create a new subfolder with an incremented number and upload the build to that folder after compressing it.

You will need your own Cloudflare R2 object storage account, and you will need your own Cloudflare API key and email and environment variables. This uses rclone to upload the build to the object storage bucket.

๐Ÿ“ Note

This project is still in development, and is not yet ready for use.

alevel-cs-project's People

Contributors

draggie306 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.