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

Mouse cursor #116

Closed
trelemar opened this issue May 5, 2017 · 4 comments
Closed

Mouse cursor #116

trelemar opened this issue May 5, 2017 · 4 comments
Assignees
Labels
enhancement Improvement of existing feature or adding something new
Milestone

Comments

@trelemar
Copy link
Collaborator

trelemar commented May 5, 2017

I think it'd be pretty cool if tic had an emulated mouse cusor. An 8*8 sprite you could modify in the config.

@nesbox nesbox self-assigned this May 5, 2017
@nesbox nesbox added the enhancement Improvement of existing feature or adding something new label May 5, 2017
@nesbox
Copy link
Owner

nesbox commented May 5, 2017

I remember discussion a month ago https://itch.io/t/69422/about-the-mouse

@nesbox nesbox added this to the 0.24.0 milestone May 9, 2017
@nesbox
Copy link
Owner

nesbox commented May 9, 2017

you can define cursor sprite in config.lua (color=0 used as transparency)

cursor

@trelemar
Copy link
Collaborator Author

trelemar commented May 9, 2017

Perfectly implemented :)

@nesbox
Copy link
Owner

nesbox commented May 9, 2017

also you can define mouse cursor sprite (foreground sprite) from LUA by calling poke(0x3FFB,index), it'll draw system cursor if index=0

64K RAM layout
--------------
0000-SCREEN
3FC0-PALETTE
3FF0-PALETTE MAP
3FF8-BORDER COLOR
3FF9-SCREEN OFFSET
3FFB-MOUSE CURSOR SPRITE
3FFC-(reserved for future use)
4000-SPRITES
8000-MAP
FF80-SOUND REGISTERS
FFC8-PERSISTENT MEMORY

done in .24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement of existing feature or adding something new
Projects
None yet
Development

No branches or pull requests

2 participants