2D Sprite Outlines! // Unity Game Devlog #5

Ғылым және технология

In this devlog, I try to figure out how to create outlines for objects so it's clear what is selected. I also implement connecting objects to terrain, which will open more possibilities for levels.
→ Play the demo: trickshotlabs.itch.io/siege-p...
→ Twitter: / samhgames
→ Music: • Milos - Eveningland
More game info:
Siege Engineer is a 2D physics-based puzzle game I'm developing with Unity. You are tasked with building siege engines to transport the ragdoll foot soldier across enemy territory. Fed up with his siege engine genius being ignored due to his low status in feudal society, our protagonist has decided to single-handedly take over kingdoms and stuff.
To play, drag objects from an inventory into the scene and connect them together. Press play to watch chaos ensue. Create catapults, trebuchets, vehicles, and much more!
#gamedev #devlog #unity #madewithunity #indiedev #indiegame #gamedevelopment #devblog

Пікірлер: 46

  • @CodeGaff
    @CodeGaff4 жыл бұрын

    The outlines make such a huge difference to the intuitiveness of the editing process for sure. It was very clever to sample the intersection points of objects with the terrain like that to calculate the connection points. Great devlog as always Sam!

  • @SamHogan

    @SamHogan

    4 жыл бұрын

    I appreciate it! Building/editing still has some issues, but I think it's getting there

  • @CodeGaff

    @CodeGaff

    4 жыл бұрын

    @@SamHogan Definitely is!

  • @JonasBroman
    @JonasBroman4 жыл бұрын

    Adding outlines was a great idea! And your method for connecting objects to the ground was impressive :)

  • @SamHogan

    @SamHogan

    4 жыл бұрын

    Thanks! Yeah, the ground connection thing took way longer to figure out than I was expecting

  • @yeetus9191
    @yeetus91913 жыл бұрын

    Just starting in unity, so watching people like you really helps to teach me the basics :) Oh, and very smart way of making objects connect to the ground, would have never thought of that

  • @MichoSchmidt
    @MichoSchmidt4 жыл бұрын

    Looks great! And the combined with objects was great.

  • @islandgames5206
    @islandgames52064 жыл бұрын

    Awesome video, I feel like this game is going to be really satisfying to play with all that polish :D

  • @SamHogan

    @SamHogan

    4 жыл бұрын

    Thanks! And I hope that turns out to be the case!

  • @ZeroTris
    @ZeroTris4 жыл бұрын

    The outline is looks pretty good :D Also the way to calculate the connection point with the terrain - that's a smart way! :)

  • @SamHogan

    @SamHogan

    4 жыл бұрын

    Thanks! The outline's pretty simple but I think it adds some clarity

  • @elchupacabra4936
    @elchupacabra49364 жыл бұрын

    Hello Sam! Very nice video and the game looks very interesting! Could you please provide me with a script or some info on how you achieved the outline? Thank you in advance!

  • @cameron2852
    @cameron28524 жыл бұрын

    I want to be a game developer when I grow up

  • @therealgboi3895

    @therealgboi3895

    3 жыл бұрын

    Yea same buddy

  • @williamsokol0

    @williamsokol0

    3 жыл бұрын

    why wait unity is free!

  • @therealgboi3895

    @therealgboi3895

    3 жыл бұрын

    @@williamsokol0 ikr. Im just to dumb to understand it yet!

  • @riskybicky8335
    @riskybicky8335 Жыл бұрын

    Is there an efficient way to render an outline over sprites that have animations?? Tried doing it in an update method and it's really respurce intensive

  • @sufianahmad7337
    @sufianahmad7337 Жыл бұрын

    very well done

  • @blobenz2321
    @blobenz23214 жыл бұрын

    Really nice video! Really want to play the game dude!

  • @SamHogan

    @SamHogan

    4 жыл бұрын

    Thanks! Demo coming soon...

  • @blobenz2321

    @blobenz2321

    4 жыл бұрын

    @@SamHogan Yay ^^

  • @rose95524
    @rose955244 жыл бұрын

    Great video as always

  • @SamHogan

    @SamHogan

    4 жыл бұрын

    And thank you as always!

  • @lora6938
    @lora69383 жыл бұрын

    Hi! What needs to be added or changed in the script so that it works under OnMouseDown and on OnMouseUp line disappeared? Can you help me? 1:03

  • @YannickGames
    @YannickGames4 жыл бұрын

    Wow this game looks pretty neat! :) Do you use Unitys phisiks or have you implemented your own?

  • @SamHogan

    @SamHogan

    4 жыл бұрын

    Thanks! I'm just using good ol' Box2D (unity's default for 2D)

  • @CodingKricket
    @CodingKricket3 жыл бұрын

    So cool!

  • @TuxedoDogss
    @TuxedoDogss4 жыл бұрын

    wait how does this only have 127 likes and 29 comments c'mon people he made a game with infinte levels

  • @felipecss3295
    @felipecss32954 жыл бұрын

    Where is code?

  • @hadjidejan9541
    @hadjidejan95414 жыл бұрын

    Que Genial!

  • @hadjidejan9541

    @hadjidejan9541

    4 жыл бұрын

    obviously i'll subscribe.

  • @SamHogan

    @SamHogan

    4 жыл бұрын

    Really appreciate it!

  • @jasonario4781
    @jasonario47814 жыл бұрын

    Hey, Sam! Would kill for that outline script!

  • @SamHogan

    @SamHogan

    4 жыл бұрын

    Here's the inspiration: www.h3xed.com/programming/create-2d-mesh-outline-in-unity-silhouette and it doesn't work on regular sprites, only vector graphic sprites. My script is kind of a mess, but if you're still interested I can give more info

  • @BRINK2011THEGAME

    @BRINK2011THEGAME

    4 жыл бұрын

    Sam Hogan you should put that outline script on sale on unity asset store 👍🏽

  • @SamHogan

    @SamHogan

    4 жыл бұрын

    @@BRINK2011THEGAME Not a bad idea. I would need to get it working with normal bitmap sprites first, which I think would be a slight challenge

  • @shadowfox87
    @shadowfox874 жыл бұрын

    What if instead of an outline, I want edge glow?

  • @SamHogan

    @SamHogan

    4 жыл бұрын

    I know you can add different materials to the line renderers, so something like that could work.

  • @slashingmedal2076
    @slashingmedal20763 жыл бұрын

    Greatt

  • @howardty2733
    @howardty27333 жыл бұрын

    Why haven't this video grown so much?

  • @arcanaz6583

    @arcanaz6583

    Жыл бұрын

    Cause he sucks at providing the code.

  • @user-dy7ne3ox9v
    @user-dy7ne3ox9v Жыл бұрын

    How to get

  • @h0tblond3
    @h0tblond33 жыл бұрын

    Idk what to comment

  • @therealgboi3895
    @therealgboi38953 жыл бұрын

    300th like! :)

  • @animations5768
    @animations57683 жыл бұрын

    Make siege engineers a Mobile game

  • @vturanjanin72
    @vturanjanin722 жыл бұрын

    43rd comment

Келесі