Page 1 of 2

My Game Is Broken?

Posted: Sun Jan 29, 2012 8:50 pm
by baconhawka7x
I have been working on my game (viewtopic.php?f=5&t=7292)for about a month. but now for some reason, when I run it, the window is really small, while everything else stays the same size, I'm not sure why.
It was all working fine until I downloaded some other love2d games. But now,,,Its ruinedDX
Does anyone have any ideas of why this would happen?

Please help me!

Re: My Game Is Broken??

Posted: Sun Jan 29, 2012 9:15 pm
by Qcode
Usually I just add this in to love.load whenever I need to make the screen size bigger.

Code: Select all

  screen_width = 1280
  screen_height = 800
  love.graphics.setMode(screen_width, screen_height)
Obviously you would change the width and height to make the screen the size you wanted.
Hope this helps
Qcode

Re: My Game Is Broken??

Posted: Sun Jan 29, 2012 9:24 pm
by baconhawka7x
Qcode wrote:Usually I just add this in to love.load whenever I need to make the screen size bigger.

Code: Select all

  screen_width = 1280
  screen_height = 800
  love.graphics.setMode(screen_width, screen_height)
Obviously you would change the width and height to make the screen the size you wanted.
Hope this helps
Qcode
I know, I did that. But ever sence I downloaded some other love2d games, it stopped working. I redownloaded love and everything.

Re: My Game Is Broken??

Posted: Sun Jan 29, 2012 10:47 pm
by Robin
Can you upload your current .love?

Re: My Game Is Broken??

Posted: Sun Jan 29, 2012 11:27 pm
by baconhawka7x
Robin wrote:Can you upload your current .love?
I will, but I'm not sure if it has to do with my computer, or my game.


EDIT:
Wow, my internet is running pretty slow, so sorry for the delay it should be up soon.
EDIT2:
My internet appears to crash, whenever I try to upload the .love:p
I get...
The connection to love2d.org was interrupted.

Re: My Game Is Broken??

Posted: Sun Jan 29, 2012 11:44 pm
by baconhawka7x
I'm not sure, but I think it may have something to do with when I downloaded..viewtopic.php?f=5&t=888.. Because not only does the screen shrink, but the title is "untitled adventure game".

Re: My Game Is Broken??

Posted: Sun Jan 29, 2012 11:48 pm
by kikito
Do you have big songs? Try replacing them with this 22kb file (copy it on top of all the songs, changing its name). Your game will have no sound, but the file will be much smaller, and easier to upload.

http://dl.dropbox.com/u/18558160/silence.ogg

Re: My Game Is Broken??

Posted: Sun Jan 29, 2012 11:55 pm
by baconhawka7x
kikito wrote:Do you have big songs? Try replacing them with this 22kb file (copy it on top of all the songs, changing its name). Your game will have no sound, but the file will be much smaller, and easier to upload.

http://dl.dropbox.com/u/18558160/silence.ogg
Thanks! it worked!
Its up now.
But like I said, I'm not sure if it has to do with my computer. Or the game.

Re: My Game Is Broken??

Posted: Mon Jan 30, 2012 12:33 am
by tentus
Once I comment out the music it "works" for me (as in, it runs... zombies never show up though). Does your game use any saved settings or something?

Re: My Game Is Broken??

Posted: Mon Jan 30, 2012 1:01 am
by baconhawka7x
tentus wrote:Once I comment out the music it "works" for me (as in, it runs... zombies never show up though). Does your game use any saved settings or something?
What do you mean "saved settings"?