Posts

BSA227 | Final thoughts + My experience as director

Image
I am very happy with the final result, I think we all did a very good job and Rebekka's editing put everything together really nicely. There are still some details that we would have wanted to change and improve, like the lighting changes and I had a lot of problems with the transmission and the shadow intensity, because even if I adapted the shadow colour in Maya, it would appear very black and dark in After Effects. I was assigned as the director since the beginning of the project and I really liked that everyone was open to criticism and was willing to correct or change stuff if needed. Then the only thing I had to do is give the "ok, this is cool, looks nice", so it was pretty easy. Also I tried to organize everything the best and most practical way, so I created a document in Google Drive for post production  notes where everyone had access.

BSA227 | Sound

SFX I borrowed the Zoom and went to the park to record some ambient tracks and sound effects. I thought it would be tricky to record them alone but it went pretty okay. It was very windy though, so the sounds didn't turn out perfect. I recorded several types of steps (on grass, on dirt, on ground, on leaves...) and SFX for the falling apple and kicking can. Sometimes I had to stop and wait because of the train coming behind the park. For othe SFX like the spaceship and the scanner, Glenn found some good sounds. SOUNDTRACK I wanted something cheerful but not too upbeat, even a bit calm and sweet but not boring or romantic. I really like this website ( www.soundimage.org ) for ambience or background musics, since is royalty free (as long as we credit the creator, but we did in the credits). But in the end we chose some acoustic guitar tracks from the SIT Music Library. And for the "saving seed" moment I found a cool "hero" music which fits good and...

BSA227 | Rendering problems

Image
WATERMARKS (yes, again) In the first renders I got some watermarks back in 2-3 frames and when I rendered them again I always got watermarks back. So I rendered those frames with Batch Render and then it was fine, but it was a bit annoying. Luckily it only happened with that scene. TRANSPARENCY ISSUE Apparently you can't render the Transmission (for the glass helmet) so that you can see any background through the glass. You only see the reflection (which saves it a little bit) but the rest looks black, sometimes even matte. I played around a lot but I don't think it's doable unless you have the actual footage in Maya and put a Shadow Matte floor behind the glass which renders whatever background the scene has. But I couldn't load any footage in Maya, I always had to take screenshots and use the, as a background. So for some scenes I changed the Transmission under Visibility of the HDR Skydome so that is not completely dark. The problem is, some scen...

BSA227 | How to only render the character (Alpha channel)

Image
First set the Camera under Visibility in the Skydome (HDR) attributes to 0. If there are shadows that need to be render, create a surface which will cast the shadows and add a Shadow Matte material. This will only render the shadows. Then when everything is done and ready to render, make sure to delete the Camera plane so it does not appear in the final render.

Gaming Art | Final thoughts and changes in development along the way

I am pretty happy with my game and it was a lot of fun. Specially because we had a lot of freedom regarding idea, development, design... etc, which wasn't the case the last time I built a game for an assignment. So what is different to the initial proposal? I left the black holes out. I tried creating them first with particles (I found a great tutorial for it but it was for Unity 2018) and I couldn't quite figure out how to model and animate it to make it low poly and good looking with the rest of the game. And the level is pretty long anyway, so I think it's best. Also I got rid of the Shop (for the moment) because I don't know how to save the points between scenes so that the player can use them to purchase better weapons or assets. Is the same problem with my character's name . I wanted the player to name it, but the name wouldn't be saved for the level scene, only the Main Menu. After some people played my game and I got some feedback I changed t...

Gaming Art | Sound

Image
The final step was adding sound to the game. I found a very good video that implements an Audio Manager which controls almost all sounds with just one object and it is very handy. [ Video here ]. This way I didn't need to create an Audio source or Audio clips as components or variables everywhere. For the rest of sounds that don't need coding, aka the are played on awake when they're instantiated like the laser shots,  I added an Audio Source like normal. I specially love the "Game over" sound and the "Level completed" sound ;) I had a problem at some point when I wanted to play a clip inside the Update(), because it would restart playing over and over again, like stuck. These were mainly for sounds that I wanted to appear with Panels, so at the end I added an Audio Source to the Panel and it works fine. This part was a lot of fun! Sound definitely makes the gaming experience better. Useful links (where I found the music and SFX): Soundim...

Gaming Art | Final boss + Fireworks!

Image
For the boss fight I wanted the boss to enter the screen, stop going towards the player, make the intro animation and then start the fighting. Well this was a ride. After entering the screen she collides with an area that should make her stop and only move up and down but it wasn't working at all. After much testing, I added two different scripts, one to the Empty object parent that moves towards the player and the other one with all the boss coding. And it worked! All the animations too, the animator looks like this: Then the boss starts shooting. I made the laser way bigger and bright red, I linked a tutorial at the end of the post. Also I added a Slider as the boss' health that decreases when it gets hit. I made the boss pretty easy (health 10 and damage is -1, so you only have to hit her 10 times). Also during the boss fight oxygen cans are being spawned every 5 seconds just in case the player needs oxygen to not die! When the boss is defeated it spawns a lo...

Gaming Art | Creating the HUD: Lives, Oxygen bar + Main Menu + Game Over panel

Image
The main menu looks like this: I haven't implemented the shop yet, and I hope I have enough time to do it! The HUD has three lives, an oxygen bar that decreases gradually and points you can earn by collecting astronaut food.  I had some problems with the bar at first because I had declared two floats in the same line like this: public float currentOx, maxOx = 100; and I thought you can initialize both variables at the same time with the same value, but no, you have to assign a value to both of them independently. And finally I implemented a Game Over panel with two buttons to Try Again or to Exit the game to the Main Menu. This just appears if the player dies. Also the objects stop moving to the left  in the background and the user can't move the player anymore. Useful links: Player Health UI   Player Health System Health bar

Gaming Art | Collectables + Coordinates problem in Unity

Image
I had to create the collectables from scratch because I cannot find the Maya file where I put them. But they're very easy so it didn't took that long. The texture of the astronaut food and the label of the oxygen can I made in Photoshop with the UV Map export.  I also made an Idle animation. But it doesn't work in Unity and I don't know why. It looks like the coordinates have been wrongly imported to Unity (?) because the Z and X axis are switched. Also, when I load the idle animation, exactly like I did with every other element, when I press play the objects are placed in the origin, it doesn;t matter if I placed them somewhere else or if they have code attached. 

Gaming Art - Week 14 | Building in hazards + Comet animation

Image
This week I added asteroid waves and a comet. I made this idle animation for the comet: While the player, background and camera are static, all the hazards come towards the player with a simple line of code. I also implemented a Sine and Cosine movement I learned from this tutorial . Then I added asteroids that move up and down, but with the movement along the Z-Axis the movement is more diagonal, but it still works. I had some problems with the code but I posted my question in Stack Overflow. It's a forum where people post questions about coding (it can be anything IT related really) and someone helped me out and now it's working fine! Useful links: Sinusodial movement in Unity   Lerp function

Gaming Art - Week 12 | Particle systems

Image
I added emissions to the astronaut and comet to recreate fire. I was inspired by this tutorial [ Low Poly fire particle system ] to make it look low poly so the style stays consistent.

BSA227 - Week 13 | Rigging Arl + Tips I've learned

The rigging was a bit tricky and I had to do it a couple of times from scratch. After creating the skeleton I rigged everything and the weight painting was obviously a nightmare, because the suit is not supposed to bend. Also it was very frustrating because my character has a lot of different layers and e.g. if I wanted to paint the head I could not because of the glass, even if this one was hidden. Plus I would paint on the glass, I had to zoom in a lot to paint the head and that was just very uncomfortable and discouraging. So, how did I fix this? Make the bones visible Well first of all, I could not remember how to make the bones visible from every angle when you're creating the rig and is very simple, I found it here [ Xray joints ]. Only rig what bends So instead of rigging everything, I took the suit and the helmet out of the Arl group and parented to the spine bone. So much easierrrrr to weight paint. I left the sleeves because they have a rubbery material and I wan...

BSA227 - Week 13 | Eye colour tests with Arl + Eye controller

Image
When texturing the glass bubble it was all black at first and I didn't understand why it wasn't working because the Transmission was 1.0. But I found this information online, it was only the Opaque option. Glass/transparent material in Maya I used the eye color maker from the resources to make some options. These were some: In the original concept art Arl has black eyes but it didn't have the same effect in 3D, I think it looks more creepy than cute. I think I like the dark brown ones and they look still pretty dark from the distance. I made eye controls following this tutorial (it's in other language but it's very easy to follow).

BSA227 - Update | Filming + Model + Problems with Mudbox

Image
FILMING We booked a day to film in the Otepuni gardens. The paperwork for the permission was a bit difficult to do but I was glad that it worked out and we did not have to pay any fees like we thought. The filming went good, we had some trouble at first with the camera settings but Rebekka could manage. Unfortunately, we did not have enough time to film everything we wanted, we still have to shoot the scene with the can and the Arl leaving. MODEL + MUDBOX NIGHTMARE For the past weeks I've been modelling Arl and has taken more time than I thought. I also added materials, I changed the colour palette slightly adding copper accents. I was very "worried" about the head, that's why I left last but it wasn't that bad! I had to start again twice but it was worth it because now I have a better understanding of head topology. I highly recommend having references open, I was comparing and analyzing them all the time. The fact that there's no nose also helped....

Gaming Art - Week 11 | Slowly putting the game together in Unity + First problems

Image
Well, my goal for this week was way more than I actually achieved because when I imported the astronaut, the materials and lighting looked very bad and weird. I did not know exactly why. I changed the hard edges, the shading, the material attributes, I changed options and attributes in Unity and made lots and lots of tests, as you can see in the fotos below. It was very frustrating. But in the end I manage to fix it to a decent result (the last astronaut on the right). So what I did in Maya: I applied soft edges in a 40 degree angle ( Mesh display > Soften/Harden edges ), I activated the Smooth shading and deleted the non-deformer history . And this seemed to work. I also added a particle system to make it seem like the astronaut is being propelled, I still have to play a bit more around with that. Useful links: -  Changing camera projection to ortho  -  Particle Systems

BSA227 - Week 9 | Nuke: Green Screen

Image
Import all the files with Read nodes.  Add a Keylight node and on the right side click the color pipe and select the green screen. Change the view to Screen Matte to see the result in grayscale values. This way is easier to control the amount of green without altering the character too much. Add a Roto node and mask the character. Merge the mask and the background with a Merge node. Change the View to Final Result . The background is too big for the screen format. To fix this add a Reformat node. Lastly, I corrected the colour of the character to make her fit better in the background's lighting.

Gaming Art - Week 10 | Animations

Image
These are the animations I made for the characters so far. I typed down the frames so that I know where to cut the loop in Unity.  1-20 Shoot 30-55 Hit 55 - 155 Dead 160-190 Idle Ufo rotating Queen of the ufos opening scene (spikes)