Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Enhancement: constants? #127

Open
SanjivanM opened this issue Apr 16, 2019 · 3 comments
Open

Enhancement: constants? #127

SanjivanM opened this issue Apr 16, 2019 · 3 comments

Comments

@SanjivanM
Copy link
Contributor

Adding in constants would make it easier for game devs to use key movements without the need for referencing the keymap for ICE. Even if adding specific tokens wasn't possible (like det(99,1) is the key that has a value of 1), having var names be recognized as constants, like KUP = Up arrow, etc?

@PeterTillema
Copy link
Owner

What do you think about the ->-> syntax? Then variables can only be stored once to, like 5->->KUP with only a constant/expression with only constants.

@SanjivanM
Copy link
Contributor Author

I like it! It's clean, dynamic and easy to remember! Sounds like a great addition!

Also, once you get all the keycodes placed into various prgms (I envision me making a library with arrows in one prgm, numbers in another, etc. I'll post a topic about that...) It's as easy as Asm(LIBNUMS!

@SanjivanM
Copy link
Contributor Author

bump

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

No branches or pull requests

2 participants