Removed initial player creation, replaced with a function that creates a character.
Added ability to generate NPCs by pressing [Interact Key]
Added key binds
Added NPC wandering and ability to say hello upon interaction
This commit is contained in:
Zaponium 2023-08-30 04:08:03 +02:00
commit f17795c911
2 changed files with 130 additions and 29 deletions

View file

@ -1,3 +1,4 @@
main = require('main')
function gravity(object, dt)
if object.bools.isAirborne == true then
object.physics.airtime = object.physics.airtime + dt