Project Tiny C# SNAKE | Part 5 | Creating and updating UI
HTML-код
- Опубликовано: 3 июл 2024
- In this video we will be making the UI for our snake game and updating the text on the UI to display our current score.
Iv also recently created a discord for unity and unity tiny related topics:
/ discord
● Part 1: bit.ly/32at8d2
● Part 2: bit.ly/2XtSzrz
● Part 3: bit.ly/2xKPF2p
● Part 4: bit.ly/2LHnrOM
● Set up Project Tiny with Visual Studios: bit.ly/2xj7gy0
********************************************************************
♥ Subscribe: bit.ly/2FRWgOi
● Facebook: bit.ly/2DhBC6I
● Twitter: / indie_unleashed
● Support me with Brave: brave.com/cod828
********************************************************************
● Make a Grid with a 1 dimensional array: bit.ly/2sRTpfL
● Climbing System Show off: bit.ly/2FPurq1
********************************************************************
● Project Tiny Documentation: bit.ly/2B5DRJQ
The text didn't show up for me at first and it took quite awhile to discover it was because Text2DRenderer's field was null. I had to manually set it, although that seems to happen automatically for you when you added the LayerSorting Component.
Could be a bug, i cant remember if it set automatically or if it got cut out in an edit
Love your videos, keep up the good work. Quick question, using Project Tiny DOTS version with C#, how do you export the game to HMTL5? I can see you can choose Wasm or AsmJS, but for Google Play and Facebook, the ads need to be a single HTML file.
Hard to say, i havent tried doing it in the C# version of Tiny