oops um that's a typo but I swear I tried it with the quotation mark and it didn't work eitherBrotSagtMist wrote: ↑Thu Aug 25, 2022 2:11 am You where trying it without quotation marks the whole time i must assume.
print('e') will absolutely work. print(e) will not...
Search found 5 matches
- Fri Aug 26, 2022 10:10 am
- Forum: Support and Development
- Topic: How to run both love2d and lua
- Replies: 13
- Views: 4752
Re: How to run both love2d and lua
- Thu Aug 25, 2022 1:42 am
- Forum: Support and Development
- Topic: How to run both love2d and lua
- Replies: 13
- Views: 4752
Re: How to run both love2d and lua
love is just lua (luajit to be specific) interprier with bundled ontop sdl2, audio coding/decoding, and more functionality, so i'm not sure what you mean. I mean like, I can't run both lua and love2d function, like I can love.graphics.print("e") to the screen, but I can't print("e&qu...
- Thu Aug 25, 2022 1:40 am
- Forum: Support and Development
- Topic: How to run both love2d and lua
- Replies: 13
- Views: 4752
- Thu Aug 25, 2022 1:37 am
- Forum: Support and Development
- Topic: How to run both love2d and lua
- Replies: 13
- Views: 4752
Re: How to run both love2d and lua
that didn't worked for meAndlac028 wrote: ↑Wed Aug 24, 2022 10:34 am I don't know, if I understand correctly, but in love2d, you can use both build-in lua and love2d functions. For example:Code: Select all
text = "e" function love.draw() print(e) love.graphics.print(text) end
- Wed Aug 24, 2022 7:47 am
- Forum: Support and Development
- Topic: How to run both love2d and lua
- Replies: 13
- Views: 4752
How to run both love2d and lua
The title is confusing ikr :ehem: So, how do I run both love2d functions and lua builtin functions, like when I'd like to debug, smth like: text = "e" print(e) function love.draw() love.graphics.print(text) end By doing so, I could run both love2d functions and the functions from lua itsel...