Search found 67 matches
- Fri Mar 11, 2022 4:50 pm
- Forum: Support and Development
- Topic: Timestamps help
- Replies: 5
- Views: 3336
Re: Timestamps help
jeez that was mad, i but i do mean reading it as raw string meaning 3 things: 1. the thing is in a raw .dat .txt files passed to a var and viceversa. 2. detect when the separators mean (parsing help) 2.1 if 4x or 2x of ":" detect what is in between them diff. what is min or what is sec etc...
- Thu Mar 03, 2022 6:06 pm
- Forum: Support and Development
- Topic: Timestamps help
- Replies: 5
- Views: 3336
Timestamps help
Somebody have a way to convert 00:01:35 to 95 and vice versa?
I mean convert a timestap to seconds and in reverse
like
and then:
I mean convert a timestap to seconds and in reverse
like
Code: Select all
timestamp = "01:00:20"
seconds = readstamp(timestamp)
--it should return 3620
Code: Select all
print(readsecs(seconds))
--it should return 01:00:20
- Wed Mar 02, 2022 4:14 pm
- Forum: Support and Development
- Topic: What is a helpful way to think about input? love.keypressed or love.keyboard.isDown?
- Replies: 20
- Views: 10060
Re: What is a helpful way to think about input? love.keypressed or love.keyboard.isDown?
whoops wrong replied guy but idont care xd
- Wed Mar 02, 2022 4:13 pm
- Forum: Support and Development
- Topic: What is a helpful way to think about input? love.keypressed or love.keyboard.isDown?
- Replies: 20
- Views: 10060
Re: What is a helpful way to think about input? love.keypressed or love.keyboard.isDown?
Only for controls. For keyboard shortcuts (like e.g. Ctrl+C to copy) keyconstants ought to be used. Why? Imagine if documentation for software had to have a different version for every keyboard layout. The QWERTY version would say "press C to copy", a Turkish version would say "Press...
- Tue Mar 01, 2022 12:12 am
- Forum: Support and Development
- Topic: What is a helpful way to think about input? love.keypressed or love.keyboard.isDown?
- Replies: 20
- Views: 10060
Re: What is a helpful way to think about input? love.keypressed or love.keyboard.isDown?
Hi. I come from a background of making games on PICO-8, and its API has two functions, called "btn" and "btnp", which respectively return whether a button is down or if it's just been pressed (i.e. for the first frame). I have used myself to think about input in terms of checkin...
- Fri Feb 25, 2022 1:52 pm
- Forum: Libraries and Tools
- Topic: Ase (aseprite) file loader for love2d
- Replies: 9
- Views: 32245
Re: Ase (aseprite) file loader for love2d
I'm making a loader for ase files to help developers make animations(or sprites ) without manually configuring it in code. Is very early, but i will make it better and better :smile: Link for the project: https://github.com/CripBoy/love-ase yo put a pull request to awesome love to get in the list :P
- Fri Feb 25, 2022 1:50 pm
- Forum: Libraries and Tools
- Topic: Chiptune music royalty free
- Replies: 0
- Views: 10644
Chiptune music royalty free
I wanna to make a geniune ad from this guy it has nice n' sweet chiptune music
Context Sensitive: https://context-sensitive.com/
idk i found him by accident
Context Sensitive: https://context-sensitive.com/
idk i found him by accident
- Fri Feb 25, 2022 1:41 pm
- Forum: Libraries and Tools
- Topic: Love 2D with 3D
- Replies: 11
- Views: 12888
Re: Love 2D with 3D
What version uses? to try to get back to life again That texture warping is a master piece like PS1 & N64 thing oh and look for my bad luck it crashes Error 3Dlib.lua:159: Invalid Mesh vertex data type name '500', expected one of: 'byte', 'unorm16', 'float' Traceback [love "callbacks.lua&qu...
- Tue Jan 25, 2022 8:10 am
- Forum: General
- Topic: Offline LÖVE documentation for download
- Replies: 106
- Views: 623530
Re: Offline LÖVE documentation for download
Hello. One day, I was going to be on the train without online connection. Because of that I downloaded the documentation using a command from these instructions . Later, the LÖVE team created an automatically generated download: :crazy: docs.zip ( OFFICIAL ) :crazy: Historic: I would like to sugges...
- Tue Jan 25, 2022 8:08 am
- Forum: General
- Topic: Offline Documentation
- Replies: 12
- Views: 20856
Re: Offline Documentation
Yo wtf If u have linux you can do this, in windows is more obscure to do it :death: , so you can get a download manager in windows and say "yo download the entire web of love2d.org/wiki" in linux just make a folder, enter a that folder and click "open a terminal here" or somethi...