Code Monkey home page Code Monkey logo

load-seed's Introduction

Loading Screen Seed

This project is an application skeleton for building a Garry's Mod loading screen. You can use it to quickly get started building your design.

The seed comes preconfigured with modern frontend tools to make developing a loading screen faster and easier.

Preview Image

Getting Started

To get started you can simply clone the load-seed repository and install the dependencies:

Prerequisites

You need git to clone the load-seed repository. You can get git from http://git-scm.com/

The project also uses a number of node.js tools to initialize and build load-seed. You must have node.js and its package manager (npm) installed. You can get them from http://nodejs.org/

Clone load-seed

Clone the load-seed repository using git:

git clone https://github.com/glua/load-seed
cd load-seed

If you just want to start a new project without the load-seed commit history then you can do:

git clone --depth=1 https://github.com/glua/load-seed.git <your-project-name>

The depth=1 tells git to only pull down one commit worth of historical data.

Install Dependencies

This project requires a few tools before you can begin developing your loading screen with it. After installing node.js, you can simply run the following commands to install all dependencies:

npm install
npm install -g gulp

After running these commands, you should find the a node_modules folder within your project.

Run the Application

The project is preconfigured with a simple development web server. To start this server, enter the following:

gulp serve

Now browse to the loading screen at http://localhost:9000/.

Hosting

When you're ready to host your loading screen, enter the following:

gulp build

The final project files will be built into a dist folder within your project. You'll need to upload these files to a web server.

Directory Layout

app/                    --> all of the source files for the loading screen
  fonts/                --> any fonts to include
  images/               --> logo image, backgrounds, etc.
  scripts/              --> JavaScript files
    main.js             --> loading screen code
    demo.js             --> test data used for emulating connecting to a server in the browser
  styles/               --> loading screen styles
    main.scss           --> default stylesheet
  index.html            --> loading screen layout file
  robots.txt            --> disallows web robots from indexing loading screen files

load-seed's People

Contributors

samuelmaddock 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.