martin@martinburdon.co.uk

martin@martinburdon.co.uk


Warning: Illegal string offset 'output_key' in /home/mtb/public_html/wp-includes/nav-menu.php on line 601

Warning: Illegal string offset 'output_key' in /home/mtb/public_html/wp-includes/nav-menu.php on line 601

Warning: Illegal string offset 'output_key' in /home/mtb/public_html/wp-includes/nav-menu.php on line 601
Back to the Blog

First bits of functionality

I developed my first bits of what will be the games functionality today.

Using custom buttons for the facial expressions, when clicked the RestorationIdentifier is used to find out what was selected, this is then stored within a property and the face area becmoes active depending on whether it was eyes or a mouth that was selected.

The user can then select the area on the face (a secret button with no image/background) and the eyes or mouth will be displayed by un-hiding the relevant image.

Need to try and shrink the code down a little or find an alternative to the if… else if statement currently being used to find out what to display on the face.

Written by mtburdon

Be the first to comment!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

>