Skip to content

attempt to index a nil value (field 'velocity') #26

@arch-linux

Description

@arch-linux

I understand that your project's purpose is not to serve as a Playdate project example.

As a newcomer to the Playdate environment, I attempted to utilize some of your codebase to help understand LDtk and also tried cloning the project. Both approaches resulted in the same error:

Update error: code/player.lua:59: attempt to index a nil value (field 'velocity')
stack traceback:
	code/player.lua:59: in field 'update'
	code/game.lua:76: in field 'update'
	main.lua:40: in function <main.lua:39>
01:12:20: Update failed, simulator paused.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions