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 / AGK Version 2017.01.09

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


Mostly bug fixes in this release, let me know if you have any problems.
damothegreat
User Banned
Posted: 9th Jan 2017 15:03
Thanks @Paul
Using Tier 1 AppGameKit V2
Started coding with AMOS
Works with a Lenovo IdeaPad 700, 1TB SSD (Data), 128GB HD (System), 12GB Ram, GeForce Nvdia 950M, Windows 10, 2.3Ghz (Turbo to 3.2ghz when required)
Digital Awakening
AGK Developer
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 9th Jan 2017 15:09
Paul:
What does this mean?

Quote: "Fixed SetWindowSize with the fullscreen parameter set to 1 on Windows not creating a proper fullscreen window"
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 9th Jan 2017 15:16
I don't know how common it was, but on my machine the window would go fullscreen then immediately offset itself by a few pixels and get a window border again
Scary Little Rabbit
14
Years of Service
User Offline
Joined: 4th Aug 2009
Location: Chelyabinsk, Russian Federation.
Posted: 9th Jan 2017 15:48
many thanks! I like fast releases.

Paul Johnston wrote: "- Trying out new build numbering system based on date"

good choice.
error #1:
'too many stars, too many stares. disembody.'
Lone Star Dive: NOVGO!
Alien Menace
AGK Developer
19
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Earth (just visiting)
Posted: 9th Jan 2017 16:16 Edited at: 9th Jan 2017 16:17
Thanks for the update Paul, anything released for AppGameKit is appreciated. How about upping the wow factor a bit by updating the box2d (buoyancy would be nice https://www.youtube.com/watch?v=9fCT-EjlF9I) system or adding some sprite blending modes (add, subtract, multiply, xor, etc)?
I love my Altair 8800 Replica.

http://altairclone.com/
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 9th Jan 2017 17:08
I've just updated the files to remove a debug message when exporting an APK. It doesn't affect the export process but if you want to remove it then redownload the install file.
pinete
12
Years of Service
User Offline
Joined: 28th Jul 2011
Location:
Posted: 9th Jan 2017 17:48 Edited at: 9th Jan 2017 17:48
Thanks so much for the effort Paul. Much appreciated.
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 9th Jan 2017 20:28 Edited at: 9th Jan 2017 22:35
@paul
a little issue at html5 if me return from full screen the firefox (50.1.0) missing a refresh, see screenshot. (me used the button "run game in fullscreen mode" before)
the same game in edge (at win 10) show me a network error (this game did not use network, it was made vs ai)
internet explorer said something about script or activex, if me click ok it said access denied
AGK (Steam) V2017.01.09 : Windows 10 Pro 64 Bit : AMD (16.12.1) Radeon R7 265 : Mac mini OS Sierra (10.12)

Attachments

Login to view attachments
Abiz
11
Years of Service
User Offline
Joined: 14th Nov 2012
Location: Amsterdam
Posted: 9th Jan 2017 21:00
Awesome update Paul!
Thanks for the changes, no outstanding items left for us to prevent go-live.

Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 9th Jan 2017 21:10
Quote: "a little issue at html5 if me return from full screen the firefox (50.1.0) missing a refresh, see screenshot."

Strange, it doesn't happen here, same version of Firefox.

Quote: "the same game in edge (at win 10) show me a network error (this game did not use network, it was made vs ai)"

If the AppGameKit player can't find the bytecode.byc file then it tries to start the player in broadcast revceiver mode, which uses the network, and isn't supported on HTML5.

Quote: "internet explorer said something about script or activex, if me click ok it said access denied"

It probably doesn't allow access to local files, you will have to host your HTML5 files on a server for it to work. This is similar to Chrome, so far I only know of Firefox that will allow local access to files.
Digital Awakening
AGK Developer
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 9th Jan 2017 21:13
Quote: "I don't know how common it was, but on my machine the window would go fullscreen then immediately offset itself by a few pixels and get a window border again"


OK, never heard of that. Good thing you caught it.

Any chance we can get a maximize window command for the next update?
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 9th Jan 2017 21:56 Edited at: 9th Jan 2017 23:07
@paul
for a test i started it from the html5 exported folder.
maybe it reacts different if me put this into my homepage.

my result:
if me end my game in web i got this message "unrecognised instruction:0 in at line 0"
if me start from web in edge i got this, something with argument. same with internet explorer.
in chrome at phone after loading i see black and got a ohh no message from browser.
at safari the button "run game in fullscreen mode" did not work, the game start there.
at safari it seems the soft touch at track pad did not work well so agk did not recognised GetPointerPressed() (example: me touch 6+ times with the same force and then i get once a pressed in agk)
(at web me only renamed the start html to index.html because then its optional in url)

for test my wip game online (firefox is 99%,also safari at mac looks good)
http://www.hobbycoder.eu/games/ninemensmorrisai/
AGK (Steam) V2017.01.09 : Windows 10 Pro 64 Bit : AMD (16.12.1) Radeon R7 265 : Mac mini OS Sierra (10.12)

Attachments

Login to view attachments
Phobos70
7
Years of Service
User Offline
Joined: 14th May 2016
Location: Italy
Posted: 10th Jan 2017 10:45
Thank you Paul!
hoyoyo80
7
Years of Service
User Offline
Joined: 11th May 2016
Location:
Posted: 10th Jan 2017 10:50
Omg..why im still on 2.0.22?
Blendman
10
Years of Service
User Offline
Joined: 17th Feb 2014
Location: Arkeos
Posted: 10th Jan 2017 11:29
Great !
Thanks for the new release !
AGK2 tier1 - http://www.dracaena-studio.com
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 10th Jan 2017 14:23
Thanks for the update Paul! Good work
V2 T1 (Mostly)
Phone Tap!
Uzmadesign
frittblas
10
Years of Service
User Offline
Joined: 15th Jan 2014
Location:
Posted: 10th Jan 2017 14:34
*

hi!

question: Will it ever be possible to make html5-games in tier2?

asked this question 100 times already with no answer.

if no maybe give some pointers on how to do it yourself?

maybe give me something?

/h
f
Kevin Cross
20
Years of Service
User Offline
Joined: 15th Nov 2003
Location: London, UK
Posted: 10th Jan 2017 15:49
Thanks for fixing the export APK problem. Looking forward to testing it out later in the week.
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 10th Jan 2017 16:34
Quote: "Will it ever be possible to make html5-games in tier2?"

We currently don't have plans to officially support this, it is quite complicated to set up and would probably create a disproportionate number of support requests. However I will include the Tier 2 lib and interpreter project file in the next version if you want to try making it work. The interpreter project can be stripped down to be a Tier 2 app, it is essentially a Tier 2 app in itself. You will need to install Emscripten, I only managed to get it working on Linux so I'll only include the HTML5 files in the Linux version.
CumQuaT
AGK Master
13
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 10th Jan 2017 23:37
You're awesome, Paul. Thank you!
Carharttguy
7
Years of Service
User Offline
Joined: 8th Jul 2016
Location: Belgium
Posted: 11th Jan 2017 20:29
You're the man Paul!
Kudos to TGC for putting up a survey BTW, good initiative.

Keep them small but fast releases coming!
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 14th Jan 2017 02:45 Edited at: 14th Jan 2017 19:01
@paul,
if me enable the light at phone the agk player crash.
i try using the live cam into an image/sprite for a barcode reader.
btw. can you add led on/off commands for android ? OnOff = Lamp() Lamp(OnOff)

online help examples said AppGameKit Version must less than 10 chars, 2017.01.09
AGK (Steam) V2017.01.09 : Windows 10 Pro 64 Bit : AMD (16.12.1) Radeon R7 265 : Mac mini OS Sierra (10.12.2)

Attachments

Login to view attachments
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 15th Jan 2017 00:31 Edited at: 15th Jan 2017 00:32
@paul
it seems if a windows (10) client break the connection (close the app with x) the phone (android 5.x) client did not get -1 here GetSocketConnected
i made a socket listener at pc with agk and at phone me connected with a agk app with Sockets / Socket Listener commands.
AGK (Steam) V2017.01.09 : Windows 10 Pro 64 Bit : AMD (16.12.1) Radeon R7 265 : Mac mini OS Sierra (10.12.2)
Cor
AGK Developer
13
Years of Service
User Offline
Joined: 19th Dec 2010
Location: Its a trap!
Posted: 16th Jan 2017 21:11
@paul made this thread a couple of months ago and it was never resolved. https://forum.thegamecreators.com/thread/217676 basically ragdolls can never become static again. eventually performance starts to take a mega hit on mobiles.
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 16th Jan 2017 21:24
I posted this in an older entry last Novemeber but I think it slipped through, so apologies for the double post as I was advised to post here. Anyway, I've discovered that when using the GetRawTouchCurrentX and GetRawTouchCurrentY commands on the iOS AppGameKit player v2.0.21, and also currently present in the recent release 09-01-17. These commands appear to return zero co-ordinates no matter where I touch on the screen. The same test routine works just fine running under the Android AppGameKit player. Is this an input bug or am I handling input incorrectly?

This is a typical input handling routine I call during each game cycle to recover the co-ordinates, but they are always x=0, y=0 on iOS. Valid co-ordinates are returned when the same is tested on Android.



Thanks guys,

Paul.
Zappo
Valued Member
19
Years of Service
User Offline
Joined: 27th Oct 2004
Location: In the post
Posted: 18th Jan 2017 11:48
Hi Paul. Loving the updates, but I have come across something new...

I've just upgraded my phone to the new Motorola MotoG4 Plus (Android 6.0.1) and the sky box doesn't seem to appear. My older phone - a MotoG 2nd generation with Android 5, displayed it fine, and it shows up great when I run it the app in Windows. It just doesn't appear on the MotoG4+ either broadcast through the AGK2 player or as an installed APK file.

I am using the following simple commands to set up the built-in sky box and move the camera up and down to show the horizon moving:



It isn't a major issue as I will probably end up using my own sky box routines anyway but wanted to mention it in case others have a similar issue with some phones.

Chart data provided with kind permission from ELSPA
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 19th Jan 2017 15:35
Quote: "it seems if a windows (10) client break the connection (close the app with x) the phone (android 5.x) client did not get -1 here GetSocketConnected"

If the client disappears without manually disconnecting then the TCP protocol will attempt to reestablish the connection for quite a while, probably minutes. It also can't know the other end has disappeared until it tries to send something to them. Eventually GetSocketConnected should return -1 if you tried to send something and the other end didn't reply for a while.

Quote: "ragdolls can never become static again"

I had a look at the code and all the ragdoll checks were inverted, they must have been that way from the beginning. I've fixed them for the next version but I don't know if that was the only problem.

Quote: "I've discovered that when using the GetRawTouchCurrentX and GetRawTouchCurrentY commands on the iOS AppGameKit player v2.0.21, and also currently present in the recent release 09-01-17. These commands appear to return zero co-ordinates no matter where I touch on the screen."

You need to pass the original index to the touch commands, rather than the Mod version. This should work


Quote: "I've just upgraded my phone to the new Motorola MotoG4 Plus (Android 6.0.1) and the sky box doesn't seem to appear"

It's probably inaccuracies in the depth buffer, I tried to draw it on an exact value but maybe some devices need a bit of leeway. Does this version work any better?
Zappo
Valued Member
19
Years of Service
User Offline
Joined: 27th Oct 2004
Location: In the post
Posted: 19th Jan 2017 16:38
Hi Paul,
Yes! That version of the AppGameKit Player does indeed display the sky box properly.
Thanks for looking into it for me.

Chart data provided with kind permission from ELSPA
xCept
21
Years of Service
User Offline
Joined: 15th Dec 2002
Location:
Posted: 20th Jan 2017 04:27
Quote: "- Added GetImageMemoryUsage command to return the amount of GPU memory currently being used to store images"


One of the most useful debug commands I've used, thanks for that!

@Paul, I don't believe you've added the proper default/splash screen for the iOS player to display at native resolution for iPhone 6+ yet. The player only shows a device resolution of 1136x640 on iPhone 6+. The default images to enable this support should be 2208x1242 (landscape), 1242x2208 (portrait), 750x1334 (iPhone 6 portrait) and 1334x750 (iPhone 6 landscape). I haven't booted up AppGameKit on a Mac to test this but it seems like it is still only pulling the 5S default image, which throws off the actual native resolution etc.
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 20th Jan 2017 09:31
@paul
Quote: "Eventually GetSocketConnected should return -1 if you tried to send something and the other end didn't reply for a while."

yes, that was the key, this works, thank you very much
AGK (Steam) V2017.01.09 : Windows 10 Pro 64 Bit : AMD (16.12.1) Radeon R7 265 : Mac mini OS Sierra (10.12.2)
Scraggle
Moderator
20
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 20th Jan 2017 09:48 Edited at: 20th Jan 2017 09:49
Hi Paul,

There seems to be an issue with TTFs when creating an APK.
In my Floppy birds template here I have used a TTF that is not installed on my PC but is located in the projects media folder.
The font loads perfectly when running on Windows but on Android it fails to load, claiming the font can't be found. My initial thought was that the filename used the wrong case but I checked and that isn't so.

Any suggestions?
AGK V2 user - Tier 1 (mostly)
MadBit
VIP Member
Gold Codemaster
14
Years of Service
User Offline
Joined: 25th Jun 2009
Location: Germany
Posted: 20th Jan 2017 11:53
Android and linux has a casesensitiv filesystem.

Perhaps it is?
Share your knowledge. It\'s a way to achieve immortality. (Tenzin Gyatso)
Pixie-Particle-Engine
Scraggle
Moderator
20
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 20th Jan 2017 11:53
Quote: "My initial thought was that the filename used the wrong case but I checked and that isn't so."
AGK V2 user - Tier 1 (mostly)
MadBit
VIP Member
Gold Codemaster
14
Years of Service
User Offline
Joined: 25th Jun 2009
Location: Germany
Posted: 20th Jan 2017 12:02
Sorry.

But i have test it now on my LG. and it works good.
Share your knowledge. It\'s a way to achieve immortality. (Tenzin Gyatso)
Pixie-Particle-Engine
Scraggle
Moderator
20
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 20th Jan 2017 12:03
What did you test?
Was it my code - the one that I've linked to?
AGK V2 user - Tier 1 (mostly)
MadBit
VIP Member
Gold Codemaster
14
Years of Service
User Offline
Joined: 25th Jun 2009
Location: Germany
Posted: 20th Jan 2017 12:08
Yes. Your code.

I'm playing it right now on my phone.
Share your knowledge. It\'s a way to achieve immortality. (Tenzin Gyatso)
Pixie-Particle-Engine
Scraggle
Moderator
20
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 20th Jan 2017 12:12
Strange - it doesn't work on the three phones I tried it on
AGK V2 user - Tier 1 (mostly)
MadBit
VIP Member
Gold Codemaster
14
Years of Service
User Offline
Joined: 25th Jun 2009
Location: Germany
Posted: 20th Jan 2017 12:20
Here the proof.
Share your knowledge. It\'s a way to achieve immortality. (Tenzin Gyatso)
Pixie-Particle-Engine

Attachments

Login to view attachments
Scraggle
Moderator
20
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 20th Jan 2017 12:23
Would you mind uploading the APK so that I can try installing it please?
If it works for me then there must be a problem with the way I'm creating the APK.

Thanks.
AGK V2 user - Tier 1 (mostly)
MadBit
VIP Member
Gold Codemaster
14
Years of Service
User Offline
Joined: 25th Jun 2009
Location: Germany
Posted: 20th Jan 2017 12:34 Edited at: 20th Jan 2017 12:40
Ok. Here is it.


EDIT:
I don't know why the download is not shown.
Do not have time anymore.
Share your knowledge. It\'s a way to achieve immortality. (Tenzin Gyatso)
Pixie-Particle-Engine
Scraggle
Moderator
20
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 20th Jan 2017 12:40
Maybe it's too big for the forum
Would you mind emailing it to me?

Thanks
AGK V2 user - Tier 1 (mostly)
MadBit
VIP Member
Gold Codemaster
14
Years of Service
User Offline
Joined: 25th Jun 2009
Location: Germany
Posted: 20th Jan 2017 12:44
Ok. mail send.
Share your knowledge. It\'s a way to achieve immortality. (Tenzin Gyatso)
Pixie-Particle-Engine
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 20th Jan 2017 12:55
Quote: "I don't know why the download is not shown."

You have to click 'choose file' to select the file, then click upload to send it to the TGC website, then post your message as normal.
Scraggle
Moderator
20
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 20th Jan 2017 13:31
Try that ^^
Your email didn't come through either
AGK V2 user - Tier 1 (mostly)
MadBit
VIP Member
Gold Codemaster
14
Years of Service
User Offline
Joined: 25th Jun 2009
Location: Germany
Posted: 20th Jan 2017 14:40 Edited at: 20th Jan 2017 14:48
Mobiius wrote: "You have to click 'choose file' to select the file, then click upload to send it to the TGC website, then post your message as normal."

That's exactly how I did it. Is not the first time I upload a file here.

Scraggle wrote: "Your email didn't come through either "

Also not in the spam folder?

EDIT:
Her see.
Share your knowledge. It\'s a way to achieve immortality. (Tenzin Gyatso)
Pixie-Particle-Engine

Attachments

Login to view attachments
Scraggle
Moderator
20
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 20th Jan 2017 14:52
Nope, not in spam either
AGK V2 user - Tier 1 (mostly)
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 20th Jan 2017 15:36 Edited at: 20th Jan 2017 15:36
Quote: "That's exactly how I did it. Is not the first time I upload a file here."

Apologies if I came across as condescending. lol

I see the filesize is about 19Mb, there might be a limit on the forums for that. Plus, most mail providers (Hotmail, yahoo) have a 5Mb email limit. or are filtering out zipped binary content. You could try renaming the archive to floppy bird.zip.new, or uploading to google drive/OneDrive/Dropbox and sharing the link.
MadBit
VIP Member
Gold Codemaster
14
Years of Service
User Offline
Joined: 25th Jun 2009
Location: Germany
Posted: 20th Jan 2017 15:46
Yes, thanks for the tips. When I get back home I will upload it via Dropbox. Now I'm with my son at football training.

PS: my e-mail provider has a limit of 100MB
I think ...
Share your knowledge. It\'s a way to achieve immortality. (Tenzin Gyatso)
Pixie-Particle-Engine
MadBit
VIP Member
Gold Codemaster
14
Years of Service
User Offline
Joined: 25th Jun 2009
Location: Germany
Posted: 20th Jan 2017 18:24
So, have it uploaded now.

That is the link.
Share your knowledge. It\'s a way to achieve immortality. (Tenzin Gyatso)
Pixie-Particle-Engine

Login to post a reply

Server time is: 2024-04-24 17:25:58
Your offset time is: 2024-04-24 17:25:58