Been struggling to complete the Flappy Bird assignment.
There is just no getting around it, I am going to have to figure
out how this thing works, and learn Love2d lua.
So lua is a simple, easy-to work with scripting language which one
can master using an interpreter. One would be on command prompt
for the code below.
https://www.lua.org/pil/1.html
Love2d is a friendly game engine on which one codes in lua.It does
have its own requirements.
As page 1 would have it, the usual game sequence is load__update__draw.
Yessum, that first example works!! One merely needs to put the code
in a file called 'main.lua'. And that code, in a folder to be dragged over the
Love2d shortcut.
No comments:
Post a Comment