Friday, 4 April 2014

Planning: Choosing colouring technique


I have filled the table with a selection of various greys and have applied different techniques to see which of those would be best suited for my game.

The colours used here won't necessarily be the colours actually used, such as the blue tint or the grey table, but are used as an example.

They are the following.

Type Result Description
None

The outlines are still there, but colour fills will only be applied to the objects.
This technique could also work with black lines too.
Darker Lines

Here the lines would be a slightly darker than the fill inside. This would create a rather nice effect rather than the lines being a single colour.
No Lines
When removing the lines completely, it really accentuates the 3Dness of the room. I am unsure as to whether this would be a good thing for a Room Escape game.
Tint
Here, I have applied a blue tint of 50%. The purpose of the tint, especially when used on top of shades of grey, was to make everything look blue. Instead, the grey still looks grey and hasn't left an effect I would have liked.
Alpha
When applying an alpha to the greys of the table, it has left the coloured table with a result I am more happy with. The only problem with this is that it has left the contents behind the table visible.
So far, my favourite has been the "No Lines", this is because it helps to take the Flash cartoon away from a cartoony look leaving it looking much more professional. I would however imagine that by having no lines it can be hard in some situations be able to distinguish the difference between two items if they are the same colour and next to each other. To fix this, item colours would need to be made sure that they are of different colours.

Working Processes: Finishing the Cutscene - Adding more items and adjusting the line size

As I had not yet finished tracing the Google Sketchup screen capture I made, I thought it would be best to first finish this before I proceed to adding more code/camera angles/colours.

I first finished off the coat hanger by adding its branches, drew the monitor, lamp and paper.

I then changed the line thickness from 2 to 1. It was originally set to 2 so that the lines would be clearer and more noticeable to see when tracing around my panoramic crafted picture.



I noticed that due to the way I had laid out the pictures on top of each other to make a panoramic view, the prospective was not perfect, which left the picture frames looking too straight when compared to the angles of the walls. With this, I selected all the picture frames and used the disort tool, dragging the corners on the left higher. I also applied this method to the door which seemed too straight.

I proceeded to extend the lines of the door and coat hanger to further down the bottom so that the bottom lines were all level with each other. I then traced around the vending machine on the right to complete the look. All that is left now is to colour it in.

Before


After


When looking at the after, I feel as though this definitely looks better than the before. This is mainly due to the line thickness as more detail is shown. Something of which is noticeable is that the top of the picture frames are still not parallel to the wall. I made sure that this wasn't the case because as the wall goes down, the less angled it becomes.

Wednesday, 2 April 2014

Working Processes: Creating the Game - Scripting the panning

Thanks to the feedback I received from Daniel today, I got to work creating the panning feature users would use to move through my piece.

I ended up creating the following script:

stage.addEventListener(Event.ENTER_FRAME, mousePlacementX);
function mousePlacementX(event:Event) {
    if (mouseX <50) {
        if (roomView.x<=110) {
            moveLeft();
        }
    } else if (mouseX >950) {
        if (roomView.x>=-600.25) {
            moveRight();
        }
    }
}

function moveLeft():void {
    roomView.x+=20;
    trace(roomView.x);
    if(alertArrow2.visible){
        alertArrow2.visible=false;
    }
}
function moveRight():void {
    roomView.x-=20;
    trace(roomView.x);
    if(alertArrow.visible){
        alertArrow.visible=false;
    }
}

When creating the script, I found it was best to add traces in. This way I would be able to tell and in turn script the exact number I would like the movieclip to stop moving left or right.

I am very pleased with the result of this script.

Supervisor Tutorial 7: Cutscenes, Panning, and blogs

As requested, I showed Daniel the Flash cutscene that I created.

Daniel was pleased with the result.
He did however state that if I had coloured in the piece, it would have given him a better idea on the appearance of the final product.

During out tutorial, I spoke to Daniel about the navigation idea I had prior to this tutorial. Since I had not done this type of thing before, I asked Daniel what he thought the best way to go about this would be.

He stated that it would be best to steer clear of button rollovers, to register if the mouse is near either side, as they would interfere with the buttons on stage. Daniel suggested that I instead use a script to read where the X-Axis of the mouse is.

With this, Daniel noted that I would not be able to move the stage and should instead put all the items of the room in a movieclip which will be moved instead.

I thought that these were brilliant ideas and I could not wait to get started!

I then showed Daniel my blog, he looked though them and said they were a good size and held good information but it would be a good idea to add more pictures to help me look nicer and illustrate my points better.

Before I left, Daniel handed me a piece of paper giving me a rough idea on how I would script the panning.
The note was as follows:

if (movieclip>100){
   if (mouseX>30){
      movieclip=+5;
   }
}else if (movieclip<-300){
   if(mouseX<-30)
     movieclip=-5;

Sunday, 30 March 2014

Planning: Navigation around room

Since I had already created the panoramic view of the room for the cutscene, I believe it would be a great idea if I was to use this as a way for the user to navigate around the room.

My idea is that if a user was to move their mouse to the left, they would view what is on their left.
Similarly if a user was to move their mouse right, they would view what was on their right.

In order to accomplish this, I would need to create a script that would either move the stage left or move an entire movieclip right - thus revealing what's on the left of the movieclip.

I will speak to Daniel, my supervisor, about this and see what he thinks the best way to go about this would be.

Wednesday, 26 March 2014

Supervisor Tutorial 6: Inventory Scripting / Timers /Ethics Update.

I showed Daniel the scripts I made on how I would get the inventory to work.

I said to Daniel that the only problem this scripting would be that if the inventory was full, and an item was removed (to be used), there would be a gap in the inventory with items either side. Although this would not be game breaking, it would be more preferable if the items on the right shifted one to the left to fill the gap.

This would be possible, but it would involve a lot of extra scripting such checking whether the inventory space is full, checking what item is in that inventory space and making the inventory space after shift over to the left.

Daniel stated that he was please with what I had done so far and the problem wasn't a very big one. He also suggest that I could possible have it so that the inventory only appears once an item has been picked up and otherwise it is to be hidden.

This would be a very good idea, as it would otherwise get in the way whilst the user is playing the game.

I also mentioned an idea I had, in having a timer which would run at the top of the game to state how long it has taken to complete the game. Users would then be able to submit their time on a leaderboard. Daniel stated that this, although could work, would give the game an entirely different experience and make them feel pressured to do it faster. As this is the case, I will most likely not be adding a timer into my game.

In regards to the ethics clearance for user testing , both supervisor and lecturer has heard nothing back. If it turns out that we do not hear anything regarding being able to user test my game during the working processes, I will not be able to proceed. As Ian stated, this is something that isn't under my control and it is not my fault.

Daniel and I have also decided that due to this it would be best to steer clear of a voice actor and that I will be doing the voice acting myself.

Tuesday, 25 March 2014

Planning: Game Advertisements and leaderboards

As originally planned, I was going to be going through the processes Flash game developers would go through. Monetising their work with adverts so that they would make money off of  their work when uploaded onto gaming websites. This would have been done through a website I've used a lot before Mochimedia. I have used this service for adding leaderboards to my Flash games in the past.

Today I received an email from Mochimedia stating that they will be closing down on the 31st of March so this means I will not be able to use their service for my game.

Instead, I will be using Newgrounds in order to do this. I also plan on having a leaderboard in my game. The leaderboard will revolve around a timer and users will be able to submit their score on how fast they have completed my game. I will let my supervisor Daniel know about this and see what his feedback will be.