Bacon and Games
Bacon and Games
  • 38
  • 265 845
Boost Your Productivity with One TINY Change 📈
The first 500 people to use my link skl.sh/baconandgames12241 will get a 1 month free trial of Skillshare!
Staying productive and motivated is hard. After 20 years of working from home, this is the mental tool I use to build momentum and carry it into the next day. It helps me stay productive for long stretches, which leads to a happier and more fulfilling week :) You don't need to buy any new tools or learn anything complicated, it's just a shift in mindset.
Timestamps
0:00 - Intro
0:39 - Typical Planning Fails
2:00 - Scenario 1
2:35 - Plan Smarter
3:16 - Scenario 2
5:11 - Try it Yourself
6:03 - Outro
#productivity #motivation #wfh #workingfromhome #lifehacks #productivityhacks
----------------------------------
uppbeat.io/t/all-good-folks/y...
License code: IUGALKSDJEWXUFCN
uppbeat.io/t/pryces/frustration
License code: GVZ66YPZ6DIJIBVR
uppbeat.io/t/hey-pluto/heatwave
License code: R0TWSEZGJXCHFTKO
----------------------------------
This video is sponsored by Skillshare
Переглядів: 645

Відео

This Godot Shader Simplified My Workflow
Переглядів 2,3 тис.Місяць тому
The first 500 people to use my link skl.sh/baconandgames11241 will get a 1 month free trial of Skillshare premium! This simple Godot color replacement shader (by @godotneers ) can be used a bunch of ways to give you more control over your sprites without having to make multiple versions of the same sprite. Godotneers covered HOW this shader works better than I ever could. In this video, we'll l...
This Script Brought My Game to LIFE
Переглядів 3,4 тис.Місяць тому
EasySS is a free node for Godot games (GDScript) that adds juice to your game in seconds. The source is up on itch for FREE as part of my Bacon Juice pack (WIP). 0:00 - Intro 0:35 - Effect 1:36 - Walkthrough 2:15 - Parameters 3:29 - The Code 5:20 - Inspiration 6:00 - Bacon Juice EasySS code: baconandgames.itch.io/bacon-juice-for-godot Play the prototype: www.nowwhatdowedo.com Discord: discord.g...
Godot Scripting Shortcuts I Can't Live Without 🥰
Переглядів 2 тис.3 місяці тому
There are a bunch of handy keyboard shortcuts in the godot script editor that aren't well documented but they save me a ton of time. Let's break down each one so you can save some time too :) Godot Keyboard Shortcuts docs.godotengine.org/en/stable/tutorials/editor/default_key_mapping.html 0:00 - Intro 0:21 - Select Multiple 1:10 - Cycle Strings 1:39 - Insert Multiple Cursors 2:44 - Cursors w/ K...
10 Godot Features Hidden in Plain Sight 👀
Переглядів 13 тис.3 місяці тому
10 useful Godot 4.3 features that are easy to miss if you don't look closely enough. 0:00 - Intro 0:18 - 1. Group 0:35 - 2. Instantiate Here 1:02 - 3. Add Here 1:17 - 4. Move Here 1:45 - 5. Zoom 1:55 - 6. Play This Scene 2:22 - 7. Math! 2:40 - 8. Favorites 3:20 - 9. Goto Method Declaration 3:57 - 10. Scripting Window 4:18 - 11. Line Move 4:39 - Outro #godot4 #godotengine #godottutorial #godot #...
Create Amazing Effects with this FREE Godot Addon
Переглядів 3,8 тис.4 місяці тому
Create hundreds of styles with this free Godot addon. No shader knowledge needed. Shader Video 👇 ua-cam.com/video/cObwzagwgmA/v-deo.html Korin's Post Processing github page 👇 github.com/ItsKorin/Godot-Post-Process-Plugin 0:00 - Intro 0:40 - Sample FX 1:15 - Installation 1:56 - Creating Effects 3:10 - Palette Swap FX 5:25 - FX via Code 7:00 - List of Properties 9:00 - Save as Resource 11:00 - Tw...
Take Control of Godot Text Input with RegEx (easy)
Переглядів 1,3 тис.5 місяців тому
Since Godot does not offer input restriction out of the box, let's make some. We're going to listen to the change event of a LineEdit node and scrape characters from it that we want to disallow. Godot Game Template (FREE 😀) ua-cam.com/video/tNqFLmbWW-Y/v-deo.html 0:00 - Intro 0:20 - The Problem 1:20 - How it Works 3:05 - Manipulating the Cursor 5:40 - Game Template Update RegEx (in 100 seconds)...
Simple Godot Shader I Use in EVERY Game (now)
Переглядів 10 тис.5 місяців тому
This is a sneak peek at a Godot shader I'll be adding to my Godot game template. It generates a scrolling background and has some in-editor settings that let you make beautiful tiled backgrounds in just a couple of seconds. It's perfect for making your game jam beautiful without burning time and can also work for shipped games. Double stars, everybody wins! 0:00 - Intro 0:50 - Game Prototype 1:...
Is Pausing Really THIS Simple?
Переглядів 3,3 тис.6 місяців тому
Allowing the player to pause your game is an essential feature. Believe it or not, Godot makes it pretty darn easy... 0:00 - Intro 0:31 - Example 1:01 - The Code 2:43 - Notifications 4:09 - Process Mode #godot4 #godotengine #godottutorial #gamedev #gamedevelopment
5 Handy Signal Uses You Might Not Know
Переглядів 8 тис.6 місяців тому
Most people know how to use signals in their Godot projects but here are a few methods you might not be familiar with. Or maybe you are? Let me know in the comments how many you knew. ua-cam.com/video/pJZpkdo3YLk/v-deo.htmlsi=Mn0lzbNmd2-fRC1J ua-cam.com/video/U53wf7ybnIs/v-deo.htmlsi=TPx4ZFeDv7bFetQ1 ua-cam.com/video/2uYaoQj_6o0/v-deo.htmlsi=4wPpi9A4g6Xa7VWa 0:00 - Intro 0:29 - Why Use Signals?...
People Seem Split on This New Godot 4.3 Feature
Переглядів 33 тис.7 місяців тому
Godot Tilemaps are going away and being replaced by Tilemap Layers in Godot 4.3, which seems like an improvement to me. What do you think? ua-cam.com/video/U53wf7ybnIs/v-deo.html Developer looking for support? baconandgames.com/consultancy/ #godotengine #godottutorial #godot4 #gamedevelopment #gamedevtutorial 0:00 - Intro 0:33 - Deprecation 1:40 - Converting TileMaps 3:49 - TileMap Layer 5:50 -...
I Bet You Don't Know This Godot Feature
Переглядів 23 тис.7 місяців тому
Godot 4.0 TileMaps do all sorts of stuff, including this lesser known feature that lets you add scenes directly into your TileMap alongside sprites 0:00 - Intro 0:22 - Standard TileMaps 0:38 - Scene Collections 1:57 - Scene Thumbnails 3:40 - Tradeoffs 5:25 - Grid Snapping 6:30 - Outro Check out some of my other videos: ua-cam.com/video/tNqFLmbWW-Y/v-deo.html ua-cam.com/video/P7AQLUU3xKk/v-deo.h...
Godot Collision Layers and Masks… the EASY Way
Переглядів 12 тис.7 місяців тому
Godot collision layers and masks can be a tricky subject to get at first, but with this simple way of thinking about them you'll never mix them up again. Discord Server discord.gg/JVxRsbCvdb Godot Game Template github.com/baconandgames/godot4-game-template 0:00 - Intro 0:24 - Layers and Masks Explained 1:08 - Project Demo 2:02 - Adding Collisions 2:35 - Naming Layers 3:20 - Colliding w/ Environ...
I Made a Godot Template So You Don't Have To
Переглядів 14 тис.8 місяців тому
I Made a Godot Template So You Don't Have To
This Godot SceneManager Does even MORE now!
Переглядів 8 тис.9 місяців тому
This Godot SceneManager Does even MORE now!
Gamedev in 2024: Lessons from Flash Games - jmtb02
Переглядів 4829 місяців тому
Gamedev in 2024: Lessons from Flash Games - jmtb02
Make an ENTIRE Godot Game in 1 HOUR (GDScript)
Переглядів 9 тис.10 місяців тому
Make an ENTIRE Godot Game in 1 HOUR (GDScript)
This FREE Godot Plugin Makes Me a BETTER Developer
Переглядів 10 тис.10 місяців тому
This FREE Godot Plugin Makes Me a BETTER Developer
Do These 4 Things to Write Fewer Bugs
Переглядів 2,4 тис.10 місяців тому
Do These 4 Things to Write Fewer Bugs
Godot Debugging Techniques EVERY Dev Should Know
Переглядів 32 тис.11 місяців тому
Godot Debugging Techniques EVERY Dev Should Know
Watch this BEFORE You Negotiate with a Game Publisher
Переглядів 59511 місяців тому
Watch this BEFORE You Negotiate with a Game Publisher
Change How You Make Games FOREVER in just 15 mins
Переглядів 4,4 тис.11 місяців тому
Change How You Make Games FOREVER in just 15 mins
3 Keys to Your First Call with a Game Publisher
Переглядів 409Рік тому
3 Keys to Your First Call with a Game Publisher
Game Devs: Watch This Before You Pitch to Publishers
Переглядів 1,4 тис.Рік тому
Game Devs: Watch This Before You Pitch to Publishers
This Godot 4 Scene Manager Does it ALL
Переглядів 32 тис.Рік тому
This Godot 4 Scene Manager Does it ALL
Don't Make These Mistakes When Pitching to Game Publishers
Переглядів 1,5 тис.Рік тому
Don't Make These Mistakes When Pitching to Game Publishers
5 Fun Challenges to Level Up Your Godot Programming Skills
Переглядів 1,4 тис.Рік тому
5 Fun Challenges to Level Up Your Godot Programming Skills
Do THESE 5 Things when Emailing Game Publishers
Переглядів 1,6 тис.Рік тому
Do THESE 5 Things when Emailing Game Publishers
Saving a High Score: Godot 4 Snake Tutorial
Переглядів 3 тис.Рік тому
Saving a High Score: Godot 4 Snake Tutorial
Menus, UI & Pausing: Godot 4 Snake Tutorial
Переглядів 821Рік тому
Menus, UI & Pausing: Godot 4 Snake Tutorial

КОМЕНТАРІ

  • @100Jim
    @100Jim 6 годин тому

    Would like to know the check list software you use at the end of this video.

  • @100Jim
    @100Jim 6 годин тому

    Good work mate. Good to see an older man like my self developing games!

  • @PhngDan-y7r
    @PhngDan-y7r 3 дні тому

    numeric keypad on the right, keypad 1 zoom in 100%, 2 zoom in 200%, 3, 4, 5

  • @Manuelarte
    @Manuelarte 10 днів тому

    excellent tutorial!

  • @Mrpotatoskins27
    @Mrpotatoskins27 13 днів тому

    Absolutely loved this tutorial. I have been struggling with scene transitions and found this video luckily. It's a bit hard for me as I'm new to development and game stuff. However, I got it to work and fixed all of the errors. Only thing I'm still struggling with is the orient function, which I'm unsure as to why but not too big of a deal, it works. Great video man!

    • @baconandgames
      @baconandgames 13 днів тому

      Thanks so much! I haven’t looked at the code in a minute, but if you have a specific question you want to run through please drop by the discord and we’ll get you sorted. ❤️

  • @egsk2018
    @egsk2018 14 днів тому

    Thanks for the insight :) I would just add that when deciding which tasks to do first you should do the most difficult one first as this then helps motivate you to complete the rest (and you'll have more energy).

    • @baconandgames
      @baconandgames 14 днів тому

      Oh that’s an interesting thought! I often do a less complex one early to make it easier to start and build momentum - but I can see it working you way as well. ❤️

  • @FeyFen
    @FeyFen 17 днів тому

    very useful, thank you!

  • @sebastianozezza6716
    @sebastianozezza6716 17 днів тому

    Plan a maximum of 2 tasks a day A task can be either a day long or a half a day long Make tasks High level The rest is filling Reading emails Is filling Updating the kanban Is filling Waiting a good commit message Is filling This really works well only if you work alone or in a very small team

    • @baconandgames
      @baconandgames 17 днів тому

      Excellent points! Keep things simple 👏

  • @DevJeremi
    @DevJeremi 17 днів тому

    Sounds like a good idea, but my ADHD already makes my days work for me as I go with its flow. I plan only what I will today, but without thinking how much time it will take and when I will do that in the day.

    • @baconandgames
      @baconandgames 17 днів тому

      Sounds like you already do it naturally 👏

  • @ghaydn
    @ghaydn 17 днів тому

    That's not some kind a mind trick. You do the same and just think of it differently... But yes, "plan less" is basically a good advice for those who systematically can't finish their plans in time. Sadly, they often just don't know what is "less".

    • @baconandgames
      @baconandgames 17 днів тому

      You know, I’ve been working from home for over 20 years and so I’m always refining how I stay focused and motivated… some days you just don’t have it. There’s not always a solution, but you try to be a little better each project or each day. And it’s certainly important to remember to take it easy on yourself - not every day CAN or HAS to be productive. Sometimes we just need a break.

  • @ThomasStewartDev
    @ThomasStewartDev 17 днів тому

    Great video! My only objection is that I think everyone should what I do - which is: set arbitrary deadlines, feel bad if I miss them, and if I get something done early - move every deadline forward so that I have a persistent sense of chronic anxiety about not getting enough done.

    • @baconandgames
      @baconandgames 17 днів тому

      Yeah, you gotta set deadlines for sure - whether they’re real or made up. It’s important to keep things moving forward and it is important to hold yourself accountable - which sometimes means feeling bad you missed a deadline, arbitrary or not. Great point!

  • @baconandgames
    @baconandgames 17 днів тому

    The first 500 people to use my link skl.sh/baconandgames12241 will get a 1 month free trial of Skillshare!

  • @ekkemoor7663
    @ekkemoor7663 18 днів тому

    Looks good!🎉

  • @thuongthuongngo6041
    @thuongthuongngo6041 20 днів тому

    This is an amazing video. I'm only at Spawning objects part, but you have helped answer a HUGE portion of questions I have about instantiating scenes and the whys and hows of setting this up. Thank you thank you!!

    • @baconandgames
      @baconandgames 20 днів тому

      What a nice comment to wake up to. Thanks so much! If you have more questions, please come say hello in our Discord. We’ll be happy to help!

    • @thuongthuongngo6041
      @thuongthuongngo6041 17 днів тому

      ​@@baconandgames yes, your work is awesome! I actually have an issue with this piece of code here at around 34:58: spawner.call_deferred("spawn_tail",snake_parts[snake_parts.size()-1].last_position) The error was: Out of bounds get index '0' (on base: 'Array[PlayerPart]') I think it means the array hasn't had any item in it yet. I tried changing -1 into +1 and even delete the whole [_] identification of the snake_parts array eventually but it still doesn't work - still the same error. Any idea how to fix it? Much appreciated!!

  • @birbothealpha
    @birbothealpha 28 днів тому

    wow you are seriously a fantastic teacher, you explained all of this better than 99% of the tutorials i have watched on here

  • @J3ff_K1ng
    @J3ff_K1ng 29 днів тому

    if you want to do the free travel thing but with multiple object how would yo do it? because idk if godot creates a different "script" per obj so Im not sure about changing the script in case it affects every instance

    • @baconandgames
      @baconandgames 29 днів тому

      I would probably use composition. You’d create a node that can be dropped onto any object that might “care” about being in free travel. It probably wouldn’t do much more than handle that flag and allow you to read or write it. Then, whenever relevant, then you could check for whether an object is part of that system with has_method (one of many ways to check if an object adheres to some standard such as being a part of the “free travel” system you’ve written) and then act accordingly. Godot is full of ways (perhaps too many) to set up these kinds of systems. You could have a group that you apply to things that need to be part of free travel (and you can add/remove things from groups all the time), you could use metadata (I don’t recommend this, but sometimes it makes sense), you could even use inheritance to bubble up this property to anything you want as part of your “free travel” system. Godot is designed to allow you to mix inheritance and composition, but I feel like it favors composition more. You might find this video on composition v inheritance very helpful: ua-cam.com/video/74y6zWZfQKk/v-deo.html

    • @J3ff_K1ng
      @J3ff_K1ng 29 днів тому

      @baconandgames I think I get it, I'm gonna code it and see what happens Thank you so much

    • @baconandgames
      @baconandgames 29 днів тому

      @J3ff_K1ng That’s the right answer! Nothing beats trying it yourself. Good luck! If you get stuck or want feedback, please come by the Discord (link in bio) and someone will give you a nudge :) Happy coding!

  • @Boomercringe-wd2ov
    @Boomercringe-wd2ov Місяць тому

    I just started looking into making games with Godot and watched a lot of videos but this is the best so far! The template you created is the most sophisticated I have found yet - thanks a lot for your work!

    • @baconandgames
      @baconandgames Місяць тому

      Awww, thanks. I don’t know if I’d call it sophisticated but I hope it helps you get started. I’ve been meaning to make some updates but I’ve been so busy… life, amirite 🤣

  • @jRsqILVOY
    @jRsqILVOY Місяць тому

    This is a really cool use of the AnimatonPlayer.

  • @LabGecko
    @LabGecko Місяць тому

    3:31 Not seeing any security checks or verification on that, so might want to add some. This kind of load is a hacker's gold mine. _"Hey, love this game! If you want to use my pro-level settings just download this prefs file..."_ [insert malware here]

    • @baconandgames
      @baconandgames Місяць тому

      The code is provided as-is. If people want to add security checks they’re welcome to. I’m not shipping high volume games with this but any commercial title should do their due diligence with their own code or others’ code. Low stakes template here.

  • @mrserlysir
    @mrserlysir Місяць тому

    thanks for the video it helped me understand the physics layers and how to think about godot

    • @baconandgames
      @baconandgames Місяць тому

      Lovely! Thanks for the kind words!

  • @thygrrr
    @thygrrr Місяць тому

    You can set the default color of the shader to grey (or pink if hardliner) so you can more easily see if it's a texture, parent tint, or color property problem. Great idea about bubbling the value up. I wonder if node metadata can be used for it.

    • @baconandgames
      @baconandgames Місяць тому

      I hadn’t thought of using metadata. That’s an interesting thought 🤔 although you’d lose the color picker and live preview, yeah?

  • @MatrixQ
    @MatrixQ Місяць тому

    If you only want to have the color setting effect, there's a much simpler way to achieve this than shaders. Create your sprite in greyscale only, then set the color under Visibility->Modulate to affect the node's children or self-modulate to affect the node itself. That way, you don't need a material at all. Granted, you might need to split your images up sometimes, but I personally prefer that over writing a shader for something this simple. I like to reserve shaders for more advanced effects.

    • @baconandgames
      @baconandgames Місяць тому

      Yeah, that’s the issue that I did a terrible job of highlighting in this video (ack, still learning this YT thing). Most of my sprites still have some white (or another color) in them somewhere that I want to keep white. And I think if your outlines aren’t black they also get affected by the modulation. I realized this oversight about a hour before the video was done. But for my workflow, modulate isn’t really a option. That being said, this is a great tip for others that I really should have called out in the video. 🤦‍♂️ Thanks for calling this out 🙏

  • @0xDEADBAAD
    @0xDEADBAAD Місяць тому

    Definitely interested in the property bubbling script thing over here :3

    • @baconandgames
      @baconandgames Місяць тому

      Noted! I’m going to throw that onto my list of videos.

  • @thechrom007
    @thechrom007 Місяць тому

    What program do you use to create your sprites? 😅

    • @baconandgames
      @baconandgames Місяць тому

      Usually Aesprite but in this video I’m drawing with Adobe Animate (weird choice, I know; but I’m trying out something for a game I’m working on)

  • @richbuilds_com
    @richbuilds_com Місяць тому

    I'm literally on a break from recording the next episode of my dev blog where I do this very same thing with the 3d meshes in my Imsim! In my case, I swap out materials, not just colours.

    • @baconandgames
      @baconandgames Місяць тому

      Very cool! Let me know when it’s up. I’d love to see it.

  • @redshepard5306
    @redshepard5306 Місяць тому

    nice tutorial man thanks.

  • @fritzytg
    @fritzytg Місяць тому

    The big learning for me was clarity on the resource flags like make_unique, use_parent_material, and local_to_scene. I love the format of showcasing an approach, describing the gotchas, and releasing it as a tiny demo/tool.

    • @baconandgames
      @baconandgames Місяць тому

      Thanks Fritzy! ❤️

    • @richbuilds_com
      @richbuilds_com Місяць тому

      That tripped me up no end until it finally sunk in they were *sharing* the same resource.

  • @Helllphy
    @Helllphy Місяць тому

    why not use the self modulate property pretty sure thats doing the same thing as the shader

    • @baconandgames
      @baconandgames Місяць тому

      I realized as I was editing this that I didn't make that clear because in MOST of my examples in this video, you could use the modulate property 100%. But if you have some white in the image you want to remain white or slither color OR you aren't using black outlines, you can't achieve this with modulate. As an example, if you look at the color animation demo (the second in the video) using the modulate property would change the white base of the light as well when I only wanted to change the color of the light. Sorry I didn't make that more clear in the video... sometimes once you're in the edit phase the only way is through and onto the next one. Thanks for the comment!

  • @cashewolddew
    @cashewolddew Місяць тому

    Thank you for the thoughtful wish at the end of the video! You also be kind to yourself! Great video 🥜☺

    • @baconandgames
      @baconandgames Місяць тому

      I appreciate that you appreciate that... there's a sentence for you. I will do my best - I'm not always very good at taking my own advice 😛

    • @lout160
      @lout160 Місяць тому

      Awwww snap. Nuts and pork together in one place. Both of you guys have been extremely helpful in helping me demystify shaders this past month.

    • @baconandgames
      @baconandgames Місяць тому

      @lout160 haha. Nuts and pork… that’ll be my streaming sub-channel 🤣

    • @lout160
      @lout160 Місяць тому

      @@baconandgames Ooooo. Can we expect a collab with a certain Cashew?

    • @baconandgames
      @baconandgames Місяць тому

      @lout160 🥓🥜

  • @baconandgames
    @baconandgames Місяць тому

    The first 500 people to use my link skl.sh/baconandgames11241 will get a 1 month free trial of Skillshare premium!

  • @bigichad
    @bigichad Місяць тому

    Thanks for the template

    • @baconandgames
      @baconandgames Місяць тому

      You bet! I have some updates in the works but it’s slow going

  • @driann_yea
    @driann_yea Місяць тому

    Thanks a lot for sharing this! Keep creating content, it's been easy for me to follow your videos and learn many new things :)

    • @baconandgames
      @baconandgames Місяць тому

      I can't tell you how happy that makes me. Keep at it yourself! And when you're ready, please come by our Discord to show us what you're working on.

  • @ince55ant
    @ince55ant Місяць тому

    nice job. making wee components like this is always great to have in the bank

    • @baconandgames
      @baconandgames Місяць тому

      “wee components” 🤦‍♂️ That’s so much better than Bacon Juice!

  • @ghaydn
    @ghaydn Місяць тому

    The multiple-cursor thing is mind blowing. Never thought it's even possible, though it's so simple.

    • @baconandgames
      @baconandgames Місяць тому

      That’s a super handy one for sure 🤯

  • @ghaydn
    @ghaydn Місяць тому

    4:17 I'd rather use signals and connections than referencing EasySS node by names. It's more simple, more flexible and can be made directly from the editor.

  • @JakubSK
    @JakubSK Місяць тому

    First mistake. Using Godot.

    • @baconandgames
      @baconandgames Місяць тому

      My grandfather used to say, that’s why they make vanilla, chocolate, and strawberry.

  • @dotdaddylonglegs
    @dotdaddylonglegs Місяць тому

    Loved this, simple but very effective

  • @vcd200044
    @vcd200044 Місяць тому

    Nice idea. But I found a bug while handling mulitiple nodes using EasySS, I guess the varible "i" is to be a pointer in the array nodes. So I change some code: func _process(delta: float) -> void: _cooldown_timer += delta if _playing: var _finished: bool = true #var i: int = 0 for i in nodes.size(): nodes[i].scale = lerp(nodes[i].scale, _initial_scales[i], delta * speed) if abs(nodes[i].scale - _initial_scales[i]) >= Vector2(.01, .01): _finished = false ... func stop() -> void: if _initial_scales.size() > 0: # var i: int = 0 for i in nodes.size(): nodes[i].scale = _initial_scales[i] _playing = false stopped.emit() The elegant idea you provided is wonderful, thank you so much and can not wait to watch your next video.

    • @baconandgames
      @baconandgames Місяць тому

      Thanks! I’ll have a look. I rewrote a bunch of stuff after that video went up, so I may have noticed the same issue. Nothing that changes the implementation, just the internals. I appreciate the kind words and the bug report!

    • @baconandgames
      @baconandgames Місяць тому

      Oh yep, there it is! This isn't the bug I fixed but I just ran into it. Thank you for the catch. I'm going to update this today! Wait - I found a different bug. In process I should have been looking at the x/y values separately to determine when to stop. With the shipped code, if either of the values never changed (most often because with 1.0 as one of the SS values) it immediately stopped. Switching the check to this: if abs(nodes[i].scale.x - _initial_scales[i].x) >= 0.01 or abs(nodes[i].scale.y - _initial_scales[i].y) >= 0.01: Along with your fix 👏

  • @samuelschwager
    @samuelschwager Місяць тому

    this is the 1st time I heard about method track, learned something :)

  • @Eljay_Kay
    @Eljay_Kay Місяць тому

    Looks great! Looking forward to the next additions 😊

  • @ShinoSarna
    @ShinoSarna Місяць тому

    One thing to note is that won't really work in a pure pixel art game - at least not easily.

    • @baconandgames
      @baconandgames Місяць тому

      Depends on how you use it. If it’s long and slow, yeah you’ll get some sub-pixel funniness but if it’s quick enough I don’t think anyone will notice. But again… tradeoffs and acceptable limitations. This is meant to be simple and easy to use, not a solution for every use case.

    • @ShinoSarna
      @ShinoSarna Місяць тому

      @@baconandgames Of course, I'm just including this comment for benefit of anyone who might wanna use this in their game.

    • @baconandgames
      @baconandgames Місяць тому

      @ShinoSarna yeah, sorry about that. Didn’t mean to sound so sharp. You’re 100% right as it is a consideration I probably ought to have said aloud in the video. ❤️

    • @ShinoSarna
      @ShinoSarna Місяць тому

      @@baconandgames Oh no trust me, its fine. your comment just added more nuance.

    • @baconandgames
      @baconandgames Місяць тому

      @ShinoSarna 🤜🤛

  • @Crits-Crafts
    @Crits-Crafts Місяць тому

    added to my game already :D This is the easiest squash and strech implimentation I've ever used. Thank you so much

  • @DevJeremi
    @DevJeremi Місяць тому

    Nice, but why you didn't use Tween for this ?

    • @baconandgames
      @baconandgames Місяць тому

      You could, but I chose to use lerp which I probably a touch lighter but it’s really just a matter of preference. Either will work.

    • @ghaydn
      @ghaydn Місяць тому

      @@baconandgames people say, that tweens are lighter because they're C++ things, and it is always better than gdscript's _process. (anyways, it doesn't matter unless you have thousands of such nodes)

    • @baconandgames
      @baconandgames Місяць тому

      That's very possible, but as you say - you'd really have to go bonkers with this little thing for it to become an optimization issue. This isn't a giant all-encompassing system - just a little util to add spice here or there :)