Elliot Mebane

Seven-Up Draw Poker

I made a Draw Poker sample game and included my Finite State Machine under the hood for orchestrating the action. It is a Seven-Up poker variant, meaning the deck is restricted to the highest-ranking 32 cards (7s through Aces). Odds of making a highly-ranked hand like Straight/Flush/Full House are better than with a 52 card deck. The game is a 1 player game vs. an AI dealer.

I committed the game to GitHub with an Apache 2.0 license. I’d love to hear how you use it in your work!

Unity Finite State Machine (Pure Code)

I wanted a “Pure Code” State Machine for Unity and I didn’t find quite what I wanted. I did find 3 State Machines with features I liked, so I drew from them and added my own features to create what I wanted. The Pure Code approach means little to no reliance on the Unity GUI interface or Unity code and classes like MonoBehaviour.

I implemented the FSM in 2 sample projects. One was based on Dunstan’s sample. I committed the FSM including the sample project to GitHub with an Apache 2.0 license:
The second is a Poker game I published here, also with an Apache 2.0 license:

More info about the Finite State Machine I wrote and each of the State Machines I referenced when writing it are below. Read the full article »

S-Curve Algorithm in Processing

The S-Curve algorithm I implemented in this example using Processing can be used for mapping values from a linear sequence to an s-curve.

YouTube Video
GitHub repo
Luminous Landscape Forum Thread (source)

Global Game Jam 2017 — VR Game “Flutter”

48-hour Global Game Jam 2017 — Flutter
(Theme: Wave)
: Game Jam Entry

A VR experience simulating a 1000 foot leap into the air then a vertigo-inducing descent. Jump to initiate a superhero-like leap in the game, soaring far above the canopy of a mystical forest. You’ll feel a few moments of weightlessness as you reach the peak of your jump before beginning your fall back to earth. You’ll feel a flutter in your stomach as you land with a WHOMP and knee-buckling impact (virtual) sending ripples through the scene.

Playtesters playing Flutter: Playtester Video
Me playing Flutter during development: Development In-Progress Video

Read the full article »

HoloLens Bluetooth LE Plugin for Heart Rate Monitoring

Bluetooth LE plugin for Microsoft HoloLens, published for FREE for developers to use in their own HoloLens games and apps!

YouTube video from user’s perspective (through the HoloLens): YouTube

The demo app for HoloLens devices is available in the Windows Store: Microsoft App Store

The plugin for Unity is available for FREE in the Unity Asset Store: Unity Bluetooth LE HRM Plugin

Space Junk – Experimental Mobile Physics Game

Space Junk is the latest in my small anthology of experimental 2d spaceship games all using a similar 2-button input mechanic.

Sample gameplay video:

Space Junk is a prototype and works on both Android and iOS platforms. It is available as and Android APK file here: Space Junk, though it is not polished-enough to be released in the Google Play store. Apple restricts non-store distribution so although it works on my Apple test device, I have not made a playable version for distribution for Apple devices.

The player sees a top-down perspective of a spaceship and 2 buttons on screen. Each button fires one of the thrusters at the rear of the ship. Like each paddle of a canoe the momentum from each thruster adds forward momentum and also turns the spaceship. Accurate steering is difficult. This dual-thrust control scheme is the feature of the game that makes it unique. Read the full article »

Candy Spinner — Mobile App

Candy Spinner is a spiral pinwheel toy — Candy for your brain & fun for all ages!

Candy Spinner is available for free on Android and iOS at the links below — Give it a whirl!

Preview Candy Spinner in this sample video:
Candy Spinner Video

Get it on Google Play

Spin 17 trippy, colorful spiral wheels!

— Vibrant color wheels create colorful mesmerizing patterns as you spin them at different speeds. They even appear to stop and spin the opposite direction as they change speed.
— 1 Vertigo Vortex Spiral. Stare at the center of this wheel for 30 seconds then look away and you’ll experience several seconds of loopy vision distortion.
— 1 Seashell
— 3 Animations of animals and humans running, jumping, dancing…

Something for everyone! Enjoy art reminiscent of Marcel Duchamp’s RotoReliefs,
Zoopraxiscope animations from Eadweard Muybridge, Logarithmic images from the natural world, a Mandelbrot fractal, etc.
Read the full article »

Grey Shaders — mobile app

GreyShaders is a mobile application/tool available on the Google and Apple App Stores. It is a demo of several Greyscale Conversion Shaders applied to a test image.

Get it on Google Play

Comments are welcome! Share references and knowledge about color space conversion in the comments section below and I’ll continue to expand this post with relevant updates at the bottom of this post. Enjoy the app!

Humans sense pure Green as brighter than pure Red, and Red is sensed as brighter than Blue. Therefore when we create a greyscale image based on a source color image we derive most of the brightness from the Green channel of the source image, followed by the Red channel, and finally the Blue channel contributes the least to the brightness of the converted image.

This weighted-conversion from color to greyscale can be done using several algorithms that approximate the perceived brightnesses of colors. Some algorithms do a better job of selecting the appropriate greyscale tone to represent the colors in the original image.

The Grey Shader app demonstrates several popular conversion algorithms. Users can toggle between the original full-color image and each shader-modified greyscale version. This allows optimal A/B comparison. More info about the Grey Shader app and each of the GLSL shaders it uses is below. Read the full article »

Bare-Bones Shader Example in Cocos2d-x v.3.2

This is a bare-bones example of a shader in Cocos2d-x v.3.2. It swaps the color channels of the texture image: The Blue channel is drawn in the Red channel, Green in Blue, and Red in Green. See the results here: BasicShaderScreenshot.jpg
Read the full article »

Revelens Video Player Platform for Product Placement Purchasing

I built the video player for the Revelens Product Placement and Purchasing video platform.

The Revelens player allows the viewer to access more content associated with different parts of videos. The video owner connects specific parts of the video with weblinks, allowing product placement in the video to be tied directly to product purchase pages for the products in the video. Video owners may also make links to any kind of additional content their users may want to see that are related to the user’s favorite parts of the video timeline.

Revelens Platform Promo Video

Read the full article »