Page 1 of 1

little help?

Posted: Tue Mar 23, 2010 8:11 pm
by RPGNOOB
Hi Guys I am very new to programming, I have tried it a few times in my life and always ended up giving up, but recently I have been determined to master it, since creating a small program in visual basic that randomly roles 2 dice (sounds silly i know but its impressive to see).

anyways I stumbled across love, and was impressed straight away, especially looking at some work in progress.

I tried to follow this tutorial about scrolling tile maps, http://love2d.org/wiki/Tutorial:Fine_Ti ... _Scrolling

i copied this entire piece of code into my main.lua and made the tiles.png exactly right and it still does not work :(

can anyone help?

Re: little help?

Posted: Tue Mar 23, 2010 8:32 pm
by Robin
Hello.
RPGNOOB wrote:can anyone help?
Sure. We just need to know what exactly the problem is. Do you know how to run LÖVE? If so, what happens when you do? Black screen, blue screen (the Blue Screen of LÖVE), something else?

Re: little help?

Posted: Tue Mar 23, 2010 8:32 pm
by nevon
If you're just getting into programming, I wouldn't really recommend that you start with something like that.

Either way, what's the error message you're getting?

Re: little help?

Posted: Tue Mar 23, 2010 8:37 pm
by Thursdaybloom
How exactly doesn't it work and have you successfully run other .love files? How are you trying to run the tutorial?

Re: little help?

Posted: Wed Mar 24, 2010 12:00 am
by RPGNOOB
basically I tried to follow the scrolling tile map tutorial, and it didnt really work, I got a few blue screen errors, but they where quite straight forward to fix. after I did this, I started getting a black screen when running the program. So I was thinking it was not loading the tile pictures for whatever reason.

Anyways I decided to load the whole of the above tutorial into my 'main.lua' and follow it exactly, but it just brings up a white rtectangular area with a black outline.

Sorry cant think of anything else to add :(

Re: little help?

Posted: Wed Mar 24, 2010 6:40 am
by Robin
Does the tileset you used have the right width and height? Some older graphics cards or drivers can't handle images that are not 2^N. (For example 128x256 or 32x512.)