Lost and Tiny - Devlog #003 - Inventory System

Mockin'Bird | Lost and Tiny (Currently Inactive) |

2D game about Ants who are sent on missions to unknown areas to retrieve objects and flee before killing any possible threats they encounter along the way.

  • View media
Post news Report RSS Lost and Tiny - Devlog #003 - Inventory System

I researched various inventory systems before finding one that came close to meeting my objectives. While there remain issues I wish to fix later on in future updates, these will all come into fruition eventually.

I spent almost the entirety of last week creating an inventory. After finding an instructable on creating such an inventory system, which allows players to store items inside. Unfortunately, however, this wasn't how I wanted things to go; rather I wanted a system where players could choose up items by pressing E rather than having their computer automatically pick them up as seen below in this file.

As I am not a programmer, I do not yet know how to go about doing this but am confident I will find an answer eventually - something like this should be straightforward and achievable! For now though I just wish that the main idea could be carried out; having players walk, jump and grab items then bring them safely back home again is my primary aim.

As seen in my inventory scripts, whenever my character faces left-side they often end up on the wrong side, as though their spawner were not shifting with it in accordance with correct direction - hitting instead my player behind instead!

As I write, it has come to my attention that when my player would throw items out, their collider would collide with him/her and cause a push back effect. My solution for this issue had been adding a sentence in script to push back item spawning by several frames; that seemed to work fine until recently when another script sentence added that stated they should appear further from him, instead. Now though, as I reflect upon that code portion more fully I realize perhaps another sentence needs to update its position to match with whatever direction the player was looking in - this detail needs further exploration when corrected in addition to more important tasks at hand; that can wait till later as well!

As part of my next step, I plan to program the ants so they can walk along walls as is characteristic for them. Furthermore, I need to figure out how their enemies try and catch up to them; all insects possess great crawlers/climbers/fliers abilities so I'd like them to possess near AI level intelligence so they are the most formidable enemies I can create with what little programming knowledge I possess.

As soon as I finish adding in idle, running and climbing animation, that would be amazing... Oh well! Thank you all anyway for being here; it means so much being able to work on this and actually making progress! Stay tuned - more updates coming shortly. Take care all! Thank you again and please take good care in taking care of each other and yourselves.

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: