Search found 403 matches

by HugoBDesigner
Mon May 02, 2016 4:03 pm
Forum: General
Topic: HSL to RGB converter
Replies: 5
Views: 4573

Re: HSL to RGB converter

Butting in just to make a little bit of shameless self-promotion, but in my Pattern Generator program I wrote a really neat (yet really complex imo) color selection library. It has rgb to hsl convertion, hexadecimals, etc. https://love2d.org/forums/viewtopic.php?f=5&t=81186 Has a lot of issues, ...
by HugoBDesigner
Sat Apr 16, 2016 2:34 am
Forum: Support and Development
Topic: Simple flight physics
Replies: 5
Views: 2678

Re: Simple flight physics

I think a nice way of doing that (via Box2D or otherwise) is to have an "air resistance" value and a directional value (the angle of flight). Maybe also having a "air resistance angle" variable would help. If the player deviates from the later too much, air resistance increases. ...
by HugoBDesigner
Sat Apr 16, 2016 2:26 am
Forum: Support and Development
Topic: [SOLVED] How can i stop updating whilst the window is being moved?
Replies: 5
Views: 5059

Re: How can i stop updating whilst the window is being moved?

I was going to suggest the "math.min" thing for dt, but if you want the deltaTime to be accurate but also prevent that, just do a simple check on the "length" of it:

Code: Select all

function love.update(dt)
    if dt >= 1 then
        return
    end
    --Your normal update code here--
end
by HugoBDesigner
Sat Apr 16, 2016 2:24 am
Forum: Support and Development
Topic: Linear Dampening and wobbly sprite movement
Replies: 2
Views: 1289

Re: Linear Dampening and wobbly sprite movement

If you have the x/y positions be a floating point number, simply round the values down, like:

love.graphics.draw(self.image, math.floor(x), math.floor(y), self.body:getAngle(), .25, .25, width/2, height/2)

But I'm not sure if that's the problem or not.
by HugoBDesigner
Mon Apr 11, 2016 11:33 pm
Forum: General
Topic: Löve decides to break the game upon compiling?
Replies: 7
Views: 6286

Re: Löve decides to break the game upon compiling?

While I can't determine the cause of the problem, I know from experience that, sometimes, variables react differently in IDE and compiled game in regards to case sensitiveness. For example, if I have a variable "Test" and later call it as "test", it may return true or false depen...
by HugoBDesigner
Wed Apr 06, 2016 11:40 am
Forum: Support and Development
Topic: Sending notifications through iOS?
Replies: 5
Views: 3960

Re: Sending notifications through iOS?

Thanks bobby and kikito, that was really helpful!

Unfortunately, though, I was requested to ask yet another question in regards to iOS and LÖVE: how can I implement AdMob into the iOS build of LÖVE? Thanks in advance!
by HugoBDesigner
Mon Apr 04, 2016 9:54 pm
Forum: Support and Development
Topic: Sending notifications through iOS?
Replies: 5
Views: 3960

Sending notifications through iOS?

Hey, it's me again, with another iOS request (sorry about that). My boss asked me to implement a system into our app that notifies users of any updates in the server that the app is connected to, but I have no idea how to do that. Not to mention, I would need the app to run in the background constan...
by HugoBDesigner
Tue Mar 22, 2016 9:22 pm
Forum: General
Topic: Free Music / SFX Resource - Over 1900 Tracks
Replies: 294
Views: 252200

Re: Free Music Resource

Hey man, just wanted to say that, despite not having posted here before, I've listened to several of your tracks and I really admire your work. Never had the chance to use any piece of music of yours yet, but I'm working on a new game and I decided to finally use it. So I'm just letting you know in ...
by HugoBDesigner
Sun Mar 20, 2016 10:15 pm
Forum: Support and Development
Topic: Compiling for iOS?
Replies: 1
Views: 710

Compiling for iOS?

Hey everyone! So, I was working on an app that was meant to be published on the AppStore for iOS, but it turns out me and my coworker can't figure out how to compile the app for iOS. After some hard time, we got to test it using the LÖVE app, so at least we know the app works, but we couldn't find a...
by HugoBDesigner
Sun Mar 06, 2016 5:16 am
Forum: Support and Development
Topic: [10.1, SOLVED] imagedata as string UTF-8 issues
Replies: 6
Views: 6639

Re: [10.1] imagedata as string UTF-8 issues

This is probably not the most efficient way of doing this, but I tried this before and it worked: save the image as a .png file, then read it and set a variable as a tostring of that file [ img = tostring(love.filesystem.read("myImage.png") ] Then I'd send that image over, save it as a new...