Remaking the ON/OFF SWITCH in Unity - Mario Maker Deconstructed #1

  Рет қаралды 33,236

PolyMars

PolyMars

Күн бұрын

Пікірлер: 36
@Shony338
@Shony338 5 жыл бұрын
This is so good an educational for someone like me who's only starting! Looking forward to more!
@Pedro_Marangon
@Pedro_Marangon 4 жыл бұрын
I would really like if you continue this series, there's so much features from Mario Maker that you could look at! (Like seesaws, claw, pipes, etc.)
@ZeynoArts
@ZeynoArts 4 жыл бұрын
These are really cool, I especially that you break down what you are going to do before you dive into the coding which helps me a lot as a new developer, please keep doing more of these
@Dasky14
@Dasky14 5 жыл бұрын
Good video, but I have a bit of feedback: Your mic is clipping, and it's really hard on my ears personally. Your voice is good for this, but I recommend either editing your audio afterwards or getting a better mic. I feel like this should've been done with delegates, to avoid every single block constantly updating their sprites. I would like to note, that even if you change a sprite to the same sprite as it already is, that still has a performance impact that can pile up very quickly if you have a level with tons of these blocks. I would've personally also made both blocks use the same script, but simply have an enum that states whether the block is red or blue.
@PolyMars
@PolyMars 5 жыл бұрын
Thanks for the feedback, I agree that the sound quality isn’t good and I’m planning on getting a new mic before my next video. Despite my efforts to make the audio somewhat presentable in Audacity, it’s still really hard on the ears. As for the code, thanks for the suggestions! I considered using delegates because I knew it wasn’t the best idea to have if statements running every frame, but I thought the performance impact would be minimal. I’ll add that change to the GitHub repository! I also considered using the same script for both colored blocks (using a public bool I would set in the inspector) but couldn’t come up with a good enough reason for it that I could explain in the video, haha. Thanks again for all of your feedback, it really helps!
@kris.yochev
@kris.yochev 3 жыл бұрын
Also the sprite controller should have been a scriptable object for better performance.
@kris.yochev
@kris.yochev 3 жыл бұрын
@@PolyMars A good reason for having a single script for red and blue blocks is writing a lot less code. Here you had to basically repeat a whole class, which if done in a large project would pile up quickly.
@ilPrinni
@ilPrinni 4 жыл бұрын
Great video! A bit late on it, just found your channel and am binging it now haha. Something I wanted to say / mention for the code that is something like If (IsOn) Rend.sprite = onSprite Else Rend.sprite = offSprite (I know it wasn't exactly like this but writing a comment on mobile isn't super flexible ie cant rewind, and that's close enough) But a nice way to write it, or at least the way I like to write it is using the weird ? Expression So it would be Rend.Sprite = (IsOn) ? OnSprite : OffSprite; Great video! Fantastic work
@genVwithaswitch
@genVwithaswitch 4 жыл бұрын
This is a great video! I actually learned something, however I am pretty late so binging your channel now haha... Keep up the great work!
@dominicballinger6536
@dominicballinger6536 2 жыл бұрын
Why not continue this series? Only two vids lol
@atheoran
@atheoran 5 жыл бұрын
Subbed to watch progress!
@HyperCat392
@HyperCat392 2 жыл бұрын
Make more of these please. I liked this series.
@sphis-Sinco
@sphis-Sinco Жыл бұрын
i miss these
@tyleranders9972
@tyleranders9972 5 жыл бұрын
What mechanics are you covering? I'm super intrigued. I am contemplating a platformer style video series in unity, cant wait to see what you come up with!
@saif0316
@saif0316 3 жыл бұрын
First youtuber I turned on the bell for ☺️
@MalkCurton
@MalkCurton 3 жыл бұрын
*very good* mic
@zouzhexuan
@zouzhexuan 2 жыл бұрын
I am wondering how to make tiles just like the in/off block. It seems hard to make the tile have such function.
@PandaWithAnASharp
@PandaWithAnASharp 3 жыл бұрын
I like yo cut G!
@hatoving
@hatoving 4 жыл бұрын
It works for me fine except when I add more than one switch. It will delete the child object (sprite) say this: MissingReferenceException: The object of type 'SpriteRenderer' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not destroy the object. Any fix plz?
@lonelyPorterCH
@lonelyPorterCH 4 жыл бұрын
Now that we also started using unity in university, I even understand the code^^
@fastfurious0864
@fastfurious0864 4 жыл бұрын
The 2 dislikes are from the on switch and off switch
@Awesomefusion
@Awesomefusion 5 жыл бұрын
Excellent! Do some mechanics from Celeste please.
@PolyMars
@PolyMars 5 жыл бұрын
Mix and Jam has an awesome video about recreating the movement of Celeste! kzbin.info/www/bejne/iYXcimVslsSXhrs
@dr.unventor
@dr.unventor 5 жыл бұрын
semi transparent is pronounced translusent but I think u did a great job and keep it up
@skyjoe55
@skyjoe55 4 жыл бұрын
Does anyone know of a good tutorial for the maker part of mario maker(menu to choose block, placing blocks, haveing the blocks do different functions). This may be very easy but i am very much a beginner.(I know code, just not unity)
@b33bo93
@b33bo93 3 жыл бұрын
4:20 If (bool) {} Else if (!bool) {} Just use an else statement
@kriya2717
@kriya2717 3 жыл бұрын
It ben a long time
@fullystopduetooliveendless
@fullystopduetooliveendless 3 жыл бұрын
Hey Polymars, Would you wanna reboot Mario Maker Deconstruced but instead lists all the features of the first and second in it starting from intros all the way to everything? I do not know how to make a Mario Maker fangame in Unity and I am wondering.
@the-vegetable-oil-yeep
@the-vegetable-oil-yeep 3 жыл бұрын
god code
@rachelguan6261
@rachelguan6261 5 жыл бұрын
bonk😳
@bluecoldknuckles1738
@bluecoldknuckles1738 24 күн бұрын
Who Is Voicing This?!
@Human-lx2hs
@Human-lx2hs 4 жыл бұрын
*MY EARS*
@Millymullfoxyblueagain
@Millymullfoxyblueagain Жыл бұрын
His mic 💀💀💀
@otesunki
@otesunki 3 жыл бұрын
if (cond) { } else if (!cond) { } also 666 likes
@johnnysun6495
@johnnysun6495 3 жыл бұрын
wtf only 21 comments
@Dorbellprod
@Dorbellprod 3 жыл бұрын
Dude I am the first comment
I coded ur STUPID ideas to Minecraft
12:40
Element X
Рет қаралды 203 М.
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 4,3 МЛН
A.I. Learns to play Flappy Bird
7:46
Code Bullet
Рет қаралды 14 МЛН
Can I 100% Superliminal and Get a Refund?
23:36
Gronf
Рет қаралды 287 М.
minesweeper variants that get more cursed
12:03
Icely Puzzles
Рет қаралды 588 М.
How do non-euclidean games work? | Bitwise
14:19
DigiDigger
Рет қаралды 2,5 МЛН
Super Mario Maker 2 - How to Recreate the Key Door in Unity
11:02
Making a WORLD MAP for Super Mario Maker 2 in Unity!
6:08
PolyMars
Рет қаралды 64 М.
I Made the Same Game for 5 Consoles
15:12
PolyMars
Рет қаралды 1,5 МЛН
How I Made a 3D Platformer in 2D Game Engine
21:23
ggenije
Рет қаралды 588 М.
I Made a Zero Player Game
12:30
Sam Hogan
Рет қаралды 10 МЛН
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН