Haxe блоги на других языках

OOP in Haxe

HaxeCoder - 6 May, 2018 - 14:01

What is Haxe?

HaxeCoder - 6 May, 2018 - 14:01

Welcome to Seattle

Haxe.org blog - 11 April, 2018 - 03:30
Before Heading to the U.S. Haxe Summit, Here Are a Few Things to Consider When Visiting Seattle

Haxe Shop Announcement

Haxe.org blog - 26 February, 2018 - 03:30
You can now show your true colors by wearing Haxe t-shirts in our brand new shop.

Wherein you make your gf an infernal box

It all started at Michael’s, as these things always do, with a box shaped like a book. You see I’d never played dungeons and dragons, but it turns out any DM worth her salt needs a way to roll her dice unobserved. The more sinister the receptacle the better.

Frank costume

  Making costumes is fun! Fun, but worrisome. What if it looks like you’re just wearing a garbage bag – what if people think you’re dressed as literal garbage? I mean, maybe you are dressed as garbage, and that’s okay. In that case, good job! But me, I wasn’t dressing as garbage. No, I wanted […]

Create a node module with Haxe

Revolugame - 4 March, 2017 - 13:00
In this post, I’m not going to talk about npm (except for the initialisation part), but about how to code your module with Haxe.

Haxe React - tic tac toe example

Revolugame - 6 February, 2017 - 23:30
I’ve ported the tic-tac-toe example from the react-js documentation to haxe. You can find it here.

Haxe React - tic tac toe example

Revolugame - 6 February, 2017 - 23:30
I’ve ported the tic-tac-toe example from the react-js documentation to haxe. You can find it here.

Unity Physics Debug Draw 2D

Allan Bishop's Developer Blog - 28 April, 2015 - 15:31

Developing games or anything interactive is amazing in Unity. Apart from that it is free (including pro features), the main reason I enjoy developing with it is the time saved by leveraging the editor. In addition, those interested in 2D physics games will also appreciate that Unity incorporates Box2D for it’s 2D physics engine. By using the editor you can very quickly create RigidBodies and Colliders in a matter of seconds.

However, one thing seemed missing and that was a good debug view similar to the debug view when using Box2D in Flash. To my knowledge, it seems only if you have the GameObject with attached collider selected in the editor will it render a wireframe view, and, it doesn’t seem to show up when running in game view. So to help with prototyping with Unity’s 2D physics I have created a component that will automatically render all colliders and joints in both the editor and game view. All you have to do is attach the script to the camera. You can download the script (and example scene) from my github.

The post Unity Physics Debug Draw 2D appeared first on Allan Bishop.

angularjs image cropper

Allan Bishop's Developer Blog - 15 April, 2015 - 14:03

Having developed a javascript image cropper tool I thought I would get it working with AngularJS! As far as I am aware this is the only free image cropper directive at time of writing that supports a rectangular crop area with photoshop-esque controls. It also features the ability to enforce an aspect ratio as well as zooming. This means that on the client side a user can upload an image to your server that is not distorted and is already the correct dimensions.

An online demo can be found here and the source repository can be found on my GitHub.

The post angularjs image cropper appeared first on Allan Bishop.

HTML5 Image Cropper

Allan Bishop's Developer Blog - 8 April, 2015 - 16:30

For a project I am working on I needed a browser based (HTML5) image cropper tool so thought I would make one which I am releasing for free! The image cropper has a variety of features including:

  • Rectangular crop area
  • Aspect ratio enforcement (optional)
  • Zooming (optional)
  • Multi-touch on touch supported devices

A working demo can be found here. The source code can be found on my Github repository. Additionally in the repository you can find the TypeScript files as well as the JavaScript files. An AngularJS version is coming soon.

 

The post HTML5 Image Cropper appeared first on Allan Bishop.

RSS-материал