ngaisteve1 Posted June 24, 2015 Share Posted June 24, 2015 Hi, I would like to create a simple game. Basically, the idea is about someone looking for treasure in a dark background. Using the mouse, the person will move to certain location in the canvas. What I want to ask is, when this person move to certain area, that area will brighten up a bit. This is to give some hint. Any javascript library I can find for this javascript effect? Quote Link to comment Share on other sites More sharing options...
ngaisteve1 Posted June 24, 2015 Author Share Posted June 24, 2015 It's okay. I found it already - https://css-tricks.com/examples/MovingHighlight/ But that is using mouse. Can it be replaced with using key (up,down,left,right) ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.