Game Developments
I have never done anything "Majour" in the coding world but here is the first
thing i had ever done. My friend was creating a small game on Roblox
Studio (LUA). we were new to coding and making games so the smallest tasks seemed
large (We've all been there). We decided to add a "Sprint" feature. This was
a quite easy task by writing some code to increase the player speed when
the shift button was pressed.
A feature of the game was to search an object looking for a key, We both had
no clue on how to add this feature. Eventually i turned to multiple forums and
videos on how to add an interact button that you had to hold down. We added an
animation to this too so when "E" was held the player would search through some
drawers and cupboards to find a key to escape a room.
In the latest updates of Roblox Studio an interaction prompt can now be imported without any coding needed.
Comments
Post a Comment