shmup.re - Learning Reason/OCaml by making an old-school canvas game.

  •        15

Also, if you want to make something similar, the canvas2d bindings used here were extracted and merged into the bs-webapi project.

https://github.com/af/shmup.re

Dependencies:

bs-webapi : 0.4.1

Tags
Implementation
License
Platform

   




Related Projects

vscode-reasonml - OCaml & Reason support for Visual Studio Code

  •    TypeScript

There is an #editorsupport channel on the Reason discord server. If you would like to discuss an idea or need help or have other feedback you can usually find me (@freebroccolo) idling there. The Reason installation steps also installs Merlin for you, so you can skip the Merlin installation in the next section.

bs-react-native - BuckleScript bindings for React Native

  •    OCaml

Great that you want to use Reason with React Native! To get everything running are just a couple of steps. Let's assume that you already have a React Native project. Otherwise follow the React Native instructions until you have your app running. and start the watcher with yarn run watch if you haven't done it yet.

reason-tools - Adds Reason to the browser

  •    OCaml

Adds Reason to the browser. When you trigger the extension, it will copy the text you have highlighted and put it into an editor. The text is then translated into the corresponding Reason/OCaml text. Reason Tools will automatically convert between .re, .ml, .rei, and .mli text. In browsers that support it (currently just Chrome), a shortcut is added to open the extension with the highlighted text: Alt+D.


reason-react - Reason bindings for ReactJS

  •    OCaml

Then add some files somewhere (don't forget to change bsconfig.json, if needed).

reason-scripts - :beginner: Create a ReasonML and React development environment

  •    Javascript

Reason Scripts provides a JS-like development environment for developing web apps with the Reason programming language and React. It bootstraps an environment to automatically compile all Reason code to JS, provide features like reloading and bundling, and seamlessly use JS code from Reason. Make sure to install bs-platform globally using npm instead of yarn.

intro-to-reason-compilation - Ready up!

  •    Shell

Note that this is for the curious people. You don't need to know these things immediately when you start consuming Reason and the rest. If you just want to try Reason, this is the right place to start instead. We start with the most basic OCaml compiler commands and gradually build up to a productive workflow. Each step resides in its independent, fully functional folder.

reductive - Redux in Reason

  •    OCaml

A reimplementation of redux in Reason. However, in the spirit of unifying the Reason community around an authoritative Redux implementation and to avoid churn, we'll polish Reductive to make it production-ready for those who do wish to use it anyway.

gravitron - a little game

  •    OCaml

this is a little game I'm cooking up, written in Reason, using Reprocessing (a cross-platform opengl-backed 2d-graphics library). Download the osx native version from the releases page.

Bucklescript - A backend for the OCaml compiler which emits JavaScript.

  •    OCaml

BuckleScript leverages the existing OCaml compiler and toolchain to produce JavaScript that closely resembles the original OCaml. It isn't a new language. It simply takes OCaml, a fast, pragmatic and typed language, and makes it compile to clean, readable and performant JavaScript code. This allows the users to write in an industrial-strength language while using the existing, familiar JavaScript tools (npm/yarn, bundlers, minifiers, devtools, etc.) and accessing the vast ecosystem from both JavaScript and OCaml.

bucklescript-tea - TEA for Bucklescript

  •    OCaml

This is a library for OCaml-via-Bucklescript (though in the future to support native compilation for back-end template generation) that follows TEA/The Elm Architecture as I see it in various incarnations. You can read more about it here.

klipse - A simple client-side code evaluator pluggable on any web page: clojure, ruby, javascript, python, scheme, es2017, jsx, brainfuck, c++, reagent, lua, ocaml, reasonml

  •    Clojure

A simple client-side code evaluator pluggable on any web page: clojure, ruby, javascript, python, scheme, es2017, jsx, brainfuck, c++, reagent, ocaml, reason, common lisp

Reason - Simple, fast & type safe code that leverages the JavaScript & OCaml ecosystems

  •    OCaml

Reason lets you write simple, fast and quality type safe code while leveraging both the JavaScript & OCaml ecosystems. Reason is not a new language; it's a new syntax and toolchain powered by the battle-tested language, OCaml. Reason gives OCaml a familiar syntax geared toward JavaScript programmers, and caters to the existing NPM/Yarn workflow folks already know.

melonJS - a fresh & lightweight javascript game engine

  •    CSS

Note that due to the cross-origin request policy implemented in most browsers (that prevents from accessing local files), you will need to either disable this security check (see the tutorial), or better use a "personal" local web server like the grunt connect task that is used for building melonJS (see below for building melonJS).

awesome-canvas - A curated list of awesome HTML5 Canvas with examples, related articles and posts.

  •    

A curated list of awesome Canvas examples, related articles and posts. Inspired by awesome-python. Please take a quick gander at the contribution guidelines first.

pixi

  •    Javascript

The aim of this project is to provide a fast lightweight 2D library that works across all devices. The PixiJS renderer allows everyone to enjoy the power of hardware acceleration without prior knowledge of WebGL. Also, it's fast. Really fast. PixiJS is a rendering library that will allow you to create rich, interactive graphics, cross platform applications, and games without having to dive into the WebGL API or deal with browser and device compatibility.

crra - Create Reason React App

  •    Javascript

Create Reason React App