NPC Trial #1
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:
parent
1c2fb970bb
commit
f17795c911
2 changed files with 130 additions and 29 deletions
|
|
@ -1,3 +1,4 @@
|
|||
main = require('main')
|
||||
function gravity(object, dt)
|
||||
if object.bools.isAirborne == true then
|
||||
object.physics.airtime = object.physics.airtime + dt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue