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 / AppGameKit 2017.09.04

Author
Message
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 4th Sep 2017 13:57
I've uploaded a new version to Steam and the TGC downloads area with the following changes


Mostly bug fixes in this version, the only new feature is the ability to record the screen on iOS and Android.

Let me know if you have any problems.
Sph!nx
15
Years of Service
User Offline
Joined: 3rd Dec 2008
Location: The Netherlands
Posted: 4th Sep 2017 15:01
Thank you very much. Updating now!
Regards Sph!nx
MikeMax
AGK Academic Backer
12
Years of Service
User Offline
Joined: 13th Dec 2011
Location: Paris
Posted: 4th Sep 2017 15:58
Thanks Paul !
--------------------------------
Join us on dedicated AppGameKit WeeKChat :
https://week.chat/room/AppGameKit
PartTimeCoder
AGK Tool Maker
9
Years of Service
User Offline
Joined: 9th Mar 2015
Location: London UK
Posted: 4th Sep 2017 17:12
Quote: "Objects with alpha masking enabled will now cast an alpha masked shadow"


Cool, Thanks Paul
pinete
12
Years of Service
User Offline
Joined: 28th Jul 2011
Location:
Posted: 4th Sep 2017 18:01
Thanks a lot!. Great job!
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 4th Sep 2017 22:52
thanks Paul
fubar
Jambo B
14
Years of Service
User Offline
Joined: 17th Sep 2009
Location: The Pit
Posted: 4th Sep 2017 23:31
Great! Thanks very much, Paul. All good news.

- J
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 5th Sep 2017 05:44
My AppGameKit player update asked for access to the microphone. Is that what i think it is?
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 5th Sep 2017 13:23
The microphone permission is used for screen recording. It will not be activated unless you call the StartScreenRecording command. This permission is optional for exported apps.
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 5th Sep 2017 22:43
So it records the sound when you startscreenrecording?
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 6th Sep 2017 09:19
Quote: "So it records the sound when you startscreenrecording?"
It's optional. All in the documentation.
coder51223
6
Years of Service
User Offline
Joined: 6th Sep 2017
Location:
Posted: 6th Sep 2017 09:42
problem with last version

I get a new error in my project when running

Error: Vertex shader failed to compile: 0(37):
error C1008: undefined variable "PosVarying"
in main.agc at line 1388 ---- line: "sync" command

need help
thanks

coder51223
6
Years of Service
User Offline
Joined: 6th Sep 2017
Location:
Posted: 6th Sep 2017 09:44
problem with last version

I get a new error in my project when running

Error: Vertex shader failed to compile: 0(37):
error C1008: undefined variable "PosVarying"
in main.agc at line 1388 ---- line: "sync" command

need help
thanks

blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 6th Sep 2017 09:54
Thanks. I didn't think to look at the doco. Stoopid me!
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 6th Sep 2017 16:09
Quote: "Error: Vertex shader failed to compile: 0(37):
error C1008: undefined variable "PosVarying""

Were you running one of the example projects or a project of your own, if it was your own project are you using your own shaders?
DavidAGK
AGK Developer
10
Years of Service
User Offline
Joined: 1st Jan 2014
Location:
Posted: 6th Sep 2017 16:49
Thanks you TGC for your ongoing support and development!
Using Tier 1 AppGameKit V2
Started coding with AMOS (Thanks Francois Lionet)
JosephB
17
Years of Service
User Offline
Joined: 12th Sep 2006
Location:
Posted: 10th Sep 2017 09:58
I have a similar problem that Coder51223 noted as follows: Error Pixel shader failed to compile 0(18):error C0000: syntax error, unexpected ';', expecting ')' at token ";" in main.agc at line 4566.

Line 4566 is: Sync() there are no other characters on that line.

A second message also appears: Error Uncaught exception: Tried to draw a shader that is not valid.

The application does not use shaders.

This is my project, but I have not loaded it for a few months.

Thanks for your help.

Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 11th Sep 2017 12:50
Quote: "I have a similar problem that Coder51223 noted as follows: Error Pixel shader failed to compile 0(18):error C0000: syntax error, unexpected ';', expecting ')' at token ";" in main.agc at line 4566."

I had a look through the default shaders and couldn't immediately see anything that would cause this error. Are you able to replicate it in a small example, or to send me your project for testing?
Jerry McGuire
7
Years of Service
User Offline
Joined: 25th Mar 2017
Location:
Posted: 12th Sep 2017 00:17
Thanks for the ongoing support / bug fixes.
iMac Book Pro, MacOS 10.12.4, Xcode 8.3.3;
iPhone 6, iOS 9.35; iPhone 5s, iOS 9.35; iPad (3rd gen), iOS 9.35;

Dell Precision T7400, Windows 7 Professional 64bit, Visual Studio Community 2015;
JosephB
17
Years of Service
User Offline
Joined: 12th Sep 2006
Location:
Posted: 12th Sep 2017 12:23
Quote: "Quote: "I have a similar problem that Coder51223 noted as follows: Error Pixel shader failed to compile 0(18):error C0000: syntax error, unexpected ';', expecting ')' at token ";" in main.agc at line 4566."

I had a look through the default shaders and couldn't immediately see anything that would cause this error. Are you able to replicate it in a small example, or to send me your project for testing?"


Paul,

Thank you. I located the offending command "SetGenerateMipmaps (1)". If I use the command and then try to set more than one image to an object, then I receive the shader error that I mentioned.

The sample code creates the error for me and I attached some images I use:



Attachments

Login to view attachments
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 12th Sep 2017 13:20
Thanks, fixed for the next version
Preben
AGK Studio Developer
19
Years of Service
User Offline
Joined: 30th Jun 2004
Location:
Posted: 12th Sep 2017 14:01
Hi Paul,

There is a problems with LoadImage and some non power of 2 images.

Looks like uv is not set correct.

If i use: LoadImageResized( "", 1 , 1, 0 )

Instead of LoadImage then the UV is correct and it display as it should, but there is another problem with LoadImageResized, it do not produce mipmaps.
best regards Preben Eriksen,
Ian Rees
AGK Developer
11
Years of Service
User Offline
Joined: 3rd May 2012
Location: Wales, UK
Posted: 12th Sep 2017 20:23
Hi Paul,

Thank you for the new version and your continued support of AGK.

With iOS 11 releasing soon, will apps created with this version run OK? If not, are there plans to release a new version of AppGameKit in time for the iOS 11 release? We plan on releasing our game on iOS and Android soon.

We released the PC version last week - http://www.superiorinteractive.com/galaforceworlds/ (written in AppGameKit )

The video was recorded with the new screen recording commands - they work really well!

Many thanks.
E
coder51223
6
Years of Service
User Offline
Joined: 6th Sep 2017
Location:
Posted: 13th Sep 2017 12:13
hi
my last error seemed a bad ms3d model
I'm not using it anymore and all seems allright
---
but I have a new problem:
I'm using ms3d animated models

when I use raycast on the models the collision is detected with some bones, but other parts don't detect collision

for example:

legs detect collision but torso/head doesn't

perhaps that is not supported in current version of AppGameKit?

thanks
linuxluvuback
8
Years of Service
User Offline
Joined: 17th Oct 2015
Location:
Posted: 14th Sep 2017 07:43
Hello,

Please update humble bundle agk2 file win/linux/etc.

Thanks !!!
RickV
TGC Development Director
23
Years of Service
User Offline
Joined: 27th Apr 2000
Location: United Kingdom
Posted: 14th Sep 2017 08:42
@linuxluvuback I've sent them off to HumbleBundle, I'll post here when they tell me they're live.
Development Director
TGC Team
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 14th Sep 2017 10:52
Quote: "when I use raycast on the models the collision is detected with some bones, but other parts don't detect collision"

Is the object scaled? I stopped a project because raycasting doesn't work on scaled objects.
Click here for VR Legend of Zelda stuff
RickV
TGC Development Director
23
Years of Service
User Offline
Joined: 27th Apr 2000
Location: United Kingdom
Posted: 15th Sep 2017 08:05
@linuxluvuback the Humble Bundle version is now up to date!
Development Director
TGC Team
Ian Rees
AGK Developer
11
Years of Service
User Offline
Joined: 3rd May 2012
Location: Wales, UK
Posted: 15th Sep 2017 16:28
Hi Paul,

The AGKPlayer (latest version from the App Store) crashes on my iPad Mini running iOS 8.1.1; it closes shortly after launching. After installing the latest version of my game (exported with AppGameKit 2017.09.04) through TestFlight, the game closes shortly after launching.

The game runs normally on my iPhone 6 and iPad Air 2 both running iOS 10.3.3 and the previous version of the game (compiled in AppGameKit 2017.08.16) ran fine on all 3 devices via TestFlight.

Any ideas?

Many thanks.

E
coder51223
6
Years of Service
User Offline
Joined: 6th Sep 2017
Location:
Posted: 16th Sep 2017 08:02
Mobiius:
My animated objects aren't scaled.
BatVink
Moderator
20
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 16th Sep 2017 11:14 Edited at: 16th Sep 2017 11:15
This isn't necessarily a problem introduced with the latest version.
In the IDE, the hovertext for functions only shows 2.5 parameters.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt

Attachments

Login to view attachments
Conjured Entertainment
AGK Developer
18
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 16th Sep 2017 14:33
Thanks Paul!

My old version I am using plays the MP3's fine but not the OGG files.
I am not keen on using MP3's, so I hope my OGGs will start playing nice now.

The screen recording should be very useful, and I am looking forward to getting busy with that.

Coding things my way since 1981 -- Currently using AppGameKit V2 Tier 1
Ian Rees
AGK Developer
11
Years of Service
User Offline
Joined: 3rd May 2012
Location: Wales, UK
Posted: 20th Sep 2017 11:55
I have just installed iOS 11 on my iPhone and my game works fine and also the AGKPlayer works fine so that's great news.

Still getting the crash with my game and the AGKPlayer on devices running 8.1.1. Any chance this can be looked at please?

Many thanks.
E
Ian Rees
AGK Developer
11
Years of Service
User Offline
Joined: 3rd May 2012
Location: Wales, UK
Posted: 27th Sep 2017 15:15
I can confirm that AGK2 2017.09.25 has resolved the issue with the crashes on iOS 8.1.1. Thank you Paul.
E

Login to post a reply

Server time is: 2024-03-29 05:49:59
Your offset time is: 2024-03-29 05:49:59