Search found 5 matches

by itsatomf
Fri Aug 26, 2022 10:10 am
Forum: Support and Development
Topic: How to run both love2d and lua
Replies: 13
Views: 4384

Re: How to run both love2d and lua

BrotSagtMist 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...
oops um that's a typo but I swear I tried it with the quotation mark and it didn't work either :cry:
by itsatomf
Thu Aug 25, 2022 1:42 am
Forum: Support and Development
Topic: How to run both love2d and lua
Replies: 13
Views: 4384

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...
by itsatomf
Thu Aug 25, 2022 1:40 am
Forum: Support and Development
Topic: How to run both love2d and lua
Replies: 13
Views: 4384

Re: How to run both love2d and lua

pgimeno wrote: Wed Aug 24, 2022 11:09 am Or maybe he needs to use lovec.exe instead of love.exe to see the output of print().
huh?
by itsatomf
Thu Aug 25, 2022 1:37 am
Forum: Support and Development
Topic: How to run both love2d and lua
Replies: 13
Views: 4384

Re: How to run both love2d and lua

Andlac028 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
that didn't worked for me :(
by itsatomf
Wed Aug 24, 2022 7:47 am
Forum: Support and Development
Topic: How to run both love2d and lua
Replies: 13
Views: 4384

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...