Creating An Advanced Combat System In 2 Weeks- DevLog #1

Поділитися
Вставка
  • Опубліковано 5 чер 2023
  • Your browser is holding you back. Level up here: mtchm.de/rrz6c.
    In this video I create an advanced combat system in ROBLOX starting with no scripting knowledge.
  • Ігри

КОМЕНТАРІ • 123

  • @mrmoonlight1001
    @mrmoonlight1001  Рік тому +13

    Your browser is holding you back. Level up here: mtchm.de/rrz6c

    • @Mr.Bigfeet
      @Mr.Bigfeet Рік тому +2

      What game are you playing at the start

    • @Mr.Bigfeet
      @Mr.Bigfeet Рік тому +2

      Awnser me

    • @mrmoonlight1001
      @mrmoonlight1001  Рік тому +3

      @@Mr.Bigfeet Call of chivalry

    • @TEREXES
      @TEREXES 10 місяців тому +1

      just switched to opera! ty man

  • @LockedInMiiso
    @LockedInMiiso Рік тому +11

    Wasn't expecting such a game development related video when I clicked on this! Really nice editing and the combat system looks great. Hopefully there is more dev-logs after this!

    • @mrmoonlight1001
      @mrmoonlight1001  Рік тому

      Thanks, I have a lot im looking forward to share in the next one :)

    • @furiousgamerjr3639
      @furiousgamerjr3639 Рік тому

      @@mrmoonlight1001 all be wait for the next one

  • @BuugiWuugi
    @BuugiWuugi Рік тому +6

    Was taking a break from a Javascript tutorial when watching this. Going back to the tutorial. Good to see you back!

  • @uph_older5903
    @uph_older5903 7 місяців тому +1

    Also a very good idea, I've been trying to attack this type of combat, seeing someone else attack it, makes me more inspired to try something different, good video!

  • @shadowredstone7123
    @shadowredstone7123 6 місяців тому +1

    Great vid, excellently explained too. Keep up the food work 😁

  • @Drkermies
    @Drkermies Рік тому +2

    I feel like I have seen/played a similar game to the concept of what you are going for and I took me a while to grasp it but it was a really good game can’t wait to see future development 👍

  • @CristianNedelea-um6pj
    @CristianNedelea-um6pj Рік тому +1

    This looks actually really cool, i havent seen games focused on combat anymore as much, most games are either : Spam m1s and then do some random flashy combo and cant fight back, or actually having a pretty good balanced system, where everyone has a fair chance to win.

  • @imaniarthur
    @imaniarthur 10 місяців тому +1

    im the same guy who needed help to get prism lance i lost my acc but made a new one and got into mid game in pilgrammed, i still havent gotten prism lance but ur guid videos on the items in pilgrammed has been helping me, thanks for the videos xd

  • @deadwind4105
    @deadwind4105 Рік тому +2

    Man you explain stuff incredibly neatly

  • @Vursosa
    @Vursosa Рік тому +11

    This is really good for like only 2-3 weeks of learning but a thing that you want to do is instead of using wait() is to use task.wait() instead as since it’s a more efficient and accurate wait (also the regular wait is deprecated or will be)

    • @Vursosa
      @Vursosa Рік тому

      Also another good thing to note (not sure if you already know this or not) but it’s that you should never trust the client (which in simple terms it can mean don’t do your checks for certain values if you can on the client as players/exploiters can easily bypass and exploit your code)

    • @mrmoonlight1001
      @mrmoonlight1001  Рік тому

      Thanks for the compliment, I heard about task.wait() but didn't know that it was functionally the same. I read the documentation and will definitely be replacing it in my code. I talked about the clientside stuff a bit at 7:45, I pretty much had to change all my scripts to incorporate serverside events, as the attributes I was changing on the client wasn't replicated onto other clients or acknowledged by the server.
      Pretty much the only things I'm doing on the client are things that affect themselves only, things that would give an exploiter no advantage to change, or inputs that I have to grab from the client. For example, the GUIManager takes the enemy's GUI position and gives you an indicator when they attack to give you a way to defend against it, an exploiter would gain nothing by messing with that. For inputs its necessary for me to grab the mouse position, I could prevent any potential issues by doing the calculations on the serverside, but I think that an exploit which targets that would be as useful as simply just using a macro which moves your mouse for you.

    • @Vursosa
      @Vursosa Рік тому

      @@mrmoonlight1001 That could work but I would just do it on the server side anyways but it shouldn’t matter too much but it’s always recommended to also make sure to safe guard your remotes so exploiters can’t just send a random value through it to crash your server code (aka add checks on the server side of that remote event to make sure it’s a valid input that you are looking for type such but not limited to, string, bools, numbers, tables, etc (also make sure they can’t crash your code with the value nan (not a number) which is caused by stuff like 0/0 or some stuff like that.
      On top of that you can also add fake remote traps that realizes if the player fires the remote with weird parameters and you can either have a ban thing for them (rogue lineage has this or at least for rogue copies) or store it secretly that could be used as a way to determine if they’re an exploiter in the future or you could just kick them and track it as a strike. (This is just to deal with exploiters who don’t exactly know what they’re doing or if they aren’t careful)
      Also a UA-cam Suphi kaner has really good vids covering these type of stuff (with client to server) as well as other advanced scripting that you might want to check out if you haven’t. Basically you want to make sure exploiters can’t affect anything that would affect/harm other players
      Looking forward to your journey as a developer and your game!

  • @agamatsus
    @agamatsus Рік тому +4

    This might not be my favorite type of fighting but I'll give it a try!

    • @AstraFK
      @AstraFK Рік тому

      ITS PLUGAMATSU!!

  • @AstraFK
    @AstraFK Рік тому +1

    The Lord has been back 🗣️🔥

  • @sho3631
    @sho3631 Рік тому +2

    yo this combat system reminds me of For Honor, it would be really crazy if u add a lawbringer or warden class

  • @ninjago86Gaming
    @ninjago86Gaming Рік тому

    The game you are making might make me come back to Roblox if it is very unique!!

  • @Moon-kq7mb
    @Moon-kq7mb Рік тому +1

    Awesome vid 👌

  • @aank8335
    @aank8335 3 місяці тому

    Nice video, new sub :D
    I like your idea, it is pretty unique, but I feel like the "direction mechanic" is a bit extra if youre planing on creating non melee/direction based stuff and skills for the combat
    if not used correctly the mechanic will get extremely annoying and useless
    I suggest learning to create and use procedural animations to make the combat feel more fluid and unique; Having different swing variants depending on movement speed, movement direction and other variables like that will make a pretty dynamic and fun to mess arround combat. And with that, you could also do stuff like animations changing depending on the last swing direction used to make diagonal swings.

  • @pressebro5488
    @pressebro5488 Рік тому

    Bro came back but this time he decided tô make his own game cool gl on making it

  • @pilgrammer
    @pilgrammer Рік тому +1

    HES BACKKKK
    now when pilgrammed

  • @Biggest_Con
    @Biggest_Con Рік тому +14

    No way a legend is back!

  • @DwellerGuy.
    @DwellerGuy. Рік тому

    Looks promising

  • @pr0doxz410
    @pr0doxz410 9 місяців тому

    How did you learn how to code, and how long did it take you. I am learning how to code right now from scratch, and the code you showed looks so complicated and hard, with all the maths and stuff. I hope I will get there one day.

  • @noturne54
    @noturne54 6 місяців тому

    This is indeed very cool and an advanced thing to script, but the concept could be better imo, playability feels very strict to single enemies and exploitable. In For Honor it works because there are only single enemies (pratically), they're all NPCs and the camera distance adjusts according to the situation, which could be a setting for the player. Its better to make it by simply indexing input combinations (Ctrl + M1) and block as the player input if there are more enemies. I think it would feel much smoother and free. Another suggestion is to still make it with mouse's position but also depending on the velocity of the mouse from a specific point to another and also block as a player input. I think both would be good and the player could choose between them.

  • @TheDailyCraft
    @TheDailyCraft Рік тому +1

    I'm trying to be like you, my boy

  • @sunkeeper8009
    @sunkeeper8009 3 місяці тому

    I use to be the 5th GM in ranked on xbox in for honor and i always wanted to make a roblox for honor game, any tips? I have the budget to throw anything into development but I've never made a game before

  • @sorrowless.
    @sorrowless. Рік тому

    I'll give it a try

  • @Zawaito
    @Zawaito 7 місяців тому

    Hey bro, i want to do a direction input based magic system
    Do you know how to get mouse movement direction?

  • @TheWackiestChannel
    @TheWackiestChannel Рік тому +1

    He’s back

  • @1brytastic
    @1brytastic Рік тому +2

    Is this inspired by chivalry 2?

  • @qauzxi3849
    @qauzxi3849 4 місяці тому

    bro lord sendo tbh we dont care still love your vids

    • @delayedstwr
      @delayedstwr 3 місяці тому

      bro changed his entire identity

  • @mrbadzs
    @mrbadzs Рік тому +1

    Cool

  • @barnacolium6947
    @barnacolium6947 7 місяців тому

    gooey

  • @D-boi-12415
    @D-boi-12415 9 місяців тому +1

    Reminds me of mordhau mixed with warband

    • @mrmoonlight1001
      @mrmoonlight1001  9 місяців тому +2

      Been playing a ton of warband, don’t wanna give away too much but I’m revamping the combat to be more like that. I think the lockon system lends itself to being really suboptimal in big fights.

  • @terrellwilliams6737
    @terrellwilliams6737 Рік тому

    Hey where did you learn all this information to code. I really wanna start. And have you only been coding for two weeks, or have you had more experience

    • @mrmoonlight1001
      @mrmoonlight1001  Рік тому +3

      Hi, I initially started learning to code this year (first year) at university, I took a Python course and a Java course. Having the fundamentals of coding taught by a professional instructor I felt prepared to start with scripting in ROBLOX, it’s something I tried years ago but I made almost no progress and gave up.
      My main resources for learning scripting on ROBLOX were as follows:
      Roblox DevForum
      Roblox Studio Documentation
      CodeBro29’s 2023 Scripting Tutorial (you can find this on UA-cam)
      Asking questions to my developer friend
      Watching Dev Logs on UA-cam, for example TJ has a series about his game Tavern Team.
      Once you watch CodeBro’s tutorial and understand the basics you want to start by making something really simple like an Obby or a Tycoon. If you’re stuck on something niche and really don’t know what to do, just search on google “how to script (whatever you need help with) on roblox” and you’ll normally find people on the DevForum who can answer your questions.
      You don’t even need to finish the project, I quit my tycoon halfway through because I felt that I learnt all the skills necessary to move on to a more complicated game that I’d enjoy making. The documentation is mainly for if you know how you want to do something but don’t understand the syntax or how to actually write the code, it’ll explain every method and give you an example.
      The devlogs on UA-cam will help give you a ton of motivation and learn to see things from a developers perspective, most ones are in unity but they’re way higher quality than ROBLOX ones and if you think about the concepts rather than the details you can understand how they’ve done each feature and incorporate it to your ROBLOX scripting abilities.
      I’ll make a more in detailed video on how to learn scripting for beginners when I feel more qualified to do it, I still have a lot to learn myself! Best of luck.

    • @surealest
      @surealest 11 місяців тому

      @@mrmoonlight1001 are there no good advanced scripting tutorials past his? i feel like i still lack knowledge even after doing what youve said

    • @mrmoonlight1001
      @mrmoonlight1001  11 місяців тому

      ​@@surealest Good video tutorials on ROBLOX scripting are scarce, and after a certain point it shouldn't be the primary way that you learn. There's just not enough material in video form to learn what is necessary to make a game. Once you've done the basics you should try to make a project, make a game design document where you outline all the features that you need to create to make the game fit together, then start tackling them one by one.
      Searching "How to create an inventory system" on youtube will likely show Unity tutorials, which can help you understand the logic and methodology behind it, and it is then your job to translate that onto the ROBLOX engine. Searching that same question on google with "ROBLOX" at the end will likely show DevForum threads with explanations, tutorials and questions about other people who have attempted the same things in the past. You can learn a lot from their mistakes and guidance.
      In terms of learning the core mechanics of scripting, the few advanced things that I'd recommend learning about ASAP are as follows:
      RunService Loops and "Threads"
      Instance Attributes
      Event/Attribute listeners
      Functions and Modules
      Folders and Instance Values
      Learning all these things will make creating a game infinitely easier. But there are not that many good tutorials out there so you will have to learn them through a mentor or through the ROBLOX documentation, or through DevForums.

  • @warsin8641
    @warsin8641 Рік тому +1

    What game was that at 0:48 it looks so beautiful 😻

  • @govnolep
    @govnolep Рік тому

    Bro really brought up for honor 😭😭😭

  • @kris_kritchai_sanguandeeku6104

    Very noice

  • @sloosh8Archive
    @sloosh8Archive Рік тому +2

    lordsendo?

  • @mannylovesmusic
    @mannylovesmusic Рік тому +2

    Ik this would be hard to implement but executions would be great to add

    • @mrmoonlight1001
      @mrmoonlight1001  Рік тому +1

      Executions are actually pretty simple to do, i'm not sure why more ROBLOX games don't add them. I'll probably give it a try. I think the issue comes with when your execute anim is like 5 seconds it breaks immersion when someone trys to hit you and it either doesn't work or you take a bunch of damage for free

    • @mannylovesmusic
      @mannylovesmusic Рік тому

      @@mrmoonlight1001 ig the solution would be to make it cancel once you are interrupted by sombody else but I am not a developer so idk how hard that would be to make, but overall the game you have made so far is already a great system and idea and I would definitely play it when I can.

    • @aank8335
      @aank8335 3 місяці тому

      @@mannylovesmusic Its really easy in reality, just make the "server related execution stuff"(like damage or stun) dont work if you're stunned and disable all the animations and effects when you get hit
      but the real problem that stops devs into making better combats are animations
      Im doing a pretty unique combat myself for my game and animations are always a pain in the ass

  • @ElayesKendrick-Gerhart
    @ElayesKendrick-Gerhart Місяць тому

    "gooey"

  • @nayef205
    @nayef205 Рік тому

    Hope its lit 🔥

  • @crunchothspinejustins.6148
    @crunchothspinejustins.6148 11 місяців тому

    what is the song in this video? i recognise it from fantastic frontier

    • @mrmoonlight1001
      @mrmoonlight1001  11 місяців тому

      It’s part of the graffiti kingdom OST. Don’t remember what the name is though but that game has a ton of bangers

    • @crunchothspinejustins.6148
      @crunchothspinejustins.6148 11 місяців тому

      @@mrmoonlight1001 ty bro

  • @ciphergg_3900
    @ciphergg_3900 Рік тому

    Question: will it be available in mobile?

  • @KIZOKAH
    @KIZOKAH Рік тому +2

    What game is that in the first clip

    • @shopens
      @shopens Рік тому

      bump i wanna play it too lol

    • @mrmoonlight1001
      @mrmoonlight1001  Рік тому

      Call of Chivalry. Game is completely dead though and gets 0-5 players, you will have to play against bots or call up a few friends

    • @KIZOKAH
      @KIZOKAH Рік тому

      I have a lot of friend to play with thank you moon or cabb

  • @AvoTheColt
    @AvoTheColt 10 місяців тому

    I need to Lear how to do stuff like this

  • @Moon-kq7mb
    @Moon-kq7mb Рік тому +1

    Not me playing project slayers cuz of boredom 😭

  • @eterum1204
    @eterum1204 Рік тому +1

    You better make luau tutorial fr

  • @danhthai4321
    @danhthai4321 Рік тому

    HES BACK FROM THE DEAD

  • @FriendsLikeSolace
    @FriendsLikeSolace Рік тому

    For honor inspired?

  • @officerjohns9554
    @officerjohns9554 Рік тому

    now in days, roblox games are getting to the quality of triple a games, which shows that multi million companies are not putting actual effort in their games, even when they can.

    • @FriendsLikeSolace
      @FriendsLikeSolace Рік тому

      The big issue is Roblox Lua, which is limited. Good for simple, bad for complex. However if they swapped to C sharp or Java, all the games would not work right now

  • @notkai5634
    @notkai5634 9 місяців тому

    BRO SAID ROGUE LINEAGE HAS GOOD COMBAT

  • @rhyssharkey6205
    @rhyssharkey6205 Рік тому

    I know you probably not make it mobile compatible? But please, prove me wrong. (Also, I’m not a self-righteous, moron, I understand that making a game is not only incredibly time-consuming, but making it mobile compatible goes the extra mile and I personally would love to see it.(

  • @sach1no
    @sach1no Рік тому

    do you have a discord server

    • @mrmoonlight1001
      @mrmoonlight1001  Рік тому

      Yep, it's completely dead now though. I'll try to make an effort to revive it when I start consistently posting again.

  • @emmyy-chan4309
    @emmyy-chan4309 3 місяці тому

    Looks like for honor combat

  • @ronflexy1479
    @ronflexy1479 10 місяців тому

    you should smoothen up the game cause it looks a little stiffed

  • @idontlikedont
    @idontlikedont Рік тому

    what happened to cabbagelord?

  • @roblox_boi8913
    @roblox_boi8913 9 місяців тому

    has bro never heard of combat warriors

    • @Aidiot565
      @Aidiot565 9 місяців тому

      It’s parry sucks

    • @aank8335
      @aank8335 3 місяці тому

      From what I've seen, hes probably using the same hitboxes (Raycast trails following the weapon blade)
      and though im doing a combat myself similar to combat warriors, I'd admit combat warrior's combat has pretty big problems
      Like balancing, parrying, etc

  • @reckless-king
    @reckless-king 5 місяців тому

    What's the game 0:18 called

  • @dude77812
    @dude77812 Рік тому

    Mrmoonlight plz make pilgrammed bulids and about da content update plzzz ur too late!!!1!!1!1!1!!!!
    Edit:Sample Text.

  • @user-cs6dx2zk3u
    @user-cs6dx2zk3u Рік тому

    Where’s cabbage

  • @kan216
    @kan216 11 місяців тому

    Teach me how to script😢

    • @aank8335
      @aank8335 3 місяці тому

      thats not an easy task lol
      and there are a bunch of tutorials out there
      heck even the roblox wiki or docummentation can help you learn easily

  • @a987a
    @a987a Рік тому

    what happened to cabbage lord

    • @purpleey
      @purpleey Рік тому

      he is cringe

    • @a987a
      @a987a Рік тому

      @purpleey turns out sendo scammed cabbage of all the money they earned together and then ghosted him. as you can see by the name of the youtube channel, you can tell they are not collaborating anymore

    • @purpleey
      @purpleey Рік тому

      @@a987a how do u know sendo scammed him

    • @a987a
      @a987a Рік тому

      @purpleey was watching a agamatsu's stream a while back and he talked about how sendo had been hoarding the money they got from youtube telling cabbage how he needed to buy a new pc. cabbage and sendo being friends, cabbage agreed but once they made enough money for sendo to buy the pc, cabbage obviously wanted to be paid for the money they made. cabbage then kept dming sendo but sendo just ended up ghosting him. idk what happened after by judging by the channel name, i doubt they are friends anymore.

    • @purpleey
      @purpleey Рік тому

      @@a987a oh wow

  • @kellerkerr3249
    @kellerkerr3249 Рік тому

    Return to deepwoken

  • @PhantomicZl
    @PhantomicZl Рік тому

    Is it just me or pilgrammed is getting boring

    • @gamingchair9305
      @gamingchair9305 Рік тому

      Yea they need to add new boss

    • @PhantomicZl
      @PhantomicZl Рік тому

      I agreed but pilgrammed dont take your money like is free no like p2w stuff or whatever

  • @ImUkoo
    @ImUkoo 8 місяців тому

    so exploitable lmaoo