little help?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
RPGNOOB
Prole
Posts: 2
Joined: Tue Mar 23, 2010 8:06 pm

little help?

Post 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?
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: little help?

Post 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?
Help us help you: attach a .love.
User avatar
nevon
Commander of the Circuloids
Posts: 938
Joined: Thu Feb 14, 2008 8:25 pm
Location: Stockholm, Sweden
Contact:

Re: little help?

Post 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?
User avatar
Thursdaybloom
Citizen
Posts: 81
Joined: Mon Feb 15, 2010 3:43 am
Location: Australia

Re: little help?

Post by Thursdaybloom »

How exactly doesn't it work and have you successfully run other .love files? How are you trying to run the tutorial?
RPGNOOB
Prole
Posts: 2
Joined: Tue Mar 23, 2010 8:06 pm

Re: little help?

Post 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 :(
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: little help?

Post 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.)
Help us help you: attach a .love.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest