Project CATFOOD. Day 8. Unity makes me flip out.
Today Unity (and my ignorance on it) made me flip out like no other day before.
Lights, Camera...Error!
So I was following this cool tutorial on Cinemachine for 2D made by Unity, happy because I found a way to restrict the movement of the camera, but by the time I finished the tutorial and hit play ... the main character went flying out of the center of the screen all the way up and stood on top of the collider I set up as a constraint for the camera.
It results I needed to check the isTrigger property of the new collider; the character's collider was being pushed. But no indication for that was given in the tutorial.
But that's not all
The other rookie mistake that made me pull my hair was using void onTriggerEnter(Collider) to detect if the player was taking an item... needless to say I had to use onTriggerEnter2D(Collider2D), because it is a 2D game...
Good news
Unity made available, for free, the Dark Theme for all its users; https://unity3d.com/es/unity/whats-new/2019.4.8
Until next time!
AISU!!!
Koni-chan loves ice cream. Go get it!
Status | Released |
Authors | Tottori, Anthony, juicybitsjames |
Genre | Action |
Tags | 2D, Cats, Cute, Dogs, Food, Pixel Art, Score Attack, Short, Singleplayer, Time Attack |
Languages | English |
More posts
- AISU!!! Fixing controls and bugsSep 07, 2020
- AISU!!! Koni can finally get some ice creamAug 31, 2020
- Project CATFOOD. Day 20. Off key.Aug 27, 2020
- Project CATFOOD. Day 18. UI fun day.Aug 24, 2020
- Project CATFOOD. Day 17. Koneko is born!Aug 23, 2020
- Project CATFOOD. Day...? Lost the count.Aug 21, 2020
- Project CATFOOD. Day 10&11. Busy working in other game!Aug 16, 2020
- Project CATFOOD. Day 9. 18 days to go.Aug 14, 2020
- Project CATFOOD. Day 7. All work and no play...Aug 12, 2020
Leave a comment
Log in with itch.io to leave a comment.