Adding a Crafting System to my Game || Keeper Devlog
ฝัง
- เผยแพร่เมื่อ 25 ส.ค. 2024
- In this video I add crafting to my indie survival game. The original idea was to have a UI where you can select items to craft, but I decided to just allow the player to smash two items together to create a new one. I also added in the ability to travel the ocean and I'll talk about the music for the game, made by AJ Booker.
The game is made in the Unity engine. Pixel art is made with Aseprite.
Follow AJ on Twitter! / ajbookr
Follow me on Twitter! / nextprogramyt
Join the Discord! discord.me/nex... (if link doesn't work, check newer video)
(Next Program)
Hey everyone, a few things I forgot to say in the video.
1. I'm planning to have some giveaways for free copies of this game once it's released. That'll be happening on Twitter, so you can follow me if you're interested. Link in description
2. In the last video I said I wasn't going to upload for another two weeks, but then I only waited a week and two days lol. This time I'm actually going to stick to two weeks because I've been really really busy and I actually have not done anything for the past few weeks that wasn't university work or this game ahaha. I also have midterms next week so there's that.
Thanks for watching! -Mickey
Edit: Also if anyone is interested in subtitling these videos, please contact me
OMG OMGOMGOMG I NEVER GET REPLIES FROM THE TH-camRS
If you still have the flipping collider issue with the rocks, you can put the both the sprite and the collider as childrens of the player, and just tweak the rotation of the sprite children, in that way the collider doesn’t rotate, but it will still work as a collider and stick to your player. Can’t wait till your next vid!
i dot have twitter because im to young but i do have an idea for your game: you should add a menu screen so you can choose difficulty and stuff, and multiplayer so you play with your friends (the multiplayer might be to diffacult but you can try and if you cant do it it fine. )
Dude, make a music slime NPC that has a banjo in it and plays music
I sent this message on Twitter but I'm going to say it hear too
I will subtitle your keeper devlogs (and your other videos if you want) I just dont know how to add it to your videos but I will manually write out what you are saying and at what time in the video you are saying it (or you could tell me how to add it to the videos if that's easier)
I love your caveman crafting where you just bash items together
Haha I didn't think of that, I guess it's fitting
Cave men be like
it’s kinda like 1 hour 1 life’s crafting but better and simpler 😂
Haha 1 hour one life gg
It reminds me of Growtopia
Fun times...
The “1” which shows the player how much of an item you have looks like a “7”.
Other than that noice work my dude!
I went to write this and of course you had the top comment :P very convenient.
I totally agree with this
agreed
Yeah next program should probably take off a pixel or two from the top of the "1" 's texture.
I didn’t know such a basic comment would be so popular! :3
nextProgram: "idk who you all are or how you found me"
new subscriber's: same
TH-cam algorithm: 'cAll mE gOd'
Lol Algorithm needs to hurry up and pick me up
oh man
You ahh
Yep
Dogy
Sticking with channels like yours keep me motivated. I started learning Blender couple days ago, so I hope you'll continue doing your game. I'm interested where it will go.
Keep at it! Good to hear I'm motivating someone. Blender's great, my next game will be a 3D one I'll be using that to make my models
@TakeshiPL the most important is to keep going and don't look for pro work and say why my work look like them just do what you can do and enjoy it , with time you're gonna improve
@@7bel666 Yeah, I agree. I know I'm not going to be that good at Blender and I don't mind. I just need to be good enough to make models to my game.
you should do a craft for the boat so that it is only after a few minute or second of grinding that you can actually travel in the ocean
It would be a real problem if you spawned on an island with not enough resources for a boat
@@konstantinbudzhanski2774 I'm sure you can make it so whatever island you spawn on is guaranteed to have the bare minimum amount of required resources to leave
I've wanted to make a game like this for years, but have never found the time or skills to do it. I am so happy that I can watch the progress of someone else trying it. Please continue! I would literally pay money for this game.
Thank you haha, that’s so nice. People like you are what I do them for
I litteraly just finished watching you second dev log and then you just uploaded this
Very good yes
Fate lol
nextProgram by the way I think it would be cool if you could make a crafting bench instead of just throwing the items on the ground (keep in mind that I’m very bad at stuff like this and I don’t know how hard it is) but either way keep up the Good work👍
me too :v
@@shaner_lad5076 I probably won't make a crafting bench, but I had a similar idea where you can make a cauldron to make potions in
It’s so much fun creating game pipelines like this. Those hours of work turn into callable snippets of code that can be cycled as much as you want. You’re building worlds...
Funny you mention that. One of the reasons I wanted to be a game designer is that I was playing Super Mario Galaxy and I wanted to create worlds like the creators of that game did
Hi! I've found your channel by searching for devlogs, i'm learning unity and it's super inspiring to watch devlogs, specially when i like the concept of the game, and watching how everything comes together is amazing. I liked a lot the cafting system, tbh i've never seen something like that and the fact that the player turns to a boat just feels like it was ment to be that way, as always, keep up the good work! Greetings from Argentina!
Awesome, thank you!
I really like literally throwing the items at each other on the map, rather than being a GUI or something. Definitely keep that!
It seems that game development videos on TH-cam are getting more and more popular. Also love these devlogs you're making. Keep up the great work!
I really like the crafting system! It's very original and fun to use. You know, a player might just start throwing different objects to combine them and see what outcome they get. It's really fun.
Keep uploading the videos, I like how this is evolving :)
Cool crafting system dude! That crafting system code looks super clean and efficient.
Hey thanks! It's cool how we've grown together. I've been watching your videos since you had a couple hundred subscribers a few weeks ago
@@nextProgram Yeah, with quarantine and stuff a ton of game dev youtubers have been exploding.
im hyped for the next ep idk why youtube is recommending indie devs to me but im not complaining
This guy is so under rated,
I know a talented coder when I see one and his style and format of how he does his videos just got me excited, one after the other I found myself clicking his videos and being sad when I found out this was his last, but i'm excited for the next one.
One day, I wish I could code like this.
Aw that’s so nice, thank you!
This channel growth is insane, awesome work man! Looking forward to following this project 😄
Thanks a ton!
Oh wait I did not realize that was you. I love your Lumbermill videos, I've been watching them for a long time haha. Thanks again for the nice comment!!
The delay of the camera is good but to big. You should definitely keep it but change it so the camera isn’t so far behind.
Will you make a bigger game out of it or keep it small?
However as always a great video and I’m keen to see the changes in the next video
Thanks for the feedback. I'm going to keep the scope somewhat small. I'd like to have it finished by around the 7th devlog, so about 6-7 weeks from now possibly?
Also make so the camera goes where the player is going.
@@numero7mojeangering Like make it over-shoot a little and then pull back.
@@Jellyjam14blas No, just calculate a point where the player is going. For example you take the player velocity multiply by for example 2 seconds and add that to the player's position. Then you make the camera goes to that point, and voila! You have a camera that goes where the player will go in 2 second! (this is a bit exagerated)
nextprogram your game is already coming gratefully
i love when random devlogs show up on my recommended! this is like, the sixth time
anyway, this looks promising and i'm excited for more! good job :)
The Ocean Music sounds great! Nice improvements :) I can't wait for the next video
Yep thank AJ! ^^
Hey! I love the style of the game, it looks really cute!
For the pointer, I like the little transparent circle that shows pick-up-able items! I think that it'd be cool if the square tile selector (the yellow one with a tile range of 2) would turn gray and transparent if far away as well. I think that it would convey that you can't select something from that distance just as well as it disappearing, but imho, I think that it spontaneously vanishing looks a little odd. Of course this may just be me, but I don't think it'll hurt to experiment with it!
Great progress, and I think throwing two things together to craft is adorable!
cool mechanic, this is really fun to watch!
I appreciate it!
yes it is
@@asaphmatis991 Your image looks familiar
Micronos I wonder why
It makes me feel so much better knowing that other people also struggle and take a long time on things that seem like they should take 10 mins to figure out and implement xD. Awesome work! I'm loving these dev logs.
It's turning out really cool! I'm also making a game with my brother, even tho it's totally different (a fps) is really cool to watch the process of other developers. Anyways, good luck with the project, looking foward to it ^^
I have a few ideas:
A. The Pink dinos should be NPCs. Maybe they could help (read: "automate") building and crafting Maybe make variations, like green water ones, and red semi-aquatic ones that can carry you around. A zombie version that's gray with purple eyes.
B. Keep in the collision changing with rotation as an Easter egg, to find some secrets.
C. Take the spear and shield off of the default sprite. Add them in when you equip the respective item. Right now it's really confusing.
Can't wait to see more!
I love what you're doing, i really want you to elaborate on an exploration aspect like breath of the wild with big bosses and better gear, this game looks so cool keep the videos comin
This is the best Indie Game Devlog I've ever seen! Great job! I had a simillar Idea for my own game but then I saw your first Devlog on the YT Page and clicked on it. Now i code a Tower Defense like Game. Go on!
I found you by just being interested in Dev Log videos, cause it keeps me motivated
and interested in what other people make :)
Keeper is looking awesome :D
I have some suggestions:
- You should change the '1' number in the inventory because it looks like a '7'.
- If you smash two rocks together a sharp rock will be produced which should be combined with a stick to make a spear.
Looking forward to next upload :)
p.s.
ru milk gang or oj gang?
i milk gang ;)
mjølk gang
OJ gang... sorry.
water
For recipes, use a map rather than a list - searching using a map runs at the same speed no matter how many recipes you have. A specific implementation could use an unordered set of all the items in the recipe, in this game a pair, or ordered if you want the item thrown to make a difference. Map this set to the resulting item crafted, and search the map using the pair as the key and the resulting item as the value whenever two items collide. This is especially useful since it allows for searching to be super quick with an infinite amount of items, and prevents searching through the entire list if an item doesn't exist since the mapping will just return a null value (no recipe) without having to do a full search through a list.
If you want to add mod compatibility, this is especially important as mods could add hundreds of thousands of recipes (such as Minecraft) and doing linear time searches through a list is slow enough to cause frame drops at those sizes - maps scale practically infinitely and suffer from no such drawback, and take up practically the same memory footprint as a list of recipe structures, if not less!
I really like watching your videos, because since you cut out the hours of getting something to work, we just get the best part, when it finally does work. And for some reason i find that super satifying, especially because im also working at a topdown survival game and i can relate some of your problems.
I LOOOOVE that keeper devlog! Can't wait for part 4!
Coming soon!
I really enjoy watching your Keeper Devlogs. You're a great programmer!
Thanks!
For the tile box cursor you could Lerp the position rather than snapping immediately to the grid position. Might look more polished or it could end up looking weird, but I think it's worth testing.
4:48 sticks and stones will... Heal my bones?
I just love the style!
IDEA: make it so you can crap the cape. You could harvest grass to make fiver and use it to craft clothing. You could also make a mining system where you dig a hole with a shovel, then craft a ladder and by standing on it you are taken to another scene where you can mine blocks and expand to find minerals. i hope this ideas are helpful, keep it up
The concept of this game is so weird but also really cool. I like the idea and I like this channel so I subscribed. Keep doing what you're doing because it's amazing!
Hey, love the progress, so far. What if you would make it so when 2 craftable materials collide, instead of immediately transforming them into the result, transform them into a Result's Prototype. So if you combine a stick and a rock you will get a Stone Spear prototype. And if you pick it up you get the spear or you can continue adding resources and changing the output result. That will allow for much more complex recipes in my opinion. Keep it up!
Hell yeah! Was waiting for this, kept having DevLog 2 suggested and would get excited only to realize I'd been bamboozled.
Just found the channel, crazy to see how much you've grown just since you made this video. Loving the content and looking forward to seeing what else ya put out.
Also, yeah, Dr. Racket is an... interesting IDE. We had to use it in our CompSci courses too. Glad to see you chose the correct color scheme too! ;)
you are blowing up! Awesome to see the progress on your game. Inventory/crafting sure is really hard to pull off, but yours looks nice and intuitive. keep at it man!
Hey thanks dude! You keep it up too, are you making a video on that time-stopping game you're working on?
@@nextProgram as we speak! I should be working on the game but as you know making a youtube video takes HOURSSS
@@daichi_devs I know that all too well ahaha
this game looks cool
i rly want to play it
Congrats on +2k subs in the last day, you’re content is great!
Thanks a ton!
nextProgram also I think your art is great so ye
The camera is one of the most important aspects of game development I think. A bad camera can completely ruin the player's experience.
I advise you 2 ways to make your camera:
- Center the camera on a relative point between your player and the cursor (play on the distance from this point between the player and the cursor and the speed of movement of the camera to see what works best) this camera works well for top down shooters and it could also go very well with your game with a decentralized camera close to the player (maybe 10% of the distance) if close combat is more frequent than long distance combat.
or
- Keep the player's back close to an edge of the screen and therefore center the camera towards its walking direction
I think the first way is better it gives a bigger feeling of player control.
Also sorry for my English, I am French.
Good luck for the future !
Hey ,I thought of some type of Hostile monster ,and some combat ideas!
Maybe you can make some kind of elemental monster (like the slime but different) that give's you effects (poison ,nausea ,etc).
And for the combat idea ,you should add knockback.
Could also add death sounds for the monsters ,and for the player. If the player dies ,he respawn at the campfire ,his loot remaining at his corpse ,which can be turned into an zombie that needs to be killed for the loot!
Thank you for listening to me :D
this boat travel is so RPG Maker 2000!! haha. good job
Haha I'll take that as a compliment
Your Game looks so fun to play! Awesome!
Hey man! TH-cam must've noticed that people are watching your videos from start to finish, and gamedev channels get loads of views, so the algorithm started sharing it with other viewers who watch gamedev channels. Basically, keep uploading frequently and you'll keep growing!
BTW, love the channel and the videos, keep it up!
To fix your collider bug, the one that allows you to fit in small places, chance the collators geometry to a sphere and not a 2d plane on the character. Or something similar
I commented a lot in this video but throwing items further according to how long you press them might be a fun little mechanic too!
YT Recommended brought me to you, prolly because I'm making a Bomberman clone and I search every nook and cranny of it! Good luck!!!
Loving these videos! Please keep them coming, it's interesting to see how the game is developing. Also, this is 100% something I'd enjoy playing! :)
Also since it’s a smallish game , if you want it to be replayable you could make it in a similar style to games like realm of the mad god, not necessarily multiplayer but certain areas there are bigger bosses to grind for, grind for better weapons that drop from better bosses and maybe a levelling or stat system, as it’s a survival game instead of RPG maybe combine it so you get rarer resources from bosses to make better armour, fight even harder ones etc, this may take a while but just some random ideas! Keep it up either way love the vids !
The shaking of a window is actually a windows os feature. It will minimize all windows except the one you shake. Shaking it again will bring them all back up.
You can disable this in the registry though. You'd have to look it up as it takes some digging but that "feature" is really annoying and I disabled it quite quickly haha :)
Ps your game is looking so good! Love the pixel arts! Aseprite for the win :)
Honestly you could use an action keyboard button for gathering/destroying natural resources (the "range" being 1 tile in the front of the character).
With the limited range mouse selection system, it looks quite clunky and unnecessary
One thing I've learned making games so far is that, the more you can simplify your controls, the better.
The possibility to play the whole game only using the keyboard makes it really accessible and consistent, for all kinds of people.
(eg.: using 1-4 number keys to select items from inventory, and so on)
Also, the camera smoothing feels a bit unnecessary as well. As most games in the style (retro tilebased open world) have fixed cameras (either to the whole layout or fixed to the char's position). Or at least make it really subtle (like only a few ms of delay to centralize to the char).
best of luck,
And the crafting system looks really cool
Bruh your game legit looks sick even though its still on development can't wait for the final result.
Dude this gives me a board game vibe. I think that would be cool. I dont know even know how it would work but it feels that way lol.
I LOVE how the character just turned into a boat on the water, I have no idea why it was soo great, but yep
Really enjoy the simplistic art and running looking much better .Awesome work !!!!
Glad you like it
Your game looks neat, mate, keep it up! An idea for your poison potion: it could give the player some temporary advantage in exchange for that bit of life. Like additional speed or strength.
This looks great! I personally prefer the old camera, but you're making great progress! Also, the cave idea on your potentials list sounds interesting. Can't wait for the combat update!
Cool, thanks!
Man I love this pixel art and the islands look awesome!
I have a couple of idea’s.
Maybe is it a idea to have like a “starters island” (like the great plateau of Breath of the Wild) were you learn the basic's of how to craft. (it doesn't spoil the whole game when you just say: "here is how to craft". So that would prevent you from missing importnat information in the beginning.
And another suggestion: Instead of just instantly have the ability to go anywhere with your boat. You have to craft the boat first.
My last idea for now is to add fruit to some of the trees. Which you can then turn into salads when you combine different kinds of fruit (from different parts of the generated world). That would add a higher urge to explore. The better the fruit and combination, the better restoration of health.
Btw, the game looks very nice! :) Keep up the good work!
That's a cool idea, good job gamer
It's always a good time to watch pixel games in progress, nice profile picture :))
Thanks!
Nice content btw. Just a tip for the camera: Anticipation. If you move to the right accelerate the camera towards that direction and decelerate when it is like 1.5x from the center. So you avoid the sickness of heavy follow, the hero can see ahead towards his direction and the camera can tell a history too
Enjoying the content! Keep it going, and good luck with uni.
Also, in regards to your course dev program: not sure of you were making a joke about Windows aero shake, or if aero shake is legitimately crashing the program when it tries to minimize. In either case, you can disable aero shake!
Oh I had no idea that was intentional, lol
I just saw your video in my recomended and the thumbnail looked cool and it was about programming which i enjoy so just clicked it and the video was also good. Keep it up. The videos are fun to watch.
I found you because of this:
I started creating a game exactly like yours:) I searched a ton of tutorials, and I think the youtube algorithm was thinking your channel is relevant to me, and it is, I really like what are you doing, I actually wanted to give up, but after seeing you videos:) ....mann is 00:12 in my country (România) tomorrow I'm going hard:)
Your videos are very inspiring! Thank you for making these!
Thanks for watching them!
I like the sprite changing to a boat when on water. very much reminds me of the first Ultima game.
here are some ideas i think you can use :
1.you can craft the health potions from flowers t
2.you have to click on the resources a couple of time before getting the material
3.make potions that give you an ability (such as:getting faster/stronger) that look exactly like the poisonous potions so the player has to test his luck
I love how your game is coming along! If you keep this up I'll definitely buy this.
Thanks, will do!
This is awesome man, love the art style especially!
Nick Niles thanks!
Advice for your crafting system. Look at using scriptable objects. You will find out quickly how complicated it is to manage many recipes. The useful thing about this is that you can have a folder called Recipes and just right click and create new recipes in seconds. Therefore you can name recipes and change them without redoing a ton of things. I like the progress so far though :)
unity indie game devlog is what i searched to find you and so far i love your videos :D
Glad you enjoy it!
I think it would be epic to add a funny, big hammer.
Unless you don't want to, its all good dawg, cant wait to see the game progress.
The slower view is a good idea, but keep in mind that the player probably want to see more where he is going and less where he is coming from. Your camera does that in reverse. You could also make the go in between the player character and the cursor so the cam looks where the player has its cursor.
This is the first of your videos I've watched, but you, my friend, have me hooked!
+1 Subscriber
Welcome!
What an original idea! I'm absolutely looking forward to playing this.
;)
For the camera movement, try adding a overbounded tween to the camera movement. This consists of tweening the camera to move just beyond the player's position by setting something like (1.01 * player's change in position vector) as the camera's tween target, then stopping the camera movement and correcting it to snap to the player's exact position when it exceeds the player's position to achieve a smooth camera effect that locks on to the player's exact position
it’s really fun to watch these videos
Love this series! By the way, that shaking the window thing is probably related to an obscure new windows feature that minimises everything when you shake windows.
itch.io and newgrounds would be good option for releasing the game. make it free for now so it gets popular but allow donations.
hey man! im a programming student as well and i love your game! dont stop posting dev logs and dont give up this passion! if you stick with this, you'll succeed. Good luck!
Thanks, will do!
Found you while I was searching for fresh indie game devlogs a few weeks ago!
You Chanel is blowing up, keep it up budy 👍
Love how the game looks, hope there’s a bigger building aspect in the future!
I can try and make that happen, lemme know if you have any ideas!
nextProgram hey! Did have a couple, since the game is about protecting a fire, how about there be a mob that wants to destroy it, and you can build a type of fence that, when (and if) they come at night, it slows them down. A type of pixalated ray shield could do but this game seems more primitive themed. If you decided to add housing, walls, etc something that imo be interesting would be ladders, stairs, small chests and beds to add a depth to building. Hope you like the ideas, really like the game you’ve developed so far
It's really coming along
I had a crafting suggestion. Maybe add a anvil tile to place in word. So accidental crafting isn’t an issue. I really love your game though. It’s unique and already off to a great start. Can’t wait to play
This has been a really cool process to watch! As far as I can tell, you're doing a really great job and I can't wait to see more! I think TH-cam knows that you need a following, so here we are! (Also, good luck in class!!)
Thanks a lot!
This game looks cool, I'm looking forward to try it once finished or ready to test.
Minor tweak I thought about while looking at the code on 4:26. I think this is a perfect use case for a hash map, if the list of items is too long it may eat performance. But then again maybe is too early to do performance tweaks. Loving the progress on the game dude.
Hmm I've never used those before, I'll look into that!
Keep these up man love watching how it’s coming along!
Cool video
This game has potential to be like a terraria or minecraft
This game really reminds me of forager. Great work so far
Ok, idea: when you throw 2 things at each other there will also be a little UI menu like “are you sure you wanna craft Spear” so that way if you want you can create 3 item recipes and stuff
This is really great! I love the crafting system! The only thing I would change is to remove the outline from the hearts, sticks, spears and the boat. I think it looks kind of weird if the rest of the game is smooth, without a black outline but specific items have black outlines. This also counts for the enemies, but for those it kind of works because they are supposed to stand out I guess? Maybe you could give them softer outlines, which are not completely black? I also think it might be a good idea to add Hotkeys for selecting specific inventory slots (1-4)
You can implement something like traveling merchant, where you can buy some hard to get resources, maybe bow, and you can build out of logs and with new item, leafs you can build roof. Also night and sleeping system. Maybe building some pillars and then building on them in water. I really love your channel, I shared it with my friends and they love it too. I think this has a very good future, continue your work and you will be super sucesfull.
Thanks so much!
The music track sounds great :)
3:39 good sound track actually