Search found 71 matches

by kingslovelua
Mon Dec 09, 2013 3:20 pm
Forum: Support and Development
Topic: Stuck on a couple of thing
Replies: 3
Views: 1296

Re: Stuck on a couple of thing

Next time, please reduce the download file size: First you have a really large sound file inside and second you have a .love file nested inside the .love file. By removing this you could at least reduce the file size to a half. Also the .love was packed incorrectly. You need to zip the content of t...
by kingslovelua
Mon Dec 09, 2013 3:23 am
Forum: Support and Development
Topic: Stuck on a couple of thing
Replies: 3
Views: 1296

Stuck on a couple of thing

Hey I stuck on a couple of things in my project. first thing enemy spawning I was looking at this post https://love2d.org/forums/viewtopic.php?f=4&t=11701 and tried to use zombie = {} function spawnZombies() for i=1,10 do --Replace 10 with number of enemies you want zombies[#zombies+1]={ x = math.ra...
by kingslovelua
Mon Dec 09, 2013 1:15 am
Forum: Support and Development
Topic: Enemy Spawning
Replies: 10
Views: 5646

Re: Enemy Spawning

May you should begin with the code from mickeyjm. It's much easier to understand. The zombie table didn't get x, y values. They have to be in the self.table create like I wrote or you combine the code from mickeyjm with mine. just remove function enemy:new and insert his code in the update. zombie ...
by kingslovelua
Sun Oct 27, 2013 12:17 am
Forum: General
Topic: What happened to love.joystick??
Replies: 5
Views: 3087

Re: What happened to love.joystick??

It depends on what you're trying to do. I'm currently creating a space invaders-ish side-scrolling shooter game (Think touhou, but with less bullets), and I managed to implement gamepad support pretty easily. But yeah, the wiki could use a clear description or example. Wow the Touhou game looks cra...
by kingslovelua
Fri Oct 25, 2013 7:31 pm
Forum: General
Topic: What happened to love.joystick??
Replies: 5
Views: 3087

Re: What happened to love.joystick??

Relax, the wiki is set up to not display anything which is newer than the current version in lists like that one. http://love2d.org/wiki/Joystick Are you replacing it with anything? As far as I can see, you're not. The changelog mentions the changes. It might be a good idea to check out the changel...
by kingslovelua
Sat Oct 19, 2013 2:37 am
Forum: Support and Development
Topic: Trying out 0.9.0 gamepad API.
Replies: 9
Views: 4438

Re: Trying out 0.9.0 gamepad API.

NuclearSailor wrote:Hey I don't want to start a new thread so i'll ask this here. If I want to use the left stick of my xbox controller to move a circle around the screen. How would I get that the stick is being moved and in what direction?

I'm trying to figure out the same thing I'm not sure what I'm down.
by kingslovelua
Fri Oct 18, 2013 2:54 pm
Forum: Support and Development
Topic: where can I learn about Polygons
Replies: 1
Views: 727

where can I learn about Polygons

Hello I'm searching the internet on how to create polygons, but can't find anything good. I want to learn how to do this for the shape = love.physics.newPolygonShape( x1, y1, x2, y2, x3, y3, ... ) in the love2d Documentation. so does anyone know any good website on polygon creations/ tutorial.
by kingslovelua
Sun Oct 13, 2013 6:01 pm
Forum: Support and Development
Topic: is it possible to use grid with newWorld and love.body
Replies: 5
Views: 1472

Re: is it possible to use grid with newWorld and love.body

Hello I'm playing around with Lua/Love2D and I want to know if it's possible to Use a grid and love.body together. You can, but it's really awkward and depending on what exactly you want, there's going to be a better way. yeah I figured it would seem weird to most, but I just wanted the ease of alt...
by kingslovelua
Sun Oct 13, 2013 6:31 am
Forum: Support and Development
Topic: is it possible to use grid with newWorld and love.body
Replies: 5
Views: 1472

is it possible to use grid with newWorld and love.body

Hello I'm playing around with Lua/Love2D and I want to know if it's possible to Use a grid and love.body together. I wanted to make and test out grids and I also want to make a world = love.physics.newWorld to set the gravity 0, 0 and use love.body:applyForce to give it a space like feeling. So righ...
by kingslovelua
Thu Aug 02, 2012 4:06 pm
Forum: Support and Development
Topic: Confused on how to make joystick to work
Replies: 5
Views: 1165

Re: Confused on how to make joystick to work

Lafolie wrote:The joystick indexing has been changed to start at 1 and not 0.

Thank you, how do I give you a +1 karma all i did was put one and it started to work thanks