Search found 72 matches

by mikembley
Sun Apr 05, 2009 12:04 pm
Forum: Support and Development
Topic: Vector lib?
Replies: 5
Views: 5888

Re: Vector lib?

Kudomiku made a small vector lib: http://love2d.org/forum/viewtopic.php?f=5&t=160
by mikembley
Sat Apr 04, 2009 1:24 pm
Forum: Libraries and Tools
Topic: LUBE (Networking Library)
Replies: 332
Views: 224626

Re: LUBE (Networking Library) v0.04 + LUBE-X v0.02

you can always use a php script in the middle.
Much more secure too.
by mikembley
Sat Apr 04, 2009 10:29 am
Forum: General
Topic: Protecting Source?
Replies: 35
Views: 19208

Re: Protecting Source?

Theres a World of Warcraft add-on that had tried to encrypt their source code, They couldnt use byte-code though because World of Warcraft didn't support it. Even though they did a good job of encrypting it ( It wasn't totally human readable ), it wasnt enough. German hackers had made some clever al...
by mikembley
Sat Apr 04, 2009 10:20 am
Forum: Libraries and Tools
Topic: Demo: Joystick Info
Replies: 6
Views: 4002

Re: Demo: Joystick Info

So it jump right from 0 to 1? Without anything between? That sucks. Not that I need it right now but it would be nice to have :) And why the hell did the have to add those triggers into the middle? If I ever need more then one Axis I would have to look up the type of the controller to catch this. W...
by mikembley
Fri Apr 03, 2009 8:05 pm
Forum: General
Topic: Can anyone help me with entities?
Replies: 10
Views: 4281

Re: Can anyone help me with entities?

I knew i would get slammed for the table indexes :P Its just im used to using PHP and i can never remember :P But the main part of the stuff above is to show an example whether or not it looks good, I just find it easier to show people how tables are pretty much like arrays and then they can move on...
by mikembley
Fri Apr 03, 2009 7:03 pm
Forum: General
Topic: Can anyone help me with entities?
Replies: 10
Views: 4281

Re: Can anyone help me with entities?

As someone who is progressively learning LUA and messing with LÖVE constantly i feel as though i am able to teach others of what ive learned so far You are looking to create entities that you can modify on the fly The way i would do it (and it may not be the best way) would be to create a table to t...
by mikembley
Fri Apr 03, 2009 5:51 pm
Forum: General
Topic: Opacity
Replies: 9
Views: 9022

Re: Opacity

Thanks for the solution Mike, I was scratching my head for ages trying to work this one out.. Im slightly bald in one spot now!
by mikembley
Fri Apr 03, 2009 5:50 pm
Forum: Support and Development
Topic: Strange Windows Bug
Replies: 8
Views: 6416

Re: Strange Windows Bug

Check the filepath of the target .love file funky symbols/characters have stopped me previously from loading .love files that have strange characters and symbols in the filepath Example: C:\LÖVE files\test.love ( Didnt like the Ö ) What im trying to say, Is maybe try and remove the - from the C:\lov...
by mikembley
Fri Apr 03, 2009 5:38 pm
Forum: Libraries and Tools
Topic: Simple Image Lib (lImage)
Replies: 5
Views: 4506

Re: Simple Image Lib (lImage)

I like it!

Makes things simpler for me, Although a thought on setting the X and Y of an image, why not extend the draw function to be able to set it via that

For example:

Code: Select all

image:draw(100,200)
As it would reduce the need to do:

Code: Select all

image:setX(100)
image:setY(200)
image:draw()
by mikembley
Fri Apr 03, 2009 5:34 pm
Forum: Support and Development
Topic: collision minus the physics
Replies: 8
Views: 3573

Re: collision minus the physics

Use AABB (Axis Aligned Bounding Boxes) Ill share my function function RectangleIntersectionTest(r1, r2) r1.x2 = r1.x+r1.width r2.x2 = r2.x+r2.width r1.y2 = r1.y+r1.height r2.y2 = r2.y+r2.height if r1.x2 < r2.x or r1.y2 < r2.y or r1.x > r2.x2 or r1.y > r2.y2 then return false else return true end end...