Monday 28 September 2015

Update 2015-09-28, The base is laid for the cooking mechanics, and new version released!

Here you can see the cooking screen...

Check out the new version at This Link and don't forget to check out the instructions!

This last week or so since the last post has seen the introduction of a fairly large chunk of the mechanic of the game being implemented: the cooking.

It's not finished yet - not by any stretch of the imagination - but the bare bones of the system are in place, and the principles by which the system can be extended have been established.

In fact, quite a few exciting discoveries, for me at least, have emerged from these last few days' work. The use of raycasters for one, as well as a modification of the code that I learned from Pidi to implement the inventories.


The idea is that you should be able to refer to a recipe card like the one pictured here to do the cooking - this is the card which comes up as you enter the cooking scene in the kitchen area - and by following the instructions you can create the dish on the card.

Let's ignore for a moment the fact that in even the darkest imaginings of hell there is no way that salmon ngiri could ever form part of a bacon and eggs based breakfast and concentrate on the good aspects of this achievement.

Each of the text fields is now completed by sections of the Recipe code that is linked to the card - change the recipe and the text, along with the icons, will change.


The next stage will be to include an easy way to change between recipes on this screen as well as the usual cosmetic jiggery pokery that needs attending to.

Here is the kitchen area closer up...

The numbered items, each of which can be clicked on (though not necessarily to any effect,,,) are as follows:

1) Knife Set

2) Chopping Board

3) Cruet

4) Plate

5) Frying Pan

6) Pot

The plan here is that ingredient items are moved from the inventory (either quickbar or kitchen inventory) onto the chopping board.

The food is then either prepared in situ (so far only chopped with the knife, with the cruet as a placeholder for seasoning) and from there moved either into the Pot or Frying Pan (6 or 5), or oven and microwave (to be added soon).

Finally once each item is prepared we want the ingredients to be able to be placed on the plate, from which point they will be merged into the final dish.


What in fact we have is a situation in which food can be moved onto the chopping board and moved around before being either lost or returned to the chopping board if put down anywhere, and destroyed entirely if anything else is moved onto an occupied board.

Nevertheless the broad strokes of the ideas are in place, and from here it is a case of tidying up the mechanics of it and making it look a whole lot prettier.

As I say, work in progress. 

No comments:

Post a Comment