Log In  

Cart #55801 | 2018-08-28 | Code ▽ | Embed ▽ | No License

Here is my first game, Apple Chase. It is very bad at the moment, but hopefully with support, it will become a lot better. I have been learning Lua from YouTube and the web for around 2 days now.

P#55802 2018-08-28 10:07 ( Edited 2018-08-30 20:04)

Also, can anybody give me guidance on how to add a timer
function please. Thanks

P#55803 2018-08-28 10:12 ( Edited 2018-08-28 14:12)

Hey, good job!

Here's an small example of using a timer to cycle through the colours, changing once every 0.25s.

https://gist.github.com/vgebrev/5168925b97f1c239dfaca59b304d0f29

Hope it helps, let me know if you need an explanation of how it works.

P#55895 2018-08-30 16:04 ( Edited 2018-08-30 20:04)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-19 18:44:51 | 0.008s | Q:13