Search found 5 matches
- Fri May 01, 2020 9:49 am
- Forum: Support and Development
- Topic: Question regarding game distribution
- Replies: 1
- Views: 1532
Question regarding game distribution
Hi! I am following the instruction on love wiki and trying to distribute a macOS application from Windows, but I saw the following </s>Zip the SuperGame.app folder (e.g. to SuperGame_osx.zip) and distribute it. Enable the -y flag of zip to keep the symlinks.<e> what is a -y flag? and is it going to ...
- Tue Apr 28, 2020 12:43 am
- Forum: Support and Development
- Topic: Help with creating a paint program!
- Replies: 5
- Views: 3268
Re: Help with creating a paint program!
Thanks guys! problem solved.
- Tue Apr 28, 2020 12:40 am
- Forum: Support and Development
- Topic: Help with creating a paint program!
- Replies: 5
- Views: 3268
Re: Help with creating a paint program!
Alternatively, you can also do it with a table holding all past points you detected, iterating over all of them and drawing them pairwise... in that case, you don't need a canvas, but the age-old tradeoff of memory vs. processing is true here as well; the canvas is fast since you just draw the last...
- Tue Apr 28, 2020 12:39 am
- Forum: Support and Development
- Topic: Help with creating a paint program!
- Replies: 5
- Views: 3268
Re: Help with creating a paint program!
Welcome to the forums! You can use a Canvas , which will persist between frames. You draw the lines to the canvas, and then the canvas to the screen. You don't really need a table to hold the points; just two variables to hold the X and Y of the last point should suffice. Ok! I will try that. Thank...
- Sun Apr 26, 2020 9:02 pm
- Forum: Support and Development
- Topic: Help with creating a paint program!
- Replies: 5
- Views: 3268
Help with creating a paint program!
Hi! This is my first time posting :awesome: . I'm creating a simple paint tool using Love, and the idea is that every time the mouse is clicked and moved, the coordinate of the mouse will be stored in a table (linePoints), and then be connected in the draw function. But the problem is how do you cre...