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

Sprites #5

Open
SiXoS opened this issue Aug 17, 2021 · 0 comments
Open

Sprites #5

SiXoS opened this issue Aug 17, 2021 · 0 comments
Labels
bytecode This requires a change in the bytecode enhancement New feature or request

Comments

@SiXoS
Copy link
Owner

SiXoS commented Aug 17, 2021

Enable use of bit sprites. Suggestion on language implementation:

sprite player "images/player.bmp"

// code

run {
    createSprite(10, 10, 100, 100, player) // player is just an alias for some id, createSprite() should return shape
    // more code

Add a note in the docs that creating a very small sprite image and then scaling it up in codes saves a lot of bytecode storage.

@SiXoS SiXoS added enhancement New feature or request bytecode This requires a change in the bytecode labels Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bytecode This requires a change in the bytecode enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant