Coder Social home page Coder Social logo

jaygarcia / ardens Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tiberiusbrown/ardens

0.0 0.0 0.0 59.67 MB

A simulator for the Arduboy FX that can be used for profiling and debugging.

Home Page: https://tiberiusbrown.github.io/Ardens/

License: MIT License

Shell 0.15% C++ 82.62% C 14.84% HTML 0.36% CMake 2.04%

ardens's Introduction

Ardens

Ardens is an Arduboy simulator that is useful for profiling and debugging.

screenshot

Try out the full debugger here. Drag and drop an Arduboy game (.hex/.elf/.arduboy) and any FX data (.bin) onto the page.

Try the minimal player with one of the game URLs below:

Keyboard Bindings

Key Purpose
Arrows Arduboy: directional buttons
A/Z Arduboy: A button
S/X/B Arduboy: B button
F1 (Desktop Debugger Only) Save screenshot of entire window
F2 Save screenshot
F3 Toggle GIF recording
F4 (Debugger only) Save snapshot
F5 (Debugger only) Pause/Continue
F8 Reset
F11 Toggle fullscreen
O (Debugger only) Settings window
P (Debugger only) Toggle player mode
R Rotate display

Creating a link to a playable Arduboy game

There is a web build hosted on GitHub pages: to create a link to a playable Arduboy game using Ardens Player, you can follow these patterns:

https://tiberiusbrown.github.io/Ardens/player.html?file=https://example.com/game.arduboy https://tiberiusbrown.github.io/Ardens/player.html?file=https://example.com/game.hex&file=https://example.com/game.bin

The web builds of the debugger and player accept the following additional URL parameters (e.g., add &param1=value1&param2=value2 to the URL).

g or grid

Overlays the display with a grid to allow easier disambiguation of adjacent pixels. Values: none, normal, red, green, blue, cyan, magenta, yellow, white

p or palette

Adjusts the color palette of the display. Values: default, retro, lowcontrast, highcontrast

af or autofilter

If enabled, applies temporal filtering to the display to help properly render grayscale games. Values: 0, 1

f or filter

(Debugger only) Conditionally applies an upscaling filter. Values: none, scale2x, scale3x, scale4x, hq2x, hq3x, hq4x

ds or downsample

(Debugger only) Downsamples by an integer ratio after applying an upsample filter. Values: 0, 1, 2, 3

ori or orientation

Rotates the display in 90 degree increments (directional button mapping is also rotated as if playing on a rotated Arduboy). Values:

  • 0 or normal
  • 90 or cw or cw90
  • 180 or flip
  • 270 or ccw or ccw90

v or volume

Sets the emulated audio gain. Value may be in the range 0 to 200, with 100 being the default.

size (Desktop only)

Sets the initial size of the application window. Value should be in the format <width>x<height> (for example, size=800x400).

i or intscale

Restricts the display scaling to an integral scaling factor. Defaults to false for the web player, and true for all other platforms.

c or current

Enables modeling the display row driver current limit. This effectively darkens rows that have many lit pixels. Defaults to false.

Libraries Used

ardens's People

Contributors

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