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 / UVscrolling

Author
Message
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 9th Jul 2012 14:36
This has been discussed elsewhere but I cannot pinpoint the thread.

In the first version of AppGameKit I used to make a sprite vertical scroll effect by setting the Y UVoffset to -1 and then increasing the Y value every sync.

this is not working in 1076.

What commands do i need to use to have it work again in 1076?
Trisect Development
22
Years of Service
User Offline
Joined: 8th Sep 2002
Location: Denmark
Posted: 9th Jul 2012 15:34
Maybe this thread.

Check my games for iPad, Android Tablet and PlayBook.
www.ipad-apps.dk
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 9th Jul 2012 15:41
thanks a lot the command i was looking for is agk::SetImageWrapV (my_sprite_id, 0);
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 9th Jul 2012 19:10
But, as I discovered earlier, the UV scrolling doesn't (didn't?) work very well on iOS devices.

See this threadhttp://forum.thegamecreators.com/?m=forum_view&t=196625&b=41

Cheers,
Ancient Lady
AGK Community Tester
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 9th Jul 2012 19:40 Edited at: 9th Jul 2012 21:44
it worked fine for me on iOS!

The only problem I have now is that 1076 does not work on xcode3. 1074 works perfectly.
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 9th Jul 2012 19:43 Edited at: 9th Jul 2012 19:43
Not sure if ios player works properly with uv scrolling yet, but it is fairly easy to fake, What effect are you after?

Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 9th Jul 2012 20:28
I was just going for some jiggling of different levels of the background. But I've gotten way past worrying about that.

Cheers,
Ancient Lady
AGK Community Tester
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 9th Jul 2012 21:44
I am using UVscrolling to display scrolling credits. it works perfectly now.
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 9th Jul 2012 22:08
I may try again, for something else, later.

For now, I'm working on converting my Tier 1 to Tier 2 because I was tired of the randomish errors that seemed associated with garbage collection on strings.

I just tried to build the iOS version on Mac and am having a problem (separate post).

Cheers,
Ancient Lady
AGK Community Tester
MarcoBruti
13
Years of Service
User Offline
Joined: 20th Nov 2011
Location: Caput Mundi
Posted: 10th Jul 2012 11:45
No UV scrolling problem on Android, for iOS I don't know because I am Apple-allergic.
Quote: "For now, I'm working on converting my Tier 1 to Tier 2 because I was tired of the randomish errors that seemed associated with garbage collection on strings."

Is it the famous "process terminated..." error, or another kind? Would you pls specify the exact nature of your issue?
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 10th Jul 2012 15:49
No, the app works fine in Windows.

But on my iOS devices, it will abort at different points in the same function. And the Xcode log always says that the app tried to release unallocated memory. But it shows up (always in the same place) in either the interpreter.cpp file (releasing a string) or in the agk library, apparently from a file named cSprite.c (I think, going from memory). When it is in the library, I get to see the assembly language point where it is trying to release something.

Cheers,
Ancient Lady
AGK Community Tester

Login to post a reply

Server time is: 2024-11-23 17:54:17
Your offset time is: 2024-11-23 17:54:17