problem with game views (starts on page 2)

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.
User avatar
Vandie
Prole
Posts: 12
Joined: Sun Sep 08, 2013 8:22 pm

views problem

Post by Vandie »

im back guys with another problem ... yay :(

this time its the fact that my games view wont change when i click the computer help :(
anyway ive attached the new .love file thanks in advance...

Code: Select all

Dear Math, please grow up and solve your own problems, I'm tired of solving them for you...
Quote my 9 year old brother...

Code: Select all

How can you make sure you never miss your target? Shoot first, and whatever you hit, call it the target.
Quote My dad...
davisdude
Party member
Posts: 1154
Joined: Sun Apr 28, 2013 3:29 am
Location: North Carolina

Re: problem with game views (starts on page 2)

Post by davisdude »

On line 178 of your main.lua you have

Code: Select all

if button == 1 then
That doesn't seem right. Replace 1 with 'l' and it should work.
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim
User avatar
Vandie
Prole
Posts: 12
Joined: Sun Sep 08, 2013 8:22 pm

Re: problem with game views (starts on page 2)

Post by Vandie »

hmm ... still not working the screen view is still the same

--edit
thanks fixed it by putting the quote marks around the l :awesome:
ill be back if i run into any more errors

Code: Select all

Dear Math, please grow up and solve your own problems, I'm tired of solving them for you...
Quote my 9 year old brother...

Code: Select all

How can you make sure you never miss your target? Shoot first, and whatever you hit, call it the target.
Quote My dad...
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 3 guests