2.2.15 • Published 2 years ago

froxel v2.2.15

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Installation

Froxel is a lightweight and powerful framework to build games using HTML5 technology. You can use npm/yarn/pnpm to install the framework in your project, or download the respective flavor (ESM or global) of target from the dist folder and include it in your project directly (using the import keyword of JS, or the global froxel object).

pnpm add froxel

Getting Started

The fastest way to get started is to create a froxel project from a template, build it and view it on your browser. To create a project in folder test, and install all dependencies, execute the following:

pnpm dlx froxel create test
cd test

Build your project using pnpm build and then either open the index.html file directly in your browser1 or execute pnpm serve to spin up a mini HTTP server, when using the latter navigate to http://localhost:1234/ to view the results.

You can also use pnpm watch to start in watcher mode and have your modifications reflected quickly. HMR is disabled by default, so ensure you reload the browser window after every change, if this behavior is not desired edit the watch script of the package.json file.

1 Due to restrictions of access to the file:// URI in browsers, it is recommended to use an HTTP server to host your project in a localhost environment. You can use a server such as the http-server package for Node (which is included in the froxel project), nginx, Apache, etc. If you're using Firefox, you can alternatively open about:config and set security.fileuri.strict_origin_policy to false and open the index.html directly.
2.2.15

2 years ago

2.2.13

2 years ago

2.2.5

2 years ago

2.2.14

2 years ago

2.2.7

2 years ago

2.2.12

2 years ago

2.2.6

2 years ago

2.2.10

2 years ago

2.2.9

2 years ago

2.2.8

2 years ago

2.2.3

2 years ago

2.2.2

2 years ago

2.2.4

2 years ago

2.2.1

2 years ago

2.2.0

2 years ago

2.1.9

2 years ago

2.1.14

2 years ago

2.1.15

2 years ago

2.1.12

2 years ago

2.1.13

2 years ago

2.1.10

2 years ago

2.1.11

2 years ago

2.1.2

2 years ago

2.1.1

2 years ago

2.1.4

2 years ago

2.1.3

2 years ago

2.1.6

2 years ago

2.1.5

2 years ago

2.1.8

2 years ago

2.1.7

2 years ago

2.1.0

2 years ago

2.0.64

2 years ago

2.0.62

2 years ago

2.0.63

2 years ago

2.0.61

2 years ago

2.0.59

2 years ago

2.0.57

2 years ago

2.0.58

2 years ago

2.0.60

2 years ago

2.0.56

2 years ago

2.0.55

3 years ago

2.0.53

3 years ago

2.0.54

3 years ago

2.0.52

3 years ago

2.0.51

3 years ago

2.0.50

3 years ago

2.0.49

3 years ago

2.0.48

3 years ago

2.0.47

3 years ago

2.0.46

3 years ago

2.0.45

3 years ago

2.0.44

3 years ago

2.0.43

3 years ago

2.0.42

3 years ago

2.0.41

3 years ago

2.0.40

3 years ago

2.0.39

3 years ago

2.0.38

3 years ago

2.0.37

3 years ago

2.0.36

3 years ago

2.0.35

3 years ago

2.0.34

3 years ago

2.0.33

3 years ago

2.0.32

3 years ago

2.0.31

3 years ago