Search the Community
Showing results for tags '3.2'.
-
I've gotten render to texture working using this code http://leadwerks.wikidot.com/wiki:render-to-texture-security-cam but the Buffer functions are nowhere to be found in the current documentation. Unless I missed it, in which case please point it out Buffer isn't even highlighted in the script editor. I wasn't sure whether to post this in Bug Reports as it's not to do with the program itself...
- 2 replies
-
- documentation
- Lua
-
(and 1 more)
Tagged with:
-
I've managed to get a Buffer (and Texture) filled with the current screen. I want to write it to a file, so my game will have a builtin screenshot feature. Leadwerks 2 apparently had a function SaveBuffer which would do exactly what I want, but as far as I can tell it doesn't exist or has been renamed to something else. So, before I try to manually write the bytes to a file, does anyone know if there is a current function for writing a buffer to an image file? (Or maybe there is complete function for taking a screenshot that I don't know about?) EDIT: How do I even get individual values out of a buffer?
-
Whenever you copy and paste things in leadwerks 3.2 it tends to offset it a bit. Not only does it offset it, but it doesn't stick to the grid. This makes it very complex to copy and paste,(expecially with CSG's). Could you change it so that when you copy and paste it locks onto the grid? Would be nice.