Search found 9 matches

by Kalamitous
Mon Feb 15, 2016 5:13 am
Forum: General
Topic: New Icons
Replies: 77
Views: 63626

Re: New Icons

Looks awesome!
by Kalamitous
Fri Jan 22, 2016 5:56 pm
Forum: Support and Development
Topic: [SOLVED] How do check audio BPM?
Replies: 6
Views: 4666

Re: How do check audio BPM?

zorg wrote:
zikesha93 wrote:(and it was wrong, since it was missing a pair of parentheses around the "getBitDepth / 8" part)
Oops, my bad. Fixed.
by Kalamitous
Fri Jan 22, 2016 3:23 am
Forum: Support and Development
Topic: [SOLVED] How do check audio BPM?
Replies: 6
Views: 4666

Re: How do check audio BPM?

zorg wrote: Or, you know, with [wiki]SoundData:getDuration[/wiki]
Wow, I didn't even know that existed lol.
by Kalamitous
Thu Jan 21, 2016 10:49 pm
Forum: Support and Development
Topic: [SOLVED] How do check audio BPM?
Replies: 6
Views: 4666

Re: How do check audio BPM?

Getting the BPM would require an FFT module. You can get the soundData's length in seconds with this formula:

Code: Select all

soundData:getSize() / soundData:getSampleRate() / soundData:getChannels() / (soundData:getBitDepth() / 8)
by Kalamitous
Tue Jan 19, 2016 1:40 am
Forum: Support and Development
Topic: Help Separate 2 Objects
Replies: 3
Views: 2341

Re: Help Separate 2 Objects

Thanks for the solutions guys! I prefer zorg's method because yes, I don't have to rework a lot of things; but I also appreciate your suggestion 0x29a!
by Kalamitous
Mon Jan 18, 2016 5:54 pm
Forum: Support and Development
Topic: Help Separate 2 Objects
Replies: 3
Views: 2341

Help Separate 2 Objects

Using a constructor for an entity class, I created a player and an enemy and separate move functions for them. The player is supposed to move by user input(arrow keys), and the enemy is supposed to move by itself randomly; however, both move functions are called on the player, so the player will mov...
by Kalamitous
Sat Jun 20, 2015 2:20 am
Forum: General
Topic: LOVE users map
Replies: 182
Views: 118287

Re: LOVE users map

San Jose, California, US
by Kalamitous
Fri Jun 19, 2015 3:21 am
Forum: General
Topic: Avatars: OBEY!
Replies: 763
Views: 1006816

Re: Avatars: OBEY!

+1