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.

AppGameKit Classic Chat / SetViewOffset

Author
Message
Behdadsoft
15
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 1st Mar 2015 11:04 Edited at: 1st Mar 2015 12:06
Hi.

I wrote a code for show endless background but when use image, seem game stop at a moment. please see my code and if there is any problem guide me to fix it.

Thanks.

Mike Archer
9
Years of Service
User Offline
Joined: 19th Feb 2015
Location: Wales
Posted: 3rd Mar 2015 22:28
Change..

if GetViewOffsetX() > 100

to

if GetViewOffsetX() >= 100

the problem was an offset of 100 displays the same as an offset of 0, so you was displaying the same frame twice, once at 100 & once at 0.
Behdadsoft
15
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 4th Mar 2015 22:04
Thanks Mike Archer
Behdadsoft
15
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 14th Mar 2015 08:11 Edited at: 14th Mar 2015 08:14
....
Behdadsoft
15
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 12th Jun 2015 20:16 Edited at: 12th Jun 2015 20:17
I have this code but seem there are still pause in move view.



Please Guide to fix it.

Thanks.
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 13th Jun 2015 11:40
Is this just Flamebait or is it me?

V2 T1 (Mostly)
Uzmadesign
Behdadsoft
15
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 13th Jun 2015 18:51
Quote: "Is this just Flamebait or is it me?"


I don't understand CJB

Login to post a reply

Server time is: 2024-04-19 23:15:31
Your offset time is: 2024-04-19 23:15:31