itch.io is community of indie game creators and players

Devlogs

Devlog Week 4 - Unity Project & Scripting

The first obstacles that player will face is the locked door. She need to transform/change to it's shadow form because he can pass anything when on shadow form. She need to get the key that not far from the locked door. After the shadow get the key, then the door is automatically disappeared, and the real form can continue her journey. After locked door, the next obstacles is for shadow form. The shadow can't surpass the light ray area. So she need her real form to turn off the lamp key and the real world. so the lamp on the shadow world can disappeared also and the shadow can continue her journey too. 

In this week we also already create the movement, jump, switching character (shadow --> real and vice versa ), and when colliding with the obstacles script. I will also add the script details in this devlog post. We also already create the death and respawn script, but it's still bug and only apply to the real form, not the shadow form also. We will continue to develop this respawn script so the death and respawn will apply on both real and shadow form.

Files

  • trigger1.cs 612 bytes
    Oct 22, 2017
  • Switchplayer.cs 937 bytes
    Oct 22, 2017
  • PlayerController2.cs 1.4 kB
    Oct 22, 2017
  • PlayerController.cs 1.5 kB
    Oct 22, 2017
  • LevelManager.cs 660 bytes
    Oct 22, 2017
  • KillPlayer.cs 474 bytes
    Oct 22, 2017
  • Checkpoint.cs 245 bytes
    Oct 22, 2017
  • Unity 2017-10-22 22-56-51-67.mp4 1,010 kB
    Oct 22, 2017
Download Cursed Castle : Princess and Shadow
Leave a comment