Looking to poke at the löve code
Looking to poke at the löve code
so, is it possible to get the love2d source (the C# I believe) code to have a poke at it and potentially (as in it probably wouldn't be any help) help with coding it?
Learning to Löve.
Re: Looking to poke at the löve code
It's C++ and yes, sure you can! Here's the link!
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Re: Looking to poke at the löve code
Thank you <3Nixola wrote:It's C++ and yes, sure you can! Here's the link!
(we need a heart or love emoji )
Also, different topic, the shortenings in your signature, can you put:
lg.print("hello world", 5, 5)
as opposed to:
love.graphics.print("hello world", 5, 5)
?
because that would be amazing.
Learning to Löve.
Re: Looking to poke at the löve code
Yes, if you write "local lg = love.graphics" at the top of your file (and you can only do it in files where you do that). That refers to code I write on the forums when I'm in a hurry, mostly.
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
- zorg
- Party member
- Posts: 3470
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: Looking to poke at the löve code
Many of us use these aliases also.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Re: Looking to poke at the löve code
I use slightly different ones, to avoid some ambiguities: "Does ls mean love.system or love.sound? Does lt mean love.thread or love.timer? Does lf mean love.filesystem or love.font?" https://github.com/pgimeno/Thrust-II-re ... spaces.lua
- zorg
- Party member
- Posts: 3470
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: Looking to poke at the löve code
To be fair, usually it should be possible to decide those from context; separation of concerns should mean that a piece of code using love.sound won't really mess with love.system at all. (But hey, to each their own.)
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
- Jasoco
- Inner party member
- Posts: 3727
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: Looking to poke at the löve code
skyHights wrote:Thank you <3Nixola wrote:It's C++ and yes, sure you can! Here's the link!
(we need a heart or love emoji )
I just use actual Emoji. (On macOS, press Command+Control+Space)
(I hope your OS supports Emoji like every modern OS should these days does.)
- zorg
- Party member
- Posts: 3470
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: Looking to poke at the löve code
Nowadays it's more like what the used web browser supports... still,Jasoco wrote:(I hope your OS supports Emoji like every modern OS should these days does.)
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
- Jasoco
- Inner party member
- Posts: 3727
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: Looking to poke at the löve code
Nah, it's the OS. Though some websites like FaceBook and Twitter provide their own Emoji fonts to guarantee support for people on lesser operating systems that don't support Emoji. (Like Windows 7. I think 8 was where it first appeared on Windows. OS X has had it for quite a few years now standard.)zorg wrote:Nowadays it's more like what the used web browser supports... still,Jasoco wrote:(I hope your OS supports Emoji like every modern OS should these days does.)
Emoji is just a font face. Quite literally. An Emoji is just a special character essentially that like other special characters, gets replaced with a proper "character" on screen if it exists in the current font. And if it doesn't, it just appears as a "missing character" symbol. Sometimes a box.
The only problem I have with it is that there's no way to tell if a specific Emoji is going to show up on the other end because of how it's always in progress and a lot of people still have older devices. They add new ones all the time, and usually brand new devices get the new font, but old ones end up not being able to see them but you can't tell if they're getting it or not. You end up looking silly when you post a Thinking Face Emoji and it ends up as a box on the other end. Note: I can't even post a Thinking Face here because the forum doesn't recognize it. Stupid forum.
Who is online
Users browsing this forum: Bing [Bot] and 2 guests