Plan for Next Week:
- Finish coding unit spawning
- Code resource gathering
|
Despite this week being short since Spring Break starts tomorrow, and with the fact that the class I am in made me have to move computers since other students needed the one I typically worked at, I was able to get through a good chunk of my coding for the player being able to spawn a unit from a building. The extent to which I got my code done involves being able to add any prefab object to a list of game objects if want to add more buildings or units to my game, and I was able to set up a test building and unit where if the player selects the building, any units that are able to be made in the building can be selected, however you can't spawn them quite yet. If I had another day, I might have gotten to the point where I can spawn a unit from the building. Regardless, I wont be working on the project next week since I will be out for Spring Break. After that week though, I will be right back on track to work on this project again in which I hope to finish coding unit spawning and start the coding for harvesting resources.
Plan for Next Week:
0 Comments
This blog post will be a bit early since I will be out of commission on Friday due to me getting my wisdom teeth removed tomorrow. Regardless of this fact, I got some more coding done this week. I was able to code unit movement, but when I started to code the player resources into the game, I messed up the unit movement as well, so sadly I wont be able to show anything until next week. When I check Unity, there is an error relating back to my Dictionary variables in my code, so I am going to have to do some debugging. I will hopefully correct whatever is messing up my code next week on top of making it so that buildings can spawn in units. This will be a pretty big step towards making my game playable since making units is one of the most important things when playing an RTS. If I have the time after coding that, I should be able to work on allowing the player to harvest resources so that they can then use those to purchase units which is also another big step towards making my game playable.
Plan for Next Week:
Just to be clear, this is my opinion, take it with a grain of salt. On March 8, 2018, Trump gathered head executives from the game industry, parent groups, and members from Congress for a meeting about violence in video games. This meeting was created in response to the Parkland shooting in Florida a little while back. From what I have looked at online, this meeting was very unproductive and had nothing to do with actually changing any laws. At the meeting, Trump showed a clip that was roughly a minute and thirty seconds long that displayed out of context clips of violence in video games. This is silly and doesn't make for a good argument. All this clip does is demonstrate that certain video games do indeed have acts of violence portrayed in them. If there was some evidence depicting that video games that have violence of some kind in them have a correlation with people committing acts of violence in the real world, there may have been some worth to bringing up this argument again. However, there wasn't any substantial evidence brought up in the meeting, so it didn't do much. I find it kind of funny that video games are being made to look like they have a correlation related to gun violence in the real world once again. Anyway, that is my opinion on the matter.
As the title suggests, the last quarter of the year is coming up and the year is starting to wind down. I am pretty happy with what have done this quarter. I have successfully started to code my game, and I have implemented many key features to it already. The whole process of learning how to code has been an interesting one. I am always so happy to find a new way to code the same thing but with better efficiency so that the game runs smoother, or when I figure out how to code something new like movement, a working HUD, a combat system, etc. Although I have coded quite a lot of my game, I still have a good chunk of coding that I need to get done in order for my game to actually be played and considered a game. I am hoping that I have enough time to get everything coded in time for the presentation of my work at the end of the year. If I don't get everything done by that point, I will still be proud of what I decided to make this year since this will be my very first attempt at making a video game, and I never expected it to be any good. I am looking forward to the last quarter of the year, and I hope that it is as productive as the rest of the year.
I was able to get a good amount of work done this week regardless of missing a couple of days of school as well as a shorter school day on Tuesday. I got the framework for my cursor created within the code of my game so that the cursor will switch between a select cursor when the player isn't hovering over the HUD to the default mouse cursor when the player does hover over the HUD. I also made it so that the cursor changes into an arrow pointing in the direction of the movement of the camera whenever the player moves the cursor towards the edges of the screen. I can't change the cursor to anything else yet since I haven't coded a way to attack another unit or building, or a way to harvest something. I plan on implementing a better way of moving units next week so that I can then make the cursor change into a cursor that is animated and shows that you have moved a unit. If I have more time after I code movement, I plan on setting up the player resources and a way for the player to create units from buildings.
Plan for Next Week:
This week was very productive since I got a lot of coding done for my game. I was successfully able to create a method of selecting both buildings and units which involves the player simply left clicking the unit or building to select it or right clicking anywhere to deselect the unit or building. Along with this, I made it so that the HUD will display the name of the unit or building the player selects on the right hand side, and I made a selection box wrap around the unit or building the player selects so that the player knows what they have selected. All of this can be seen in the picture that I placed on this post that uses some placeholder models that I made using Unity's game objects. I haven't gotten to making it possible for the player to select multiple units at the same time yet, nor have I gotten to the point of allowing the player to control the units and buildings to do stuff. I plan on making a cursor that changes as you scroll over different object in the game as well as setting up the unit movement and resources next week. Side note, I got a lot of coding help from reading over this blog here: stormtek.geek.nz/. This blog has been very helpful when I have had any issues in figuring out what to code next or how to code something. I am learning a lot from this blog, and I thought I should give some credit where credit is due since I am using some assets that are on his blog in my game which may or may not be replaced later on.
Plan for Next Week:
Sorry for the late blog post, forgot to write one yesterday. This week I decided to clean up the script for my camera controls and add a feature that allows the player to rotate the camera by holding down the alt key and the right mouse button while dragging the mouse in the direction that the player wants to rotate the camera towards. This was a bit challenging since the I messed up the code a few times trying to change it, but luckily it worked out in the end. After I did that, I learned how to set up the basics for the GUI of my game. I didn't do much with the script yet, all I did so far was set up the backbone of it so that I can add to it quicker and easier. On top of setting up the script, I made the script draw two different rectangles in to see if I set everything up correctly. I hope to have the buildings in my game set up so that I can select them and hopefully give them orders next week. I didn't have time at school to grab anything visual to show on this post, but I will definitely make sure to put something on the next one.
Plan for Next Week:
|
AuthorMy name is Timothy Czerniejewski and this is my blog for my Game Art Design interests. Archives
May 2018
Categories
All
|