Skip to main content

OneTwoThree Number Game







This is a game we got tasked to make called OneTwoThree in which the player will have to add up only using the numbers 1,2,3 to get to 30. So this is to show my improvements throughout making the game so all the times I had to change my code is being shown here.




























So this first screenshot shows the first part of the code which is just allocating the number 1 key the number 1 to add up to the end amount. This part of the code helps a lot because it helps in creating the other two inputs for the game.



These two screenshots show that I managed in code in the next to input keys for the numbers 2 and 3. There are only three inputs for the game however the code still needs more to be added to it before I can get the game working.

This last screenshot of the code shows the full code that I managed to get finished earlier. The parts I have added was the timer code which will just time how long it takes you to get to the target amount in the game. As well as that I also added the "You win" and "You lose" parts of the game in the code to show up if the player goes over the target amount.


This very last screenshot shows that I have just played the game and got to the target amount without going over the sub targets. The game itself does only show up in the console as I am still wondering how I can make it show up on the screen but as you can see the timer works correctly and all the inputs towards the game work perfectly fine.

My opinion on the game is that it was quite fun to make and it has helped me alot in learning some new pieces of code. However simple the game may look the code was still very interesting to learn and put together.

Comments

Popular posts from this blog

Model [Doomhammer Model]

So today we decided to do some more 3d modeling. The models could be of anything we like of any genre so I decided that because I have played World of Warcraft in the past and it is a game I enjoy I decided to model one of the weapons in the game. The weapon i chose was Doomhammer which happens to be very nice model and has some nice detail in the model. The picture I chose to help: As you can tell the model looks quite difficult however a lot of the detail in the model can just be done with texturing the only part I could worry about or just not have on the model is the cloth above the hilt that sticks out but we shall see what happens when it comes to me texturing the model. My model so far: The shape of my model is looking very similar to what the original looks like and I am enjoying making the model as this is definitely developing my skills in 3ds max as well as texturing. I will be updating this post with every time the model is updated.

Personal SWOT Analysis

SWOT Analysis A SWOT analysis is used to identify peoples Strengths, Weaknesses, Opportunities and Threats. Strengths: Knowledge of Industry software (3DS Max, Maya) I have a very creative mind for creating new things I am very punctual in my timekeeping Weaknesses: Can be distracted I never really seem to push myself when it is necessary I take way too planning than doing the work Opportunities: I am part of the NextGen course which helps me learn the ways of the industry that I am wanting to be a part of We often get people from the industry coming into our class to talk to us about our work and how we can improve it and giving us information about how to get started in the industry. My work can be looked at by people from the industry which in the end are looking for people to give jobs to. I have access to numerous industry programs such as 3DS Max, Unreal Engine and Unity allowing me to get a taste of what there is in the industry. Threats:  ...

First Attempt at Modeling Characters in Maya

Day 1 - Maya Character Modeling  So today I had my first attempts at modeling a character from reference images alone which for my reference images they are from an artist known as Josh Addessi and the image is his Golem Keeper. I chose this reference as it seemed like an interesting way to start off modeling characters as a lot of the shapes are still quite cube like with the golem being made of rock and it having a lot of sharp edges on it. I believe I did okay just starting I seemed to start off strong and got a hang of until I came up to the shoulders however the tutorials that Matt gave us helped a lot in that respective area as he showed us a nice and easy way to do it by using an edge loop. I made some mistakes in my character as there was a point when I went to mirror one side of the golem it had six faces on top of each other which I did fix just by deleting any extra faces that were on there. The only part I have to do next is to model the basic shape for the head as Ma...