Loading...
13
2 years ago

A simple Door example for beginner #Unity devs!


Door!

Yes, even a simple door can be tricky if you're just starting #gamedev!

So I created this example to see how much stuff you can learn by just having a door in your game.

Just the bare minimum: A door and buttons.

For this simple door, you'll encounter:

  • Communication between GameObjects

  • Collisions / Triggers

  • Quaternions

  • Lerp

  • Lists

  • Events

  • Interaction

  • Rigidbody

  • Player Controller

Also I've made sure to only use in-Unity stuff, no external assets.


Need a door? You can download the .unitypackage here:

https://github.com/oelsons/unity-examples/releases/tag/v1.0.1-Door


Also on twitter:

https://twitter.com/oelsons/status/1777845739944894636

Thanks to the meme that made me do this:

https://twitter.com/oelsons/status/1777845745271632254



1 comment

Loading...

Next up

Does your game need some door-kicking? Feel free to get this setup!

Short intro of us 💕✌️

We're an eletro duo based in Seoul 🇰🇷 Heavily influenced by the 90s.

Our new album #Xennials is all about the nostalgia of that era 💽 CD listenin 📟 beeper beepin 💾 floppy disks floppin days 😎

Stream now! 🎧

https://open.spotify.com/album/3YwWhnHWVy5cA8XOpbaGRA?si=8E9awqU…

Been working lately on lots of 'behind-the-scenes' boring stuff that no one really cares about, so here’s a guy playing the sax for some reason.

#screenshotsaturday

Shoobies leave a sticky trail of mucus in their wake, which can impede movement for any creature that steps in it.

I have added rewards for quests so that villagers can give you something in return for your hard work helping them. 🥳

I want to know - what's your favourite quest reward?

Protege el conocimiento, salva la historia. Guardian of Lore es un platformer 2D en el que debes luchar para mantener viva la memoria de la mitología latinoamericana. El juego llegará a Steam el 18 de mayo: https://steam.pm/app/1211740 #ScreenshotSaturday

Sometimes the suction cup get sticky. Small animation I made in Blender after doing my tutorial on picking up/dropping objects in animations. Crate model by jQueary (https://sketchfab.com/3d-models/game-ready-sci-fi-crate-d98deca6…).

Why walk when you can jump?

We're glad to announce that Baby Dino Adventures 🦖 is now available in Early Access here on GameJolt! Link: https://gamejolt.com/games/babydinoadventures/508121 Walk, run, and jump as a baby t-rex in this cute platformer Free demo available #IndieGame | #GameDev | #PixelArt

"Day to Day" (also check spud out here he's a great guy and writer: https://soundcloud.com/spudward)