YouTube2Text

Adding a combat system to my indie game [DEVLOG] — Transcript

by JohnBrx · 961 words · 132 segments · language en · Watch on YouTube

Full transcript

  1. 0:01[Music]
  2. 0:02hi in the last video I showed you how I
  3. 0:04implemented the game world for my indie
  4. 0:06game this time I want to make the world
  5. 0:08feel a little bit more Alive by adding
  6. 0:09mobs and a combat system I also
  7. 0:12implemented and fixed some things that
  8. 0:13people mentioned in the comments but
  9. 0:15before we get started you can now
  10. 0:16wishlist isore which is the working
  11. 0:18title at the moment on Steam so if you
  12. 0:20really want to support this project
  13. 0:21check out the link in the description
  14. 0:23and wishlist isore and steam now that
  15. 0:25would be a great help thanks in the
  16. 0:27comments of the last video a lot of
  17. 0:28people were triggered by the overlap
  18. 0:30Shadows I was planning on fixing that
  19. 0:32later on in the game but since it got
  20. 0:33mentioned so much I decided to fix it
  21. 0:35right away to fix this I use the
  22. 0:38rendering layer of the object which is
  23. 0:39calculated by adding the X grid position
  24. 0:41to the y- grid position now I apply a
  25. 0:44mask on every shadow that gets casted
  26. 0:46and if two Shadows overlap I only render
  27. 0:48either the higher or lower layer shadow
  28. 0:50in the overlapping
  29. 0:51area this works well except when two
  30. 0:54Shadows of the same rendering layer
  31. 0:55overlap but I do think that it looks
  32. 0:57good for now and I'll leave it up for
  33. 0:59later to find a solution for that too
  34. 1:02another thing that a lot of people
  35. 1:03commented on the last video was that
  36. 1:05they didn't like the grid lines I
  37. 1:07personally am not sure if I like to look
  38. 1:08more with or without them so I'm just
  39. 1:10going to let you decide in the comments
  40. 1:12which look you prefer some other things
  41. 1:14that I did was animating the player with
  42. 1:16my very poor animation skills I also
  43. 1:19added a bit more variety to the nature
  44. 1:21by adding some sand old tree trunks and
  45. 1:23some ruins but now that we talked enough
  46. 1:25about other features let's get to the
  47. 1:27topic of the video in my last video I
  48. 1:29had already implemented M the first mob
  49. 1:31but the problem was that I did that
  50. 1:32without really thinking about how I
  51. 1:33wanted to implement the rest of the
  52. 1:35combat system and at the same time the
  53. 1:37slimes were a little buggy sometimes
  54. 1:39what I wanted though is kind of a
  55. 1:41building kit so that I can implement the
  56. 1:43rest of the mobs without having to code
  57. 1:45every single time so I scraped the old
  58. 1:46slimes and reimplemented them I wrote
  59. 1:48this creature script for example that
  60. 1:50moves a creature to a desired
  61. 1:51destination or Target by The Chosen way
  62. 1:53of movement for testing I added two mobs
  63. 1:56blue slime and a floating skeleton skull
  64. 1:58if the player dies at the moment he gets
  65. 2:00reset to the pillar and the inventory he
  66. 2:02was carrying around gets erased now I
  67. 2:05basically had a simple but working
  68. 2:06combat system but since nothing really
  69. 2:08happened when you hit the mobs except
  70. 2:09when killing them it didn't really feel
  71. 2:11rewarding so the next step was adding
  72. 2:14feedback the first change I made was
  73. 2:16giving the mobs knock back this already
  74. 2:18made a huge difference to before but it
  75. 2:20still didn't feel as satisfying as I
  76. 2:22wanted and also having to run behind the
  77. 2:24mob every time you hit it became quite
  78. 2:26annoying after some time to avoid that I
  79. 2:28implemented a three- hit combo this
  80. 2:30means that the mob only receives knock
  81. 2:32back when hit three times in a row in a
  82. 2:34certain amount of time and additionally
  83. 2:36the third strike deals more damage to
  84. 2:38still increase the feeling of feedback I
  85. 2:39added a camera Shake every time the mob
  86. 2:41receives knock back and I pause the game
  87. 2:43time a little on each hit to even give
  88. 2:45it more impact now hitting the mop felt
  89. 2:48responsive and satisfying and it not
  90. 2:50flying away on every strike added a nice
  91. 2:51level of difficulty to the combat since
  92. 2:54fighting is not the main component of my
  93. 2:55game I could have just left there and
  94. 2:56started adding new Mobs but I wanted the
  95. 2:58player to have more than just just a
  96. 3:00simple option of hitting the mobs
  97. 3:01specifically I wanted to make the way
  98. 3:03you move around during combat a bit more
  99. 3:05diverse so I came up with a dash the
  100. 3:08dash works so that you dash up to three
  101. 3:09cells into the direction that you're
  102. 3:11currently looking at by pressing the
  103. 3:12space bar but it's really unsatisfying
  104. 3:15when dashing into a mob and just getting
  105. 3:17damage so I added that dashing into an
  106. 3:19object triggers a hit and in combination
  107. 3:22that the mobs don't fly away on the
  108. 3:23first hit the dash felt really nice for
  109. 3:26approaching mobs and or getting away
  110. 3:27from them now that was happy with the
  111. 3:29comments system the only thing left was
  112. 3:31spawning the mobs for that I chose a
  113. 3:33pretty simple approach the spawning
  114. 3:34system just spawns mobs around the
  115. 3:36player and as further away the player
  116. 3:38gets from the center the mobs become
  117. 3:40stronger and more the idea is to keep
  118. 3:42the player in a closer area first and
  119. 3:44exploring and exploiting local resources
  120. 3:46before reaching further territory and
  121. 3:48expanding the map at the end I'm happy
  122. 3:50with how the combat system turned out
  123. 3:52it's still pretty simple but for now
  124. 3:54it's more than enough of course I will
  125. 3:56be adding a lot more stuff or change
  126. 3:58things over time feel free to tell tell
  127. 3:59me in the comments how you think that it
  128. 4:01turned out also maybe consider
  129. 4:03subscribing and leaving a like since you
  130. 4:05already made it so far either way I hope
  131. 4:07you have a great day and see you in the
  132. 4:08next one

About this transcript

This page contains the full transcript of Adding a combat system to my indie game [DEVLOG] by JohnBrx, generated from the public captions YouTube serves with the video. The transcript has 961 words across 132 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to translate the transcript into 100+ languages.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.