Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / Menu keeps moving with parallax background

Author
Message
Sinpls
9
Years of Service
User Offline
Joined: 11th Oct 2015
Location:
Posted: 11th Oct 2015 14:26
I just finished the first tutorial on the AppGameKit website and wanted to place a menu sprite on top of the parallax background. The problem I have is that the menu sprite slowly moves down with the background.
I think the problem is the SetViewOffset, but I don't how I can solve this problem

Main Loop:



Parallax background code:



Menu code:

Funnell7
13
Years of Service
User Offline
Joined: 8th Sep 2011
Location: UK, England
Posted: 11th Oct 2015 16:26
Fix the menu sprite to the screen... FixSpriteToScreen (MenuSprite, 1).
Using AppGameKit V2 Tier 1
Sinpls
9
Years of Service
User Offline
Joined: 11th Oct 2015
Location:
Posted: 12th Oct 2015 07:52
Thank you!

Login to post a reply

Server time is: 2024-11-27 03:02:48
Your offset time is: 2024-11-27 03:02:48