Hi there,
I have created a small snippet that allows plotting of stuff in LÖVE. Not necessarily fast, but can help when debugging stuff.
Latest code available in the repository: https://bitbucket.org/MartinFelis/loveplot
Here is a screenshot:
Have fun.
Edit: added repository link
LÖVE Plot - plotting snippet
LÖVE Plot - plotting snippet
- Attachments
-
- main.lua
- loveplot example
- (530 Bytes) Downloaded 113 times
-
- loveplot.lua
- loveplot snippet
- (4.51 KiB) Downloaded 125 times
Last edited by fysx on Wed Oct 15, 2014 4:05 pm, edited 1 time in total.
Bird thing: @fysxdotorg Blog thing: fysx.org
Re: LÖVE Plot - plotting snippet
Oh nice, that might be a useful alternative to just wildly printing values in the terminal
- josefnpat
- Inner party member
- Posts: 955
- Joined: Wed Oct 05, 2011 1:36 am
- Location: your basement
- Contact:
Re: LÖVE Plot - plotting snippet
Nice! Would be cool to put this somewhere folks could offer pull requests etc;
e.g. you might want to remove the require"strict"
<3
e.g. you might want to remove the require"strict"
<3
Missing Sentinel Software | Twitter
FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
Re: LÖVE Plot - plotting snippet
Awesome! I've been meaning to do this to track FPS and memory. +1 to posting the code on github/bitbucket for collaboration.
----------------------------------------
Sluicer Games
Sluicer Games
Re: LÖVE Plot - plotting snippet
Done and done.josefnpat wrote:Nice! Would be cool to put this somewhere folks could offer pull requests etc;
e.g. you might want to remove the require"strict"
If anyone wants to add features: I would be very happy to accept patches that allow plotting of multiple values
Bird thing: @fysxdotorg Blog thing: fysx.org
Re: LÖVE Plot - plotting snippet
This seems useful, good job!
Who is online
Users browsing this forum: No registered users and 4 guests