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

Поділитися
Вставка
  • Опубліковано 30 чер 2019
  • 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
    @CodeGaff 4 роки тому +19

    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 роки тому +3

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

    • @CodeGaff
      @CodeGaff 4 роки тому +2

      @@SamHogan Definitely is!

  • @JonasBroman
    @JonasBroman 4 роки тому +29

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

    • @SamHogan
      @SamHogan  4 роки тому +6

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

  • @yeetus9191
    @yeetus9191 3 роки тому

    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
    @MichoSchmidt 4 роки тому +3

    Looks great! And the combined with objects was great.

  • @islandgames5206
    @islandgames5206 4 роки тому +4

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

    • @SamHogan
      @SamHogan  4 роки тому +1

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

  • @ZeroTris
    @ZeroTris 4 роки тому +5

    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 роки тому +1

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

  • @elchupacabra4936
    @elchupacabra4936 4 роки тому +2

    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
    @cameron2852 4 роки тому +10

    I want to be a game developer when I grow up

  • @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
    @blobenz2321 4 роки тому +3

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

    • @SamHogan
      @SamHogan  4 роки тому +1

      Thanks! Demo coming soon...

    • @blobenz2321
      @blobenz2321 4 роки тому

      @@SamHogan Yay ^^

  • @rose95524
    @rose95524 4 роки тому +2

    Great video as always

    • @SamHogan
      @SamHogan  4 роки тому +1

      And thank you as always!

  • @lora6938
    @lora6938 3 роки тому

    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
    @YannickGames 4 роки тому +4

    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
    @CodingKricket 3 роки тому

    So cool!

  • @TuxedoDogss
    @TuxedoDogss 4 роки тому +1

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

  • @felipecss3295
    @felipecss3295 4 роки тому +8

    Where is code?

  • @hadjidejan9541
    @hadjidejan9541 4 роки тому +2

    Que Genial!

  • @jasonario4781
    @jasonario4781 4 роки тому

    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 роки тому +2

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

    • @SamHogan
      @SamHogan  4 роки тому +3

      @@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
    @shadowfox87 4 роки тому

    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
    @slashingmedal2076 3 роки тому

    Greatt

  • @howardty2733
    @howardty2733 3 роки тому

    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
    @h0tblond3 3 роки тому +1

    Idk what to comment

  • @therealgboi3895
    @therealgboi3895 3 роки тому

    300th like! :)

  • @animations5768
    @animations5768 3 роки тому

    Make siege engineers a Mobile game

  • @vturanjanin72
    @vturanjanin72 2 роки тому

    43rd comment