Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename some things to be more pico8ish #92

Open
Shadowblitz16 opened this issue Dec 1, 2021 · 2 comments
Open

rename some things to be more pico8ish #92

Shadowblitz16 opened this issue Dec 1, 2021 · 2 comments

Comments

@Shadowblitz16
Copy link

warning -> warn
setfps -> fps
_keyup -> keyr
_keydown -> keyp
_textinput -> keyc
_touchup -> touchr
_touchdown -> touchp
_getcursorx -> curx
_getcursory -> cury
_getpicoloveversion -> ver

@Shoozza
Copy link
Member

Shoozza commented Aug 28, 2022

While the names could be shorter, they probably should still start with _ to indicate they are not compatible with pico-8.

@Shoozza
Copy link
Member

Shoozza commented Aug 28, 2022

It might be good to only enable them when included.

Something like #include picolove-extensions.lua.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants