Search found 46 matches

by Gerrit
Fri Apr 10, 2009 10:42 am
Forum: Libraries and Tools
Topic: Raycasting Demo (like Wolfenstein3D, just veery basic)
Replies: 78
Views: 23300

Re: Raycasting Demo (like Wolfenstein3D, just veery basic)

Good demo. I'd recommend moving the code out of function keypressed and into the update routine instead, so people don't have to keep tapping the buttons to go. Gives an idea of just how fast this engine really goes. Ya, this was the last thing I did last night before bedtime ;) I updated it now. R...
by Gerrit
Fri Apr 10, 2009 12:55 am
Forum: Libraries and Tools
Topic: Raycasting Demo (like Wolfenstein3D, just veery basic)
Replies: 78
Views: 23300

Raycasting Demo (like Wolfenstein3D, just veery basic)

Hey there. I found a really simple raycasting demo today. It's a sample for CodeTanks "Brain Damage" ;) And because "Brain Damage" also uses lua it only took 5 minutes to port it to Löve :) It's not the next Wolfenstein 3D but it shows the basics of the raycasting technique. Have...
by Gerrit
Tue Apr 07, 2009 11:36 pm
Forum: Libraries and Tools
Topic: Simple Image Lib (lImage)
Replies: 5
Views: 4510

Re: Simple Image Lib (lImage)

I think you should add a function to change drawing order of sprites. Quite frankly, this would be much easier than putting them into a table and foreaching them. Well these objects aren't stored together in a table. This is just a shorter way of using love.graphics. You only draw the object your c...
by Gerrit
Tue Apr 07, 2009 9:04 pm
Forum: General
Topic: classes in Lua???
Replies: 13
Views: 11373

Re: classes in Lua???

I'm also not in the mood to write much but I'll post you some sourcecode to get you started. Just the concept. This isn't something out of the box as I'm just writing some stuff together to inspire you :) bricks = {} function bricks:new( x, y, image ) local brickImage = love.graphics.newImage( imgag...
by Gerrit
Tue Apr 07, 2009 9:22 am
Forum: General
Topic: How to solve a crash problem
Replies: 3
Views: 2478

Re: How to solve a crash problem

Hey, the same thing happened here. I had around 400 objects on the screen and it crashed. Not always at 400 but very often so I threw out the physics and working with my own collision detection now. Which will be released as a lib in a couple of days. So: I have no idea what causes the crash..
by Gerrit
Mon Apr 06, 2009 12:53 pm
Forum: Libraries and Tools
Topic: Simple Image Lib (lImage)
Replies: 5
Views: 4510

Re: Simple Image Lib (lImage)

Updated to v2.1. It seems I forgot to write getAngle() and setAngle(). The first one was mentioned in the function list but it wasn't there :) So, now it should be complete. If you need more functions watch out. I'll release a new, advanced lib, loosely based on this one, in the next couple of days.
by Gerrit
Sun Apr 05, 2009 9:55 am
Forum: Support and Development
Topic: Vector lib?
Replies: 5
Views: 5898

Re: Vector lib?

Hi, I'm quite new with LOVE and Lua, and have been game programming with Python/Pyglet/Pymunk and C++/Irrlicht before, Just wondering, is there some vector library in LOVE engine? Or perhaps it's in its Box2d physics? There's no vector lib yet but you're welcome to contribute one :) The basics shou...
by Gerrit
Sun Apr 05, 2009 9:51 am
Forum: Support and Development
Topic: Other (programming) languages...
Replies: 6
Views: 8109

Re: Other (programming) languages...

Can I port LOVE to other scripting language like Python, Ruby? Or perhaps just in C++. Part of the ZLIB license: Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely. So you may port Löve to Python or Rub...
by Gerrit
Sat Apr 04, 2009 12:48 pm
Forum: Libraries and Tools
Topic: LUBE (Networking Library)
Replies: 332
Views: 225360

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

Hi I didn't read all the discussion here, but I have a suggestion: Integration of MYSQL comunication. Like: Logging in, sending requests, recieving Data without the need of reading the protocols. For what do you need that?! If you feel the need to communicate with a MySQL database you can always us...
by Gerrit
Sat Apr 04, 2009 12:44 pm
Forum: General
Topic: Opacity
Replies: 9
Views: 9067

Re: Opacity

Sparx wrote:It definatley is. But a Problem is that in this specific solution i need to set these opacity settings each time I draw an image. Is there a way of saving the once modulated image to a new Image?
Not yet but you can still make a function out of the above to call it each time you're drawing.