MSDOS for Windows Phone
/The best April Fool's joke that I've seen this year has got to be MS-DOS for Windows Phone. If you have a Windows Phone, you must get a copy. Awesome.
Game Jam Judging
/So, sixty two games later, I've finished judging. It was great fun, and I learned a lot. I sat down to take a peek at a few entries, and then five hours later I looked up again. The things I've taken away from the experience are:
- There are some very clever, inventive and hard working folks out there who can make astonishing stuff in just forty eight hours. Well done to the lot of you.
- If you want the judges to like your game, make it very, very, easy for them to get to it. I had to download and run some games (which I'm always nervous about) and others plain didn't work. If you can find an easy way to get it going in a web browser you should do that. Quite a few entries made very good use of the Unity web player. Some folks had found free hosting that had advertising. I've lost count of the number of adverts I had to watch to get to games. If your game needs an install, consider making a video instead. I can get a better feel for the gameplay by watching a video rather than failing to make something work because I have the wrong library installed.
- When you start building your game one of the first things you should add is the instruction screens. Some games had very poor help, others had none at all. I spent five minutes with one game trying to figure out what I was supposed to do. Now I understand that discovery can be part of a game mechanic, but leaving a player with no idea of how to get started will encourage them to walk away rather than put in any effort to play. If you put the help screens in first it makes it easier to get feedback too, in that you won't have to explain what the game is about to anyone who wants to have a go.
- Some of the games told a story as they went along. I thought these were great. There's nothing like a narrative to make a game format interesting. Even a simple "old school" mechanic can be really enlivened by a background story.
- Don't worry about graphics if you've got good gameplay. Some games had really simple graphics that worked really well. While a certain amount of polish is nice, you need a strong core mechanic to make a great game. Other games had amazing graphics and physics but no gameplay that I could get my teeth into.
- I loved to see how much folk seem to have enjoyed making these things. The journey is a great one. Please, please, please publish the games if you can.
Thanks to the Meatly team for inviting me to judge, it was great fun.
Meatly Game Jam Judging
/Meatlyjam is a game jam that was running over weekend. I've been asked to help with the judging of the entries. Apparently there have been 62 games submitted, which is just amazing. Kudos to the organisers and those who took part.
You might think that going through 62 different games and scoring them is a bit of a pain, but actually I'm really enjoying clicking on each entry and finding out what it does.
If you fancy having a look at the entries you can find them all here. I've only had a look at the first few so far, but there are some really nice ones in there.
Cheap Game Fun
/I went computer game shopping yesterday. And for 35 quid I managed to get a couple of second hand triple A games that I very nearly bought at full price a while back. Both games were in splendid condition and they are both great fun to play. Each is a first person shooter, but there the resemblance ends. Sunset Overdrive is all bright colours, wild graphics and crazy weapons. Wolfenstein is all about a dour colour scheme and a very linear story progression. I'm not sure which I enjoy more, but getting a game like Wolfenstein (in a collectors pack with some pictures and a little book) for fifteen quid has to count as some kind of a bargain.
I really must set aside more time to play games.
What Price Protection in Programs?
/I got a lovely question from one of our students today. He is presently working on our "Pick Up the Crew" game coursework and is using objects to manage the items on the screen. The question concerned protection of the data members inside the game objects. If you are writing software for a bank you need to be careful to make sure to carefully manage access to data inside your objects, since you don't want naughty programmers fiddling with account balances. But in a game you don't care so much about this kind of protection. There is nothing particularly important about where on the screen a sprite is drawn.
The questioner was asking if it is OK for a sprite to expose its position information in public data so that other sprites could find out where it is on the screen and check for collisions with it. This is a good idea from a performance point of view (if we are really worried about such things) because it provides quick access to the position information. But is it a good idea from a programming point of view? Should we worry about protecting data inside things like game sprites?
To me this is the wrong question. I don't like using public properties like this because it can introduce dangerous dependencies. If I decide to change the way that I manage sprite position I'm going to break all the other objects that make use of this information directly to work out whether or not they have collided.
From a collision point of view I reckon it is best if each sprite exposed a method (perhaps called CheckCollision) which could be used to see if it has collided with something else. Then if you change how the sprite stores its position on the screen you can just update the behaviour of CheckCollision so that nobody outside your class is affected by the change. There may be a tiny performance hit with this approach, but the chances of introducing bugs are much reduced.
Sortlisted for Student Teaching Awards
/The Students Union at Hull has been running teaching awards for a few years now. I've been lucky enough to be nominated a couple of times in the past, and in 2012 I even managed to win an award. Which was wonderful.
I've just found out that I've been nominated for an award again this year. Thanks so much. The presentation dinner is in early May, I'm rather looking forward to it.
You can find out all of the details of this splendid initiative here.
Amazing fun fact: Rob Miles has in fact been nominated twice. It turns out that Robert Miles from the School of Languages, Linguistics and Cultures has also been nominated for an award. We are going to so careful that we don't both head down to the front if our names get read out.....
CloudBit Libraries for Windows Apps
/LittleBits are tiny electronic components that can be fitted together to create working circuits. They are great fun and you can find out all about them here:
They make a device called CloudBit:
http://littlebits.cc/kits/cloudbit-starter-kit
This puts LittleBits signals into the cloud, where you can connect to them from browsers and services such as If This Then That (ITTT). I used my CloudBit in the Microsoft Band Hackathon earlier this week, where I was using values sensed by the cloudbit to trigger alerts in the Band. I also used the Band accelerometer to control the output of the cloudbit as well.
I thought I'd put the LittleBits library that I used to control the device up on GitHub. So I have. You can find it here:
https://github.com/CrazyRobMiles/CloudBitControl
You might want to control your LittleBits devices from your Windows PC or Phone, and that's what this library does. You can send a percentage power value to your CloudBit device and receive a percentage value back. What the signals mean is entirely up to you. They might control a servo, light a lamp, open a cat flap or any number of other actions. You can use the inputs from the CloudBit in any way you like too.
There's a sample universal application that uses the library. This is a good basis for getting started. You just need the device ID and access token for your CloudBit and you are good to go.
Go to the Folly Lake Cafe
/Serendipity is one of my favourite words. And I only found out about it by accident. Just like I found out about the Folly Lake Café. Now that I'm back on Windows Phone I get Cortana telling me about places to eat nearby, and this place I've never heard of just popped up last week. So on Sunday we thought we'd check it out.
It's lovely.
We arrived a bit early to eat, although the food was tempting. The café is located in a dip in the ground that might have been a quarry a while back. Now it is just a haunt for anglers, walkers and cyclists. We didn't walk there, although we might next time.
If you are looking for somewhere in the countryside you should go and take a look.
Microsoft Band Hackathon
/Rob wriitng
Yesterday Robert Munnoch and myself headed down to London to take part in a Microsoft Band Hackathon. The event was based at the Central Working resource in Whitechapel, where the Microsoft Accelerator programme stuff is also based.
At the start of the event each team was given a Microsoft Band each and turned loose to make something interesting. We downloaded the SDK (it's very easy to use) and got cracking.
There were a whole bunch of teams taking part. Robert and I had some plans involving image processing, accelerometer data acquisition and LittleBits cloud connected devices.
Proper Pizza
The event was great fun, and the catering gave me Three Thing Game flashbacks, which was nice.
We had the LittleBits cloud bit talking to the band. We could get readings from the LittleBits circuit to cause notifications, and we were also using the accelerometer in the Band to control the servo output. Which was fun.
Experience has taught me that I can't do all night development any more and so at around midnight on Monday we set off to find the hotel. This took a lot longer than I'd planned. Note to self: Hotels are often remarkably unaware of their actual location and so you should always double check their directions. Otherwise you end up traipsing through the night to the wrong location. Like we did.
Anyhoo,, we found the place in the end and I settled down for what sleep I could get, while Robert gamely carried on writing code. In the end everything worked at the last minute and we had enough stuff to talk about during the final show and tell presentations.
It's very interesting to see what folks are doing with the device and as the capabilities of the Microsoft Band SDK grow in the future things are going to get even more interesting.
Thanks to Dave Baker and Paul Foster of Microsoft for setting up the event. I'm going to post some of the things that I've learned in the next few days.
Oh, and sorry to the Python Wrestlers this evening. In my sleep deprived state I completely forgot a to create slide deck that I was supposed to have written for the event tonight. The good news is that thanks to sterling support from Warren we managed to have quite a good night in the end, reading the weather from RSS feeds.
Rob on "The Conversation"
/Last week I went to a lunchtime meeting all about "The Conversation". It's a news and comment website which is written by academics from all over the world. It's a great idea, and there's some very interesting stuff on the site. All the content is published under the Creative Commons licence and so it can find it self republished in all kinds of interesting places.
I left with a strong desire publish something and they were asking for something about biometric passwords, so I wrote up a little piece. One of the best things about the site is that the articles are generally short - around 600-800 words or so. This means that they aren't too intimidating, and don't take too long to put together.
Another really lovely thing that I discovered was the great quality of the editing. I've had this experience before when I've written books. A good editor can take words and make them read really well. In the age of the internet and self publishing I worry that this skill is being lost. Not at all. What emerged from the process was so nice to read that I felt a bit guilty about my name being at the top.
I'm looking forward to writing more in the future. If you are an academic who wants to brush up your writing skills and tell the world a bit about yourself and what you are about, I strongly recommend that you get involved.
One of the most useful skills you can have is the ability to write well, it will serve you in any number of different situations. The Conversation gives you a chance to do just that, and get the benefit of the involvement in a proper editing process.
You can find my article here.
Rob at TechDays NL
/I've been doing sessions at TechDays for as long as I can remember. Including the one I'd rather forget, when Every Demo Failed.
And I'm very pleased to be able to report that I've been invited back again. This time I'm giving a couple of talks, one about the use of asynchronous operations and the other about the creation of Universal applications for the Windows Platform.
I love speaking in front of audiences from the Netherlands. They are always great fun. And so I'm looking forward to the end of May, when I'm going to get to do it all over again.
Last Open Day for a While
/We had our last Saturday Admissions Open Day for a while today. Thanks to everyone who came along, particularly those who had travelled a long way to get to us. Don't forget that you can get an electronic copy of the C# Yellow Book here. You can also find a complete set of our first year programming content on the same link.
We had a question about masters level Computer Systems Engineering during the Q&A session. If you want to know exactly which courses we teach (including MEng Computer Systems Engineering) you can go here.
If you want to keep up with news from the department you can keep up to date with what we are doing here. http://www.wherewouldyouthink.com/
Solar Eclipse
/The last time I went to see a solar eclipse it didn't end that well to be honest. Having carefully placed ourselves bang on the "line of totality" and enjoyed viewing a fantastic meteor shower through clear skies the night before, we woke up to two layers of cloud and a whole heap of nothing much.
So today my expectations were a bit low this morning. I viewed the gathering crowd on the campus as a being bit optimistic, to be honest. But when the time came it was great. I even suspended a tutorial so that we could go outside and get a look. There were telescopes and kids and a carnival atmosphere as it got gradually darker. There was a bit of cloud, but nothing that got too much in the way.
I was somewhat unprepared, I did have a camera but that was about it. However, by fiddling with the exposure I managed to get the picture above. Then someone suggested that floppy disks made a good light filter, so it was off up to my office to crack open a 3.5 inch disk.
I've no idea what the disk had on it, but I'm quite happy with the resulting photograph.
Rather Useful Seminar : Joe Stead Talks Cross Platform C#
/We really like it when past students come back and tell us what they are up to. Yesterday Joe Stead came in to give a Rather Useful Seminar all about portable C# development. Turns out that you can use C# on pretty much any platform these days and Joe gave an excellent talk on the best ways to do this, how to get started, and any issues you might encounter.
As you might expect, Xamarin featured quite prominently in the talk and it was very interesting to get Joe's perspective on the platform. Joe showed how you can use a variant of XAML to design the screen and showed how to take a single application and deploy it on IOS, Android and Windows Phone.
Keep an eye on Joe's blog for a copy of the slide deck and the example application he built.
Printing a Microsoft Band Stand
/One of the nice things about having a 3D printer is that you can, er, print things with it. And so when I wanted a stand for my Microsoft Band I was able to find a design on Thingiverse and then make one.
This is actually the second attempt. The first printed fine but unfortunately because of "squeezage" (something that happens that makes holes smaller because of the way the printing takes place) the slot for the cable was far too tight. I scaled up the design by 1.15 and this has given me a lot more slack. Perhaps 1.12 or so would be perfect.
Anyhoo, I'm very pleased with the result, which means I can just drop the Band on the stand at night and have it freshly charged in the morning. The Band actually has a sleep tracking function, but I've not tried that yet.
Microsoft Band First Impressions
/So last week, after a lot of pondering, I decided to take the plunge and get myself a Microsoft Band. I paid an excruciatingly large amount to get one specially imported and it arrived on Thursday. Then, today Microsoft go and announce that the bands are going on sale in the UK next month, at considerably less than I paid to get mine. Wah. Order yours here.
The good news is that I really like the Band. It just works. All day. In fact I reckon I could easily get a second day out of the device if I forget to charge it. I paired it with my Lovely Lumia 1520 and, apart from a hiccup that meant I had to set the region of the phone to US to get the app, I had the program working in no time.
It does pretty much everything that the Android wear devices I've been using do. I get notifications to my wrist, I can do voice searches using Cortana and it tracks my heart rate and activity quite handily. It's very light and pretty comfortable. It exerts a slight grip on my wrist, as if it is taking my pulse all the time, which is actually what it is doing I suppose. I've not tried any of the scripted workouts that are available, but the companion app does a good job of presenting the data that is captured and I can also view it via the web.
I can preview incoming emails and texts and there is a "quick read" view that shows each word of a message in sequence on the screen. I can also create and send canned responses to calls and texts and even enter messages using a tiny keyboard (although this is bit fiddly).
Last night I took a quick look at the SDK and it looks easy to use. A program can get all the information from the band sensors into the phone including accelerometer, gyro, heart rate, skin temperature, UV levels and even skin resistance. And the app can push back tile designs and bind these to actions.
The Microsoft Band is not really a direct competitor to the Apple watch, but then again it is less than half the price. However, I think it does enough to make it worth considering. And it really does last all day.
Bye Bye Android - Hello Again Windows Phone
/Yesterday I waved bye bye to my Android phone and officially ended my experiment with the platform. One of the Android wear watches went with it (I've still got a Moto 360 if anyone is interested). The good news is that it went to a very happy recipient who I know will get a lot out of it. The better news is that I'm back on Windows Phone. I've learned quite a lot in the few months I've been using an Android phone and an Android Wear watch.
- It doesn't really matter that much which kind of phone you have. They all work well and they all do the fundamentals. When I moved to Android I had this vision of all the new and exciting apps that I could run now I had the most popular mobile platform. True, I did download a few of these and play with them a while. But then I went back to doing the same things I've always done, which my Lovely Lumia supported very well indeed.
- Android has some great bits (the way that you can bind actions to events is really, really nice) and some really clunky bits. For me the most irritating aspect of the design was the way that huge chunks of the screen were given over to things that didn't add any value and just took up space. And the mail and calendar applications seemed much more confusing and harder to use than their Windows Phone counterparts. The address book and phone user interface I found fiddly too. These comments only mean that I had these issues, they don't mean that you will of course.
- Having notifications on your wrist is very, very nice. You might get a bit tired of the email ones, but knowing that you aren't going to miss a phone call or a text is rather pleasing and occasionally really useful.
- The battery life of the current crop of Android wear devices is nowhere near good enough. Much as I loved the user experience and screen of the Moto 360 watch the fact that it conked out at around 5:00 pm made it pretty much useless. You can blame me for having the "ambient" mode turned on to force the screen to hang around longer, but I like using a watch as a watch I can look at and get the time instantly. When I'm giving lectures I like to glance at my watch to see how much time I've got left, with the Moto I couldn't do this (even in ambient mode it struggled), and with the Sony watch the screen was a bit hard to use in this situation. I should have had a look at the LG watch which has a lower power screen I suppose, but I really didn't like the styling of that one.
So, I'm now back on my Lovely Lumia 1520, running the Denim update and coupled to a Microsoft Band. The Band tells the time all the time and at the end of 18 hours of heavy use has around 60% of the battery left. Splendid.
Red Nose Day MonoGame Video Now Online - with Tutu Action
/"Because the world definitely needs a man dressed in a tutu explaining how to create video games....."
After a bit of time learning how to use Adobe Premiere again (I learn to use it every time I have to make a video - at six month intervals) I have now got the recording of the Red Nose Day lecture ready for the waiting world.
You can choose to regard it as either a "Poetic masterpiece combining rhyme and technical achievement in a single, flawless whole" or "Twenty minutes of my life I won't get back". Whatever.
But if you do get anything out of it, please throw some money my way by visiting here:
Three Thing Game Finals
/Hardy survivors...
We had our Three Thing Game competition over this weekend. Just in case I wasn't busy enough writing poetry and whatnot. Anyhoo, great fun was had. A team of stalwart judges, including developers from Smashed Crab Studios, went through the final 17 teams and found us 6 finalists. As is the way of the competition, we had each team present their game at the aptly named finalist presentations. And here they are in no particular order.
Team: "I hope my friends don't bail on me"
Team "I hope my Friends don't bail on me", AKA Jason Powney, showed off the mayhem he had created from "chainsaw", "penguin" and "water". "Penguin Chainsaw Massacre" had tons of bloodthirsty action, with underwater mine hazards and even a sunken wreck. A very polished production.
Team: //TODO
Team //TODO, aka Daniel Masterson, had started of with "ASCII art", "sanctuary" and "error" and built, to our amazement, a 3D rendered graphical game displayed in a console window using text graphics. Something of an awesome technical achievement we reckoned. And the game looked fun to play too.
TEAM: aNOTHER BAD IDEA
Team "Another Bad Idea", aka Robert Chisholm and Adam Thornes had crafted a very neat top down fighting game from "Toilet Plunger", "Small Mammals" and, not surprisingly, "fighting". The game had frantic one on one action as the players acted out the eternal struggle between fox and rabbit using toilet plunger weapons.
Team: You Will Lose
Team "You will Lose", aka Joseph Edwards and Tomasz Kope,c had turned up the particle generators to the max and produced an atmospheric game based on "square", "random" and "shooter". Some nice coloured effects and randomly generated play areas made for good looking gameplay.
Team: One Musketeer
Team "Four Musketeers" was down to one musketeer by Saturday lunchtime, but that didn't stop them producing a very neat four player shooter game from "Scrapper", "Wombat" and "Hull". The action was fast and smooth, with multiple weapons and you could even use the gun to jump. Can you spot how the thing "Hull" was used?
Team: Bad Computer Pun
Another technical tour-de-force from team "Bad Computer Pun, aka Nick Ross. We advise our students to use Three Thing Game as a place to test out hew game engines and Nick had certainly done that. Matlab is a serious mathematical package designed for serious mathematical stuff. Not for writing games. But the power of Three Thing Game compelled Nick to go against this and craft what is probably the first ever computer game written in Matlab. It is definitely the first ever Matlab game that involves "ostrich", "oasis" and "escape". And it looked pretty good too.
I didn't envy the judges their job as they went out to pick the winners. Thanks go to Warren Viant, Derek Wills, Lindsay West, Jon Purdy, David Parker and the Smashed Crab crew for giving up a Saturday afternoon to help out. Anyhoo, after much detailed discussion they come up with a first and second places, plus a technical achievement award.
First place went to "I hope my friends don't bail on me". The game was commended for the high quality of gameplay, completeness and the way it had stuck very well to the three things.
In second place we had"Another Bad Idea". Their game was singled out for the fun multi-player action and great looking graphics.
The award for Technical Achievement goes to //TODO. You just don't expect people to use shaders in ASCII art games. Awesome stuff.
I'm going to be chasing the teams for videos of their games and I'll update this post with more details when I get them.
Thanks to all the judges, to Lee Stott from Microsoft and Simon Jackson from MonoGame for dropping by and taking a look. And thanks to David Glover for making the Fenner Lab work so well and allowing us all in.
The next step for the teams is to get their game published. I'm going to be running some sessions about game publishing, keep an eye out for them.