Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

DragonRuby Game Toolkit

An intuitive 2D game engine. Fast, cross-platform, tiny, hot loaded. · By DragonRuby

Keyboard Inputs Help

A topic by Peepo created Jan 03, 2020 Views: 279 Replies: 2
Viewing posts 1 to 2

I'm sorry this seems so basic, but i copy pasted the example on the website about moving the ninja sprite with the keyboard left and right key but when i run my file and press either one I receive this error. Can anyone explain to me the simple basics? Thanks in advance.

Developer (1 edit)

Sorry about that. I reviewed the landing page code and updated it.

Change any occurennce of game to state and that should fix your issue. Come to the Discord channel and we can help you there too :-)

It works! Thank you so much! I will check the discord channel later on. As a totally beginner programmer, I am so fascinated by your work and hope to release something one day, Thanks a lot guys:)