Search found 55 matches

by bizziboi
Mon Apr 28, 2014 7:15 am
Forum: Support and Development
Topic: yet another collision question thread.
Replies: 12
Views: 2061

Re: yet another collision question thread.

I haven't looked at the source, but if you are going up and hit your head you should set the y velocity to zero *if it's greater than zero, not if it's less'. Otherwise gravity won't be able to make you fall, as you keep negating it's effect by killing vertical velocity - you want to kill upward vel...
by bizziboi
Thu Apr 24, 2014 8:12 pm
Forum: Support and Development
Topic: Serious Memory Issues while loading Images
Replies: 10
Views: 3501

Re: Serious Memory Issues while loading Images

If you convert the images to DDS they will be a bit faster to load and use less memory - you could give that a shot.
by bizziboi
Sat Feb 22, 2014 7:12 am
Forum: Support and Development
Topic: [Help] Can i play videos on my LÖVE game?
Replies: 2
Views: 636

Re: [Help] Can i play videos on my LÖVE game?

Love 0.9 uses LuaJit, this means you can use the FFI to call functions in dynamic libraries, so if you're really so inclined you could. But you'd be leaving love territory and it's a cold hard world out there!
by bizziboi
Fri Jan 10, 2014 12:06 am
Forum: Support and Development
Topic: Scaling love.graphics geometric shapes like bitmap pics?
Replies: 19
Views: 5593

Re: Scaling love.graphics geometric shapes like bitmap pics?

With a pre-rendered image of a horizontal (or whatever) line? This doesn't work; love.graphics.rotate doesn't pixellate (result is similar to the white line in the first post). You already have a solution, but I still think this would have worked - you'd use a lower res texture for the line image a...
by bizziboi
Thu Jan 09, 2014 3:45 am
Forum: Support and Development
Topic: Scaling love.graphics geometric shapes like bitmap pics?
Replies: 19
Views: 5593

Re: Scaling love.graphics geometric shapes like bitmap pics?

Alternatively, make a sprite of a line and scale and rotate it to match desired begin and end position. To get similar pixelation for short and long lines you could make a long line sprite and only draw a part of it that is sized relative to the length of the desired line segment. Hope you paid atte...
by bizziboi
Tue Dec 24, 2013 6:26 am
Forum: Support and Development
Topic: Readability improvement suggestions for the wiki
Replies: 4
Views: 1089

Re: Readability improvement suggestions for the wiki

Except that multiple people have suggested it is hard to read so that might mean the design is elegant but perhaps not from a usability point of view, which is part of elegance imo. Form should never overtake function in something that is first and foremost meant to be functional - one Phillipe Star...
by bizziboi
Tue Dec 24, 2013 12:23 am
Forum: Support and Development
Topic: 0.9.0 resource/mem leak with DDS?
Replies: 4
Views: 917

Re: 0.9.0 resource/mem leak with DDS?

The problem is that I needed to allocate several gigabyte (actually it was 1.3 gig of unique image data. Game jams tend to lead to such crazyness). In a real life scenario I can easily work around it, but it was the leak (memory or resource, indeed hard to tell) that worried me. Like I said, I'll tr...
by bizziboi
Mon Dec 23, 2013 11:56 pm
Forum: Support and Development
Topic: 0.9.0 resource/mem leak with DDS?
Replies: 4
Views: 917

Re: 0.9.0 resource/mem leak with DDS?

Thanks for the heads up, but I am aware of reusing the image data, but it was not what I was trying to test. *But it's besides the point.* Fact is, if I create PNGs till memory is exhausted, then destroy them all, and then try again I can create the same number of PNGs. If I create DDS's till memory...
by bizziboi
Sat Dec 21, 2013 6:15 am
Forum: Support and Development
Topic: 0.9.0 resource/mem leak with DDS?
Replies: 4
Views: 917

0.9.0 resource/mem leak with DDS?

Hi, I have a simple program that determines (somewhat) available video memory by repeatedly creating images and holding a reference to it until I run out of memory. I call this in succession for various scenarios (wanted to see the gain in using DDS). The scenarios are "Load a png", "Create an image...
by bizziboi
Sat Dec 14, 2013 9:43 pm
Forum: Support and Development
Topic: Quad confusion
Replies: 11
Views: 2795

Re: Quad confusion

Okay, let me rephrase:
I thought it *only* was there to calculate UV's.

...in retrospect this was a silly assumption as Love would have no way to know what size would be the UV'd rect's reference size. My bad.