Saturday Update: Wheelchair Hacking and Maths

Hello and welcome to another Burf Update, it’s odd doing it on a Saturday night but there is quite a lot to report (if I can remember it all)

Maths
I have gone back to Khan Academy and have redone 3rd Grade (lol), I am now 46% through 4th Grade and plan to do all the Maths Khan have to offer 🙂 I already have over 500,000 points on the site. The aim is to at least understand some A-level maths by mid-next year.

Wheelchair Hacking

So finally I have started to try and work out how to hack the joystick on the Electric wheelchair. I have not succeeded yet after many hours but I have learned so much. If I was brave enough to cut the wires I could really see what was going on inside. I believe it works using a microchip that detects magnetic forces (A Youtube video explained it) however he was trying to reuse the stick, not mimic it to do remote driving.

I got to learn quite a bit and even used my oscilloscope 🙂 However, I have decided that it would be easier to create something that controlled the joystick via servos so that I do not need to break anything. I have started learning Autodesk Fusion 360 to design it and then 3D print the new mechanism.

I have bought a new tool that allows me to measure stuff precisely so that I can design it properly

I have also built a little pillar drill to allow me to drill stuff out (a random thing I found in the garage)

Hoverboard goes boom

So I had a spare hoverboard to take apart as I wanted to see if I could control it with an Arduino. To do this I needed to soldier a connector onto it. Sadly though I unplugged it, the capacitors must have still had energy in them as they made a rather large spark and blow the board. I am now trying out a Scooter motor controller off eBay 🙂

It feels like I have done more electronics in the last 5 days than in the last 5 months which is rather exciting 🙂

Garage

It’s clearer than it’s been for a long time, I have a lot of LEGO to sort but making good progress on this.

Application of Robotic Tools Course

Completed, not a great course but at least it’s finished

ROS

I have started playing with ROS (Robotics Operating System), just a bit of a refresher as I plan to move to ROS 2.

I hope to either have a hacked Wheelchair or a hacked hoverboard working for the next update 🙂

Getting to grips with Unity & VR

At work, I have been tasked with investigating Virtual Reality and what can be done with it.  The results went in to a Lab Report to that was sent to the rest of the business.  When thinking about building any VR proof of concept (POC), Unity just makes sense due to how easy they make it to enable it (a single tick box).  Out of the box, they support the main headsets (Rift, GearVR, Vive) to a useable level.  All of my POC’s where targeted at the Samsung GearVR as currently that’s the only commercial headset available.  This does give you some challenges due to the lack of user interaction possible and performance.  That’s been my major struggle recently, gett the FPS up.

Unity do offer some very nice and pretty VR samples in the Asset store, its recommended for anyone to take a look at how they are put together.  They also show you have to pickup taps / swipes etc on the GearVR touch pad.

Another challenge I have faced with being a programmer, and not a designer is making stuff look awesome, luckily in the Lab we have someone who knows Unity a lot better than I do and has a eye for detail, which most developers lack.

All in all I have enjoyed learning Unity and hope to use it with some proper VR hardware (Vive / Rift), I also hope that if I do get to do a larger project in it, that I have a more powerful machine.  Even my fairly new MacBook Pro struggles with Unity.

I have also learned a lot about good but mainly bad uses of VR,  the key message here is, don’t use VR for everything, use it for its strengths

 

New version of Hack24 submitted!

I May of just solved a programming issue that’s been bugging me for many months. The only way I thought I could get round it was a complete rewrite of the 3D engine for Hack24. However it seems you can get around the massive performance with Hack24 by having multiple threads. Yes seems obvious however this is OpenGL world and that is completely different, the items have to created in the main context!

The fix worked, so a new version of Hack24 has been submitted (with other bug fixes!)

Humble Bundle Game Dev Edition

Humble

Humble Bundles generally consist of a number of indie games sold together at a low price in support of charity.  This time however it’s a bit different, as this one is composed almost entirely of game development tools and asset packs.  The bundle currently includes:

  • Axis Game Factory Starter Pack
  • Stencyl Indie Edition 1 year License
  • RPG Maker 90% off coupon
  • Humble Bundle Starter DLC ( sprite tiles and music tracks )
  • Indie Game Maker 2014 Finalist Pack ( more assets )
  • Labyrinth Dreams ( a game )
  • RPG Maker VX Ace Delux
  • Game Character Hub
  • Humble Bundle SciFi Pack
  • Humble Bundle New DLC Pack
  • Aveyond:Lord of Twilight ( a game )
  • Crimson Clover WORLD IGNITION ( a game )
  • App Game Kit 2
  • Spriter Pro
  • Sprite Lamp
  • Humble Bundle Fantasy DLC Pack
  • Goats on a Bridge ( a game )

The above list is the complete purchase list however, and requires an investment of at least 12$.  That said, Spriter alone usually has a 50$ price tag and Stencyl Indie is 99$, thats an extremely reasonable price tag.

More details about the Humble Game Making Bundle are available right here.

Hack24 2.0 out now!

So, finally I got some time to update Hack24, my first ever MMO for iOS.  2.0 is not as big upgraded as I hoped but added some more fun to the game.

  • You can now customise the colour and building type
  • You can now message online players
  • NPC have been introduced to add more fun
  • Bug fixes
  • Game balancing
  • iOS8 fixes

Next, I plan to improve performance, the game keeps getting new users, and so development will continue

You can get it free from iTunes

New version of Virtual Worlds Submitted for Android

Just a small update, the following features, bugs have been fixed.

  • Added feature to turn VR mode off
  • Added feature so you no longer need a game controller
  • Fixed issue with be able to place objects in other peoples worlds
  • Fixed a few crashes!

Please check out

Virtual Worlds

SHDR : Online OpenGL Shader Editor

I had to post about this amazing tool I found, now when I am writing my 3D games, I basically pray every time I play with a shader in case I brake it.

I know the basics but using either xCode or Android Studio (now has a tool), there is no syntax highlighting or easy way to see errors!

SHDR allows you to paste in your fragment and vertex shader and tells indicates any issues, and renders the results if it can!

BRILLIANT!

 

Lets release pre-alpha software! Yeah

So, tonight I decided just to punt out Virtual Worlds.  Probably a silly move but nothing has been happening lately with it due to work stuff, a 3 week long cough, 2 birthdays, Christmas and home life!

I will soon know how bad it is!

I managed to do some useful bug fixes, tested it on a couple of controllers etc.  More will come soon!

What does it have?

  • Main world has little huts which is your door way to the other worlds
  • It has some built in help to tell you what buttons do what.
  • It has some nice new textures but sadly very limiting at the moment
  • You can see other players in the game, pretty poor graphics but that will be fixed very soon
  • You can create your own little minecraft type world 🙂 though very basic!

Whats next?

  • Once I see it in the Google Store, I will test it works 🙂 (releases always seem to cause some odd bug)
  • I need to add some more textures ASAP
  • A way for people to report bugs
  • A way for people to talk to each other!

Google Play Link

Virtual Worlds update 0.1

So, Virtual Worlds, hmm I had planned to release that by the end of the month however a few things have come up!  Man Flu has not helped me code, the snot just goes everywhere!

I have also had a few other things on!

Excuses over, where are we?

  • Started getting a better set of textures together thanks to Gary
  • Made a very rough simple player model which maybe be replaced by a OBJ file
  • Fixed lots of bugs
  • Created a control screen showing controls etc
  • Improved the navigation throughout the app
  • Implemented some speaking help notifications
  • Got Google Cloud Messaging working however not sure why I need it now.
  • Moved to Live server!

Left to do by 1st December

  • Improve player object
  • Finish texture pack off
  • Make scalable zone object
  • Fix any controller issues
  • Allow user interaction maybe using GCM
  • Allow players to fly in zones if they own them to help build them
  • TEST

Wish me luck!

Virtual Worlds : Progress so far

What? a? Virtual Worlds? What a sh*t name?  Your probably right but its just better than Android 3D mmo thingy!

Progress so far?  I would of liked to give it more time but some times I am not in the mood, sometimes I can’t get out of the mood which also leads to lack of sleep!  Last night I had beer! (not a usual thing sadly)

What can you do so far?

  • Register, login
  • Navigate the main world, which will allow you to enter player zones and create your own zones.
  • You can see other players (as cubes) move about
  • Once in your own zone, you can place cubes to make structures (see below) this has been vastly improved.
  • You can climb your structures to make bigger structures (I had to make a stair case to to make the archway)
  • You can enter delete mode in your zone and delete things with ease
  • Started adding back in the voice engine, sound effects etc
  • There are now system text messages to show you important information
  • Players and zones have text above them showing their username

device-2014-11-15-231021

 

 

 

 

 

 

 

Whats next

So to get it to the point where I can alpha test it I would like to do the follow

  • Create a 3D model for players as they are currently cubes
  • Make a 3D object for a zone, this should grow as the zone gets more popular / better in some way
  • Find a wider range of textures snow, grass, wood, etc
  • Create a control help screen to list gamepad controls
  • Make all commands voice activated (may get dropped)
  • Allow you to send messages to users (may be text or voice)
  • Create some sort of reason to play the game, prices, score boards etc.
  • Implement GCM (push notifications)

The aim is to have a demo zone thats setup for xmas when I release alpha:)

Off to bed!