GithubHelp home page GithubHelp logo

randomnine / haxegon Goto Github PK

View Code? Open in Web Editor NEW

This project forked from haxegon/haxegon

0.0 1.0 0.0 13.5 MB

A haxe programming library for beginners. Powered by OpenFL and Starling.

Home Page: http://www.haxegon.com

Haxe 100.00%

haxegon's Introduction

Build Status

Haxegon (version 0.10.0 (2017-08-26))

Haxegon is a tiny haxe programming library aimed at beginners. It's currently in alpha, so things are changing fast and stuff might be broken.

Haxegon compiles natively to HTML5 and Desktop (Win, Mac, Linux). Flash is also supported as a legacy/development platform.

Trying it out

Interested in trying it out? First install openfl via instructions here, then you can install Haxegon using haxelib:

haxelib install haxegon

Once the library is installed, use this blank project file to get started:

[blankproject.zip]

Documentation is available at haxegon.com, and a growing selection of example projects are available here. More coming soon!

Last Updates

0.10.0 (2017-08-26)

New features

  • This is mostly just a compatibility update for OpenFL 6.0. Haxegon now works with the latest versions of OpenFL and Lime.
  • Added support for Key.ANY. (Thanks to @nachoverdon for the suggestion!):
  if(Input.pressed(Key.ANY)) // True if ANY key is being pressed right now
  if(Input.justpressed(Key.ANY)) // True if ANY key has just been pressed
  • Changed Gfx.imagealpha and Gfx.imagecolor to variables instead of functions. Also added three new shortcut functions to reset image drawing settings - Gfx.resetalpha(), Gfx.resetcolor() and Gfx.reset():
  Gfx.imagealpha = 0.5;
  Gfx.imagecolor = Col.GREEN;
  Gfx.drawimage(x, y, "someimage");
  
  Gfx.resetalpha(); //Same as calling Gfx.imagealpha = 1
  Gfx.resetcolor(); //Same as calling Gfx.imagecolor = Col.WHITE
  Gfx.reset();      //Resets colour, alpha, rotation and scale
  • Added an optional alpha parameter to Text.display(). (Thanks to @nachoverdon for the suggestion!)
  Text.display(x, y, "spooky see through text", Col.WHITE, 0.5);

Bug fixes/Tweaks

  • Removed deprecated startfullscreen setting from blankproject.zip.
  • Documentation updates.

(For a full update history, see the changelog.)

haxegon's People

Contributors

terrycavanagh avatar randomnine 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.