background to follow view

Learn how to start making games.

background to follow view

Postby ckn087 » Tue Sep 13, 2016 1:43 am

How do I make my game background follow my view? I'm trying to get my background to follow my view after I destroy the last actor on the screen to go to the next wave. I used the format view.x=view.x +640; but I don't know what I'm doing wrong. Also I'm trying to set it to where it doesn't immediately switch to the next screen by using a timer. This is how I have it set: When actor is destroyed, create timer (next wave) 2000 ms. Then I have tried to set the timer on my destroy actor which I'm assuming doesn't work because it has been destroyed? But I have also put the timer on the player actor or background and neither works. Please help!!
ckn087
 
Posts: 30
Joined: Thu Jan 14, 2010 12:29 pm
Location: U.S.A
Score: 1 Give a positive score

Re: background to follow view

Postby ITomi » Fri Sep 16, 2016 4:09 pm

Can you attach here a .ged file about your program?
User avatar
ITomi
 
Posts: 48
Joined: Sun Aug 21, 2016 1:56 pm
Location: Hungary
Score: 5 Give a positive score


Return to Getting Started

Who is online

Users browsing this forum: No registered users and 1 guest