Search found 73 matches
- Sun Dec 19, 2021 5:22 pm
- Forum: Support and Development
- Topic: Composition blocking on Linux
- Replies: 4
- Views: 5725
Re: Composition blocking on Linux
This doesn't seem to work for me on kubuntu 20.04. The compositor still gets turned off and graphical glitches still happen. I also tried doing... if love.system.getOS() == "linux" then local ffi = require("ffi") ffi.cdef[[ int setenv(const char*, const char*, int); ]] ffi.C.sete...
- Tue Jan 07, 2020 11:27 pm
- Forum: Support and Development
- Topic: love.graphics set and get matrix instead of add or multiply
- Replies: 1
- Views: 2301
love.graphics set and get matrix instead of add or multiply
is there a way to set and get the graphics matrix without actually multiplying or adding it to the existing one? something like.. love.graphics.setRotation(r) love.graphics.setScale(x,y) love.graphics.setTranslation(x,y) love.graphics.getRotation() love.graphics.getScaleX() love.graphics.getScaleY()...
- Fri Dec 13, 2019 6:31 am
- Forum: Support and Development
- Topic: how would vanilla love2d draw unto a image(NOT A CANVAS)
- Replies: 6
- Views: 5148
Re: how would vanilla love2d draw unto a image(NOT A CANVAS)
ya I would like it i'm not doing gui right now I was making a json entity config framework. also idk if it would run faster or not but I hate lua's if..end syntax with a passion I find it ugly and unreadable. I also like using C# for its object oriented syntax. in lua you have to mess with metatable...
- Fri Dec 13, 2019 12:50 am
- Forum: Support and Development
- Topic: how would vanilla love2d draw unto a image(NOT A CANVAS)
- Replies: 6
- Views: 5148
Re: how would vanilla love2d draw unto a image(NOT A CANVAS)
@slime so idk if C# code is allowed here but basically this is what I was trying to do public static void SetColor(Color color) { Love.Graphics.SetColor((Love.Color)color); } /* //SetImage function for my customn Graphics manager. public static void SetImage(Image image) { //note I am trying to conv...
- Thu Dec 12, 2019 11:42 pm
- Forum: Support and Development
- Topic: how would vanilla love2d draw unto a image(NOT A CANVAS)
- Replies: 6
- Views: 5148
how would vanilla love2d draw unto a image(NOT A CANVAS)
hello I am using love2dcs however I use these docs to look up most things since its almost the same. my question is how would lua love2d load a image like a canvas and draw to it? I would guess it would be possible since a image and a canvas are basically the same thing. however due to the lack of s...
- Sun Jun 02, 2019 8:45 pm
- Forum: Support and Development
- Topic: Some love features I think would be useful
- Replies: 7
- Views: 5642
Re: Some love features I think would be useful
you would still be able to implement a library you would just be able to do it easier. the previous functions return the previous frames value. if duplication is a problem then there could be a constant that you could pass that would edit the return value to the current frame or previous frame with ...
- Sun Jun 02, 2019 8:39 pm
- Forum: Support and Development
- Topic: Ogg Vorbis And Audio Start and end Loop Tags?
- Replies: 4
- Views: 5589
Re: Ogg Vorbis And Audio Start and end Loop Tags?
so can getting tabs and their values be added in the future to love?
I think it would be useful since I know I can set tags in audacity when I save the file.
I think it would be useful since I know I can set tags in audacity when I save the file.
- Sat Jun 01, 2019 10:07 pm
- Forum: Support and Development
- Topic: Some love features I think would be useful
- Replies: 7
- Views: 5642
Some love features I think would be useful
I just had a suggestion for love2d to make input easier to manage adding these functions would make life a lot easier and I think could speed up development time for people. - Love.keyboard.isDownPrevious() - Love.mouse.isDownPrevious() - Love.joystick.isDownPrevious() - Love.joystick.GetAxisPreviou...
- Mon May 27, 2019 3:08 am
- Forum: Support and Development
- Topic: Ogg Vorbis And Audio Start and end Loop Tags?
- Replies: 4
- Views: 5589
Ogg Vorbis And Audio Start and end Loop Tags?
does anybody know if it's possible to get a tag's value from a audio source?
- Thu May 02, 2019 5:57 pm
- Forum: Support and Development
- Topic: implementing 9 slice in love2dcs?
- Replies: 5
- Views: 4541
Re: implementing 9 slice in love2dcs?
@zorg
wait so how do I translate image coordinates to screen coordinates?
wait so how do I translate image coordinates to screen coordinates?