Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <acknext.h>
- void khit()
- {
- engine_log("k was hit!");
- }
- void main()
- {
- engine_log("Hello World!");
- on_k = khit;
- while(true)
- {
- screen_color.red = 128 + 127 * sin(total_secs);
- screen_color.green = key_g * 255;
- wait();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment