Search found 57 matches

by bizziboi
Wed Feb 23, 2022 8:40 pm
Forum: Support and Development
Topic: Anyone knows what's wrong with these button texts?
Replies: 3
Views: 2395

Re: Anyone knows what's wrong with these button texts?

I am guessing your problem is that you subtract the number of characters in the the label in pixels.

You want to get the width of the rendered string and divide that by two instead?
by bizziboi
Wed Feb 23, 2022 5:39 pm
Forum: Support and Development
Topic: Is there a way to explicitly set mipmap level on an image?
Replies: 0
Views: 8483

Is there a way to explicitly set mipmap level on an image?

Hi, For a small tool I'd like to be able to flip through the mip levels of a texture. I know I can do it by setting the mip filter mode to nearest and bias it based on scale, but is there a way to set it directly on an imageobject like one would do with GL_TEXTURE_BASE_LEVEL and GL_TEXTURE_MAX_LEVEL...
by bizziboi
Fri Aug 05, 2016 3:39 am
Forum: Support and Development
Topic: Having trouble building love from source
Replies: 12
Views: 9118

Re: Having trouble building love from source

>>Yes, it does. And it does build with VS2013, you can find the script here: https://bitbucket.org/rude/love/src/eaf3a57786b8f41876953ef598a2d68615a97ddb/extra/appveyor/appveyor.yml Strange, it does not for me. The same old zlib conflict when building freetype that I had a while ago. Only if I lower...
by bizziboi
Thu Aug 04, 2016 6:58 am
Forum: Support and Development
Topic: Having trouble building love from source
Replies: 12
Views: 9118

Re: Having trouble building love from source

Okay, found it.
Commit 991f387 broke it, as it mandates minimum CMake 3.1 - Windows won't build with projects generated with a CMake newer than 3.0.

(does the buildmachine actually do a full clean (ie regenerate) and rebuild? I'm really surprised this works for the buildmachine)
by bizziboi
Thu Aug 04, 2016 6:30 am
Forum: Support and Development
Topic: Having trouble building love from source
Replies: 12
Views: 9118

Re: Having trouble building love from source

Well, this sucks.

Just grabbed latest and the problem is back.
The cmake files now need at least CMake 3.1,(it used to work with 3.0) but cmake 3.1 will misgenerate the solution and the project will not build, at least not from Visual Studio 2013, the same bug with freetype is back.

:(
by bizziboi
Sun Mar 20, 2016 1:43 am
Forum: Support and Development
Topic: Love2D closed source compilation
Replies: 8
Views: 4944

Re: Love2D closed source compilation

Unless you implement it in C++ and use LuaJit to call it or expose it to Lua there's no way you can hide it, but at that point what's the point of using Love2D. You can encrypt your source in the most sophisticated way, but at one point it has to be sent to the lua parser and that point can be easil...
by bizziboi
Fri Mar 18, 2016 4:59 am
Forum: Support and Development
Topic: Having trouble building love from source
Replies: 12
Views: 9118

Re: Having trouble building love from source

Okay, installing Cmake 3.0 instead of latest stable made it build for me (I guess CMake added an option that does not default to previous behaviour.....yeah, hmmmmm.....).

Note that the documentation states cmake 2.8.12 or up, but that won't generate VS2013 solutions.
by bizziboi
Fri Mar 18, 2016 3:40 am
Forum: Support and Development
Topic: Having trouble building love from source
Replies: 12
Views: 9118

Re: Having trouble building love from source

Hmmm, that's odd. Is there any way to get insight in what's installed on the buildmachine for the nightly build/AppVeyor? OS, versions, service packs, whatnot? Does the buildmachine do clean builds, or just build changes? It seems obvious that the makefiles are missing a dependency and rely on somet...
by bizziboi
Thu Mar 17, 2016 5:17 am
Forum: Support and Development
Topic: Having trouble building love from source
Replies: 12
Views: 9118

Re: Having trouble building love from source

I posted to an existing issue on the bitbucket page here: https://bitbucket.org/rude/megasource/issues/7/build-fails It seems that when love2d builds it tries to build freetype while including the zlib.h from the zlib directory instead of its own private version. I tried working around it but withou...
by bizziboi
Thu Mar 17, 2016 3:51 am
Forum: Support and Development
Topic: Having trouble building love from source
Replies: 12
Views: 9118

Having trouble building love from source

I pulled the full source tree (megasource+love) yesterday, but when trying to build it (windows. cmake 3.5.0, VS2013 Express) I have a series of errors, specifically in Freetype. Just curious if others are able to build the current depot.