Making a level

I have been working on the main “Demo” level which will be playable for the presentation and hopefully the project expo.

Right now I have been using various assets for Unity to create the level, as I don’t have time to create every individual model. If I have time I will try create a few models.

In the level you start off outside, and you can see a large castle in the distance. A cave is ahead of you, so you decide to venture inside.

This will eventually lead into the lower levels of the castle where there will be traps and some spooky stuff, hopefully a very basic enemy if I can get it working in time. I basically want the player to enter the cave one side and come out another end which will be the end of the level.

Right now I am making good progress and have a cave, I’m just working on populating the cave with things to make it more interesting, and possible adding in a few puzzles. Next update to the blog I will try add in some pictures.

Advertisements

Bugs n’ Stuff

So I finally showed my game off to some friends. They seemed to really enjoy it and had a lot of fun, and it was great to see somebody else play it. One of my friends took a real QA tester approach to it. He tried to break the game as hard as he could, and he succeeded quite a bit. Ended up with quite a few bugs that will need to be fixed.

  • Shooting an object with Physics spell and re catching it, then releasing it, causes the object to drop super fast, likely caused by object having same acceleration value as when it was originally falling.
  • Sometimes catching an object with the physics spell causes it to not release, although the release sound plays. Could be to do rotation of the object when caught
  • When FireballDestroy is instantiated, sometimes multiple objects will be created
  • Flame-thrower follows wand 1:1, needs to trail
  • When you have died, you can exit the death screen by entering slow motion
  • Positional tracking is not fully 1:1, needs to be adjusted
  • Ability to get outside of the map by walking up slopes
  • Walking up a ramp/mountain that is steep and turning causes you to fly miles away
  • Light power up has no sound
  • Hand clipping into users face, needs to have position adjusted

Will be working on these over the week

Oculus And Positional Tracking

I got this working only yesterday. There is still a lot of changes to be made to it but right now it is fully functional. I read quite a bit about other implementations of positional tracking for Oculus games, and it seems it is as simple as attached the Sixense prefab to the camera in game. However some changes had to be made to how the game calculates the height between the floor and the base station so that the player can crouch effectively. Just attaching the prefab led to the player being able to crouch under the game world and go through walls, so by making some changes, this is far less likely to happen.

I want to make some more changes so it is easier to crouch lower and also have the hand and wand start a bit further from the player, as I think it clips into the players collision box a bit too easy with how close it is now. Here is a GIF of me peaking around a tree:

 

Tree Peak

And finally a GIF of me crouching and looking into a well.

Croutching

So now that this is working, along with all of the spells, I have pretty much a complete working project. All that is left to do is to make some tutorial levels and then one larger main level which takes advantage of the spells you have. I have a few ideas of cool ways to incorporate the spells in game and can’t wait to start designing the levels.

 

Push Spell

A bit late on this update. Better late than never I guess.

The physics spell has been finished 100% now. The push spell does what it says, pushes objects that have rigidbodies attached to them.
Here is a GIF of it in action:

 

Push Spell

Going to be updating the blog a bit today with the different things I have been working on, including the health system and Oculus support. The slow motion spell is also very cool.

Light spell refinement

Finally finished college and all my assignments. Haven’t had time to touch the project until today.

Worked on some refinement for the light spell, slowly working my way through each spell. The light spell is pretty much finished now, all I need to do is make some  additions to particle effects and add in destroy animation for the light pulse.

Basically I added in a timer for the spell. When you hold the trigger down, you have 10 seconds of light. If you run out of time or stop pressing the trigger, after 1 second, a slow recharge will happen, and will eventually give you another 10 seconds of light. It is possible to add on more time to the light by finding small floating power ups in the level.

A feature I was going to include was making it so that holding down the trigger fully used more power, but I’m not sure if I will implement it. I will have to see how the spell works in a real level scenario and then decide.

Other than that I added in an “Unable to use spell” sound effect. I have the push spell working from a few weeks ago and will make a new blog post showing a gif of that in action tomorrow hopefully.