]> git.bts.cx Git - p8-perfgraph.git/blobdiff - README.md
Changed to a cart
[p8-perfgraph.git] / README.md
index d74eee7f554aea3d041503ed81a6da4b4268c578..98c305f1b2498dfe7602afa9bf2f13126eadb146 100644 (file)
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@ This is a super simple way to get a performance graph into your PICO-8 carts.
 
 ![See it in action!](demo1.gif)
 
 
 ![See it in action!](demo1.gif)
 
-1. `#include perfgraph.lua`.
+1. `#include perfgraph.p8:1`.
 2. Use `p_start(name)` and `p_end(name)` around the code you need to measure.
 3. Call `p_show(x,y,width)` to show a graph! (The frame times will reset after you call this.)
 
 2. Use `p_start(name)` and `p_end(name)` around the code you need to measure.
 3. Call `p_show(x,y,width)` to show a graph! (The frame times will reset after you call this.)
 
@@ -12,7 +12,7 @@ Full example:
 
 ```lua
 
 
 ```lua
 
-#include perfgraph.lua
+#include perfgraph.p8:1
 
 ::l::
 
 
 ::l::
 
@@ -38,4 +38,4 @@ goto l
 
 ```
 
 
 ```
 
-Have fun. You can find a demo in perfgraphdemo.p8 in this repo. If you like this then feel free to follow me on Twitter: [@btsherratt](http://twitter.com/btsherratt/).
+Have fun!