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

  Рет қаралды 26,458

MrMoonlight

MrMoonlight

Жыл бұрын

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 Жыл бұрын
Your browser is holding you back. Level up here: mtchm.de/rrz6c
@Mr.Bigfeet
@Mr.Bigfeet Жыл бұрын
What game are you playing at the start
@Mr.Bigfeet
@Mr.Bigfeet Жыл бұрын
Awnser me
@mrmoonlight1001
@mrmoonlight1001 Жыл бұрын
@@Mr.Bigfeet Call of chivalry
@TEREXES
@TEREXES 10 ай бұрын
just switched to opera! ty man
@LockedInMiiso
@LockedInMiiso Жыл бұрын
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 Жыл бұрын
Was taking a break from a Javascript tutorial when watching this. Going back to the tutorial. Good to see you back!
@mrmoonlight1001
@mrmoonlight1001 Жыл бұрын
Thanks, and good luck with your learning!
@shadowredstone7123
@shadowredstone7123 6 ай бұрын
Great vid, excellently explained too. Keep up the food work 😁
@uph_older5903
@uph_older5903 7 ай бұрын
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!
@CristianNedelea-um6pj
@CristianNedelea-um6pj Жыл бұрын
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.
@Drkermies
@Drkermies Жыл бұрын
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 👍
@mrmoonlight1001
@mrmoonlight1001 Жыл бұрын
Thanks, I hope you have fun
@deadwind4105
@deadwind4105 Жыл бұрын
Man you explain stuff incredibly neatly
@mrmoonlight1001
@mrmoonlight1001 Жыл бұрын
Thanks
@imaniarthur
@imaniarthur 10 ай бұрын
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
@Vursosa
@Vursosa Жыл бұрын
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 KZfaq 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!
@AstraFK
@AstraFK Жыл бұрын
The Lord has been back 🗣️🔥
@agamatsus
@agamatsus Жыл бұрын
This might not be my favorite type of fighting but I'll give it a try!
@AstraFK
@AstraFK Жыл бұрын
ITS PLUGAMATSU!!
@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.
@ninjago86Gaming
@ninjago86Gaming Жыл бұрын
The game you are making might make me come back to Roblox if it is very unique!!
@Moon-kq7mb
@Moon-kq7mb Жыл бұрын
Awesome vid 👌
@pressebro5488
@pressebro5488 Жыл бұрын
Bro came back but this time he decided tô make his own game cool gl on making it
@sho3631
@sho3631 Жыл бұрын
yo this combat system reminds me of For Honor, it would be really crazy if u add a lawbringer or warden class
@pr0doxz410
@pr0doxz410 8 ай бұрын
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.
@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
@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.
@Zawaito
@Zawaito 7 ай бұрын
Hey bro, i want to do a direction input based magic system Do you know how to get mouse movement direction?
@DwellerGuy.
@DwellerGuy. Жыл бұрын
Looks promising
@pilgrammer
@pilgrammer Жыл бұрын
HES BACKKKK now when pilgrammed
@Biggest_Con
@Biggest_Con Жыл бұрын
No way a legend is back!
@sorrowless.
@sorrowless. Жыл бұрын
with the old bgm
@mrmoonlight1001
@mrmoonlight1001 Жыл бұрын
:)
@Moon-kq7mb
@Moon-kq7mb Жыл бұрын
Yessssirrr
@barnacolium6947
@barnacolium6947 7 ай бұрын
gooey
@sorrowless.
@sorrowless. Жыл бұрын
I'll give it a try
@mrbadzs
@mrbadzs Жыл бұрын
Cool
@TheDailyCraft
@TheDailyCraft Жыл бұрын
I'm trying to be like you, my boy
@mrmoonlight1001
@mrmoonlight1001 Жыл бұрын
U got it OG
@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 Жыл бұрын
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 KZfaq) Asking questions to my developer friend Watching Dev Logs on KZfaq, 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 KZfaq 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.
@TheWackiestChannel
@TheWackiestChannel Жыл бұрын
He’s back
@mrmoonlight1001
@mrmoonlight1001 Жыл бұрын
Yup!
@TheWackiestChannel
@TheWackiestChannel Жыл бұрын
He replied to me :0
@TheWackiestChannel
@TheWackiestChannel Жыл бұрын
Let’s goo I feel cool now
@TheWackiestChannel
@TheWackiestChannel Жыл бұрын
That made my day thanks :)
@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
@ElayesKendrick-Gerhart
@ElayesKendrick-Gerhart Ай бұрын
"gooey"
@ciphergg_3900
@ciphergg_3900 Жыл бұрын
Question: will it be available in mobile?
@D-boi-12415
@D-boi-12415 9 ай бұрын
Reminds me of mordhau mixed with warband
@mrmoonlight1001
@mrmoonlight1001 9 ай бұрын
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.
@kris_kritchai_sanguandeeku6104
@kris_kritchai_sanguandeeku6104 Жыл бұрын
Very noice
@mrmoonlight1001
@mrmoonlight1001 Жыл бұрын
Thanks!
@1brytastic
@1brytastic Жыл бұрын
Is this inspired by chivalry 2?
@mrmoonlight1001
@mrmoonlight1001 Жыл бұрын
Partly, more For honor
@qauzxi3849
@qauzxi3849 4 ай бұрын
bro lord sendo tbh we dont care still love your vids
@delayedstwr
@delayedstwr 3 ай бұрын
bro changed his entire identity
@warsin8641
@warsin8641 Жыл бұрын
What game was that at 0:48 it looks so beautiful 😻
@mannylovesmusic
@mannylovesmusic Жыл бұрын
Ik this would be hard to implement but executions would be great to add
@mrmoonlight1001
@mrmoonlight1001 Жыл бұрын
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
@AvoTheColt
@AvoTheColt 10 ай бұрын
I need to Lear how to do stuff like this
@sloosh8Archive
@sloosh8Archive Жыл бұрын
lordsendo?
@nayef205
@nayef205 Жыл бұрын
Hope its lit 🔥
@mrmoonlight1001
@mrmoonlight1001 Жыл бұрын
Appreciate it bro
@KIZOKAH
@KIZOKAH Жыл бұрын
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
@govnolep
@govnolep Жыл бұрын
Bro really brought up for honor 😭😭😭
@FriendsLikeSolace
@FriendsLikeSolace Жыл бұрын
For honor inspired?
@Moon-kq7mb
@Moon-kq7mb Жыл бұрын
Not me playing project slayers cuz of boredom 😭
@mrmoonlight1001
@mrmoonlight1001 Жыл бұрын
I feel you lol ROBLOX is not it rn
@Zain1ham
@Zain1ham Жыл бұрын
Agreed
@eterum1204
@eterum1204 Жыл бұрын
You better make luau tutorial fr
@mrmoonlight1001
@mrmoonlight1001 Жыл бұрын
Once I get better at scripting lol
@reckless-king
@reckless-king 5 ай бұрын
What's the game 0:18 called
@mrmoonlight1001
@mrmoonlight1001 5 ай бұрын
Call of chivalry
@reckless-king
@reckless-king 5 ай бұрын
@@mrmoonlight1001 thx
@idontlikedont
@idontlikedont Жыл бұрын
what happened to cabbagelord?
@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.
@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.(
@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
@danhthai4321
@danhthai4321 Жыл бұрын
HES BACK FROM THE DEAD
@mrmoonlight1001
@mrmoonlight1001 Жыл бұрын
Dead I have been
@danhthai4321
@danhthai4321 Жыл бұрын
dude came back after like 5 months
@ronflexy1479
@ronflexy1479 10 ай бұрын
you should smoothen up the game cause it looks a little stiffed
@notkai5634
@notkai5634 9 ай бұрын
BRO SAID ROGUE LINEAGE HAS GOOD COMBAT
@emmyy-chan4309
@emmyy-chan4309 2 ай бұрын
Looks like for honor combat
@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
@dude77812
@dude77812 Жыл бұрын
Mrmoonlight plz make pilgrammed bulids and about da content update plzzz ur too late!!!1!!1!1!1!!!! Edit:Sample Text.
@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
@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
@kellerkerr3249
@kellerkerr3249 Жыл бұрын
Return to deepwoken
@mrmoonlight1001
@mrmoonlight1001 Жыл бұрын
Lol
@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 7 ай бұрын
so exploitable lmaoo
Don't Breathe Part 10 | GAME RELEASED | ROBLOX DEVLOG
12:37
Programming Rarity is Harder Than You Think
12:31
ByteBlox
Рет қаралды 169 М.
ОСКАР vs БАДАБУМЧИК БОЙ!  УВЕЗЛИ на СКОРОЙ!
13:45
Бадабумчик
Рет қаралды 4,2 МЛН
WHO LAUGHS LAST LAUGHS BEST 😎 #comedy
00:18
HaHaWhat
Рет қаралды 17 МЛН
你们会选择哪一辆呢#short #angel #clown
00:20
Super Beauty team
Рет қаралды 32 МЛН
3M❤️ #thankyou #shorts
00:16
ウエスP -Mr Uekusa- Wes-P
Рет қаралды 14 МЛН
6 DEVS Compete to Make the BEST GAME for $10,000
38:22
Blackthornprod
Рет қаралды 476 М.
How to make YOUR dream game with no experience
11:31
BinzuDev
Рет қаралды 1,2 МЛН
[FOR SALE] Realistic fist combat system - Roblox studio
2:46
What Makes a Good Combat System?
17:25
Game Maker's Toolkit
Рет қаралды 1,8 МЛН
The Only Thing You Need To Learn How To Script
4:36
Ludius
Рет қаралды 145 М.
These Optical Illusions Are Actually Playable
17:25
ByteBlox
Рет қаралды 573 М.
Scripter vs 3D Modeler Game Swap
9:43
KashTheKing
Рет қаралды 275 М.
Games Where You're NOT the Main Character
14:52
i am a dot.
Рет қаралды 2 МЛН
Indie Devlog 1: Starting My FIRST Game!
7:44
CupOfTea
Рет қаралды 42 М.
DON'T Make a Roblox Game Without Watching This First.
27:20
SmartyRBX
Рет қаралды 475 М.
ВСТРЕТИЛ ПОУ В ЗАКУЛИСЬЕ Garry's mod
19:18
НУБАСТЕР
Рет қаралды 303 М.
Я КВ-44 - ЗАВЕРШУ ЭТУ БИТВУ - Финал
6:40
• Gerand •
Рет қаралды 617 М.
Sniper Duel | Standoff 2
0:54
Standoff 2 Live
Рет қаралды 677 М.