Search found 491 matches

by baconhawka7x
Sat Dec 03, 2011 12:18 am
Forum: Support and Development
Topic: Lag.
Replies: 12
Views: 3205

Lag.

I noticed if i leave my Love 2d game running for too long the frame rate drops insanely. i'm guessing that it is because of how i organize things? any and all tips will help! This is my main.lua function love.load() love.graphics.setBackgroundColor(255, 255, 255) character = love.graphics.newImage(&...
by baconhawka7x
Thu Nov 24, 2011 11:22 pm
Forum: Support and Development
Topic: Bullets!
Replies: 4
Views: 1946

Re: Bullets!

thank you i just have a quick question. Where would i put the table index?
by baconhawka7x
Thu Nov 24, 2011 5:43 am
Forum: Support and Development
Topic: Bullets!
Replies: 4
Views: 1946

Bullets!

I have a part in my game...Um i'll try to describe it..Imagine pong. But replace the two pongs with people that shoot at eachother! I have everything done exept how to shoot. I want the bullets to move at a slow speed, and when they make contact with the enemy the other player will earn a point. So ...
by baconhawka7x
Wed Nov 23, 2011 10:40 am
Forum: Support and Development
Topic: Enemy ai?
Replies: 2
Views: 2310

Enemy ai?

My game is a top-view arcade shooter. you are a redbox and you run around and shoot enemies. That's just the problems. the Enemies...So how would i make an enemy that moves in small circles and shoots the enemy?
by baconhawka7x
Wed Nov 23, 2011 6:21 am
Forum: Support and Development
Topic: Long levels...
Replies: 5
Views: 1856

Long levels...

I'm making even more progress on my game thanks to the love forums. I am on my first level, (yes i know lol), I finally figured out how the collision detection process. But theres one thing i dont understand...The game is top-view, I want to make levels (obviously) but the only problem is I do not k...
by baconhawka7x
Wed Nov 23, 2011 5:55 am
Forum: Support and Development
Topic: Main Menu
Replies: 6
Views: 3082

Re: Main Menu

well, to draw the button you would use love.graphics.draw() then in the function love.mousepressed() you would have to say: if x > button.x and x < button.x + button.img:width and y > button.y and y < button.y + button.img:height then --button action end [/quote] thank you soooooo much!!!!
by baconhawka7x
Tue Nov 22, 2011 11:26 pm
Forum: Support and Development
Topic: Main Menu
Replies: 6
Views: 3082

Re: Main Menu

josefnpat wrote:Well, you would draw the button, and if your love.mousepressed x's and y's are within the correct ranges, consider that the "button click" event.
How would i do that? lol sorry..im not the best..
by baconhawka7x
Tue Nov 22, 2011 10:52 pm
Forum: Support and Development
Topic: Main Menu
Replies: 6
Views: 3082

Main Menu

I've been making progress on my game. But i just need to know one thing. How do I make a button? sorry im a little new but all help is very appreciated!
by baconhawka7x
Tue Nov 22, 2011 10:43 pm
Forum: Support and Development
Topic: Walls!
Replies: 6
Views: 2792

Re: Walls!

You cant use more then once love.draw(), is not a function that has to be looped by you, löve itself does that already. So, what your basic game main.lua should look like is like this : function love.load() --stuff end function love.update() --stuff end function love.draw() --stuff end omg thank yo...
by baconhawka7x
Mon Nov 21, 2011 6:48 pm
Forum: Support and Development
Topic: Walls!
Replies: 6
Views: 2792

Re: Walls!

Hello and welcome to the LOVE community. When posting on the board please surround any code clipping with tags.[quote][/quote][/quote] Thank you that helps alot [quote]The conf file should really only be for configuring love. It's better if you put the love.load declaration in the main.lua file[quo...