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 / Couple of questions for 108 final

Author
Message
nz0
AGK Developer
16
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 15th Jan 2013 01:34
I did try the last 108beta (impressed so far) and was wondering:

Is the 108 final going to:

1) have vsync() implemented?
2) media encyption?
3) improve drawing speed on android from 1076?
4) Any enhancements in the music and sound areas?

Alien Menace
AGK Developer
19
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Earth (just visiting)
Posted: 15th Jan 2013 02:22
We need media encryption badly.

Apps published: 3
MikeMax
AGK Academic Backer
12
Years of Service
User Offline
Joined: 13th Dec 2011
Location: Paris
Posted: 15th Jan 2013 17:09 Edited at: 15th Jan 2013 17:10
Quote: "
1) have vsync() implemented?
2) media encyption?
3) improve drawing speed on android from 1076?
4) Any enhancements in the music and sound areas?
"


1) Yes especially for computers. Mobile devices often limits FPS (to respect vsync i think) to a known value (60fps for nexus 10, 40fps for Galaxy S3 for example).
2) Media encryption is very important yes ... +1 on this.
3) -
4) Some sound pitch functions (engine sounds for example ... without that it's difficult to make a decent racing game) and optimizations about loading and playing sound/music could be welcome yes
Marl
12
Years of Service
User Offline
Joined: 19th Nov 2011
Location: Bradford, UK
Posted: 16th Jan 2013 19:36 Edited at: 16th Jan 2013 19:40
Quote: " 40fps for Galaxy S3"

Is this with power saving on?

The S2 gets 60 (30 with power saving) and the S3 is supposed to be better

As to sound - pretty much all devices have some kind of internal sound, can't we use something like the old BEL function on PCs to use them.

it seems a waste to have to load a sample to do a beep, click or whatever to acknowledge a screen touch when the device is capable of doing it anyway.

and what about the buzz from haptic feedback on phones?
nz0
AGK Developer
16
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 17th Jan 2013 00:11
Quote: "
Yes especially for computers. Mobile devices often limits FPS
"


Yes, I meant only for computers, not devices.

MikeMax
AGK Academic Backer
12
Years of Service
User Offline
Joined: 13th Dec 2011
Location: Paris
Posted: 17th Jan 2013 02:34 Edited at: 17th Jan 2013 02:39
Quote: "The S2 gets 60 (30 with power saving) and the S3 is supposed to be better "


Marl, just checked and you're right 40fps with Power Saving ON and 60fps when OFF
erebusman
12
Years of Service
User Offline
Joined: 23rd Jul 2011
Location: Sacramento, CA
Posted: 17th Jan 2013 07:15
There's lots of things in 108 that I'm happy to get but there''s one item thats on my wishlist ..

I want them to implement a GetPaused() function similar to the GetResumed() function we have now.

Per my thread http://forum.thegamecreators.com/?m=forum_view&t=201614&b=46

The reason is on Android the music for my games does NOT STOP PLAYING when the user sends the app to the background and I have no way to stop it.

It makes for a horrible crappy app and I can't ship an app which such a show stopper bug.

WildTangent is publishing me on PC and would gladly ship my android games but if I cant deliver a better quality product than that then I can't release on Android with AGK.

This is the only item blocking me from shipping titles on Android at this point!

*PRETTY PLEASE AppGameKit IMPLEMENT GetPaused()!

Thank you .. sorry for yelling .. I'm missing out on market share here

Alain91
12
Years of Service
User Offline
Joined: 20th Aug 2011
Location: France
Posted: 17th Jan 2013 07:15
Hello MikeMax,

Please could you go to this thread ?
http://forum.thegamecreators.com/?m=forum_view&t=202936&b=41&msg=2426373#m2426373

Sorry for the out of topic ..
Alain
nz0
AGK Developer
16
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 10th Feb 2013 01:58
I'll just bump this again so there's a chance my questions will be answered.

nz0
AGK Developer
16
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 12th Feb 2013 22:14
Can AppGameKit confirm any of this?

The Zoq2
14
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 12th Feb 2013 23:52
Dosn't the sync(60, 1) enable some form of vSync?
nz0
AGK Developer
16
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 13th Feb 2013 00:23
Not properly on fullscreen

MikeMax
AGK Academic Backer
12
Years of Service
User Offline
Joined: 13th Dec 2011
Location: Paris
Posted: 13th Feb 2013 02:41 Edited at: 13th Feb 2013 03:08
VSync and SetSyncRate seems to be different.

for me in fullscreen at 1920x1080 :

- Only SetSyncRate(0,0) : 700fps and frame Refresh is clean
- Only SetSyncRate(60,1) : 60 FPS and Frame Refresh is jerking
- Only SetVSync(1) (yes this command exists :p) : limited to 60FPS and frame refresh is clean=> Edited : it's Jerky also at 60fps (???).
- SetSyncRate(60,1) and SetVSync(1) : it seems SetSyncRate invalidate the SetVSync : 60 FPS and Frame Refresh is jerking
- SetSyncRate(30,1) and SetVSync(1) : it seems SetSyncRate invalidate the SetVSync but SetVSync force 60FPS : Result is 60 FPS and Frame Refresh is also jerking

IT would be cool to have documentation on SetVSync and additional infos on SetSyncRate
nz0
AGK Developer
16
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 13th Feb 2013 02:58
SetVsync(1) is fine. This will sync to monitor and is acceptable.

When you select vsync you abide by your card refresh to screen - no suprises there.

Glad to see it exists at least
Not sure why you would attempt to override vsync as this would be counter productive with any sync() call

MikeMax
AGK Academic Backer
12
Years of Service
User Offline
Joined: 13th Dec 2011
Location: Paris
Posted: 13th Feb 2013 03:09 Edited at: 13th Feb 2013 03:10
Correction : VSync doesn't work for me...

But it's strange ... on my PC 60fps is not clean and at 700 fps it's ok lol.
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 13th Feb 2013 11:41
@erebusman
about GetPause(),
my android device stop the playing music if i use the home button
and if the app resume it plays again.
what android os version you use?
JimHawkins
14
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 13th Feb 2013 11:55
The app should automatically pause if Home is pressed. What happens on Resume is up to the app.

-- Jim DO IT FASTER, EASIER AND BETTER WITH AppGameKit FOR PASCAL
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 13th Feb 2013 12:30
@JimHawkins the problem from erebusman was the musik don't stop playing.
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 13th Feb 2013 15:51
MikeMax, does it work better if you leave the second parameter for SetSyncRate to zero (the default)?

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 14th Feb 2013 18:48 Edited at: 14th Feb 2013 18:49
SetSyncRate and SetVSync are mutually exclusive, they will overwrite the settings of the other. The following applies to 108 and beyond.

Using SetSyncRate with a value of a value other than 60 will turn VSync off and use your chosen value, using a value of 60 will turn VSync on as it should be a smoother method of achieving 60 fps.

Using SetVSync with a value of 1 will let the system handle the frame rate (usually 60fps) and set a manual sync rate of 70 as a backup, just in case the system does not support VSync.

Quote: "2) media encyption?"

Media encryption would be a nice feature, not in the near future but at some point.

Quote: "3) improve drawing speed on android from 1076?"

I can't think of anything specific that would have improved pure 2D drawing since 1076, only that it decreased performance in early 108 betas and has since returned to 1076 levels.

Quote: "4) Any enhancements in the music and sound areas?"

Nothing planned

Login to post a reply

Server time is: 2024-05-08 03:39:15
Your offset time is: 2024-05-08 03:39:15