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 / App Game Kit V108 Beta 8 - Over 200 New Commands

Author
Message
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 15th Dec 2012 16:05
How stable is this release now? I am having major issues with my latest game using 1076, including music not looping on some devices (my usual method of checking if it is playing or not and then playing again seems to not work), crashes and sound effects changing to the wrong ones! This only seems to happen on the compiled version, when I broadcast it all seems fine.
I was planning to wait for the final release before using it, but these weird problems are giving me a headache!

bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 15th Dec 2012 17:13
don't use agk commands to playback music, so i have no idea how well music works
xCept
21
Years of Service
User Offline
Joined: 15th Dec 2002
Location:
Posted: 15th Dec 2012 18:27
From Lee's FE blog:

14th December 2012: Internal AppGameKit @ Beta 7

In addition to adding the last of the stability updates to the various commands, we have also overhauled the Help to include all the latest command additions so now you can find them right from the main command menu. We are now performing tests on a version which is very close to our official release. Here is a snapshot of the most recent items:

* Updated T1 and T2 guides for Android and iOS to reflect newer SDKs being used now

* Added conversion between images and memblocks for direct pixel access

* Changed GetHTTPResponseReady to return -1 if the current task has finished but returned an error

* Fixed transparent 3D objects sometimes appearing behind opaque objects

* Fixed video playback bug on Android where playing after stopping wouldn't work

* Fixed video playback bug on iOS and Android where GetVideoPlaying would not immediately return 1 after PlayVideo

* Fixed long load time when using large strings in CreateText
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 15th Dec 2012 18:38
Quote: "Updated T1 and T2 guides for Android and iOS to reflect newer SDKs being used now"

Are you also updating the iOS/Mac ones for Xcode 4 instead of Xcode 3? There is a big difference in the interface. I posted my version of the Xcode 4 in Google Issue #322.

Quote: "* Added conversion between images and memblocks for direct pixel access"

This is a great addition!

Quote: "* Changed GetHTTPResponseReady to return -1 if the current task has finished but returned an error"

How about error codes for CreateHTTPConnection and SetHTTPHost, SendHTTPRequestASync?

And, have the long standing issues with looping music on Android devices been fixed?

Thank you for the update.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
=PRoF=
21
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 15th Dec 2012 19:23
Quote: "Fixed transparent 3D objects sometimes appearing behind opaque objects"


I haven't been able to get 3D objects to appear transparent. I was led to believe that this was because the shaders used by AppGameKit didn't have the transparency included.

Has this been rectified in the newer beta's?

Billy33
18
Years of Service
User Offline
Joined: 19th Mar 2006
Location: Cyberspace
Posted: 16th Dec 2012 16:33
The 3D-FirstPersonExample with lightmaps and shaders in v1085b projects directory is very interesting, but i can't find how were converted the FPS Creator Metro Theater level files to obtain the mesh files (.obj, .jpg) and .png ligthmaps in /media...

The _load_world subroutine don't give any information



Is there anybody who can help about the process and tools used ?
Thank you
Cliff Mellangard 3DEGS
Developer
18
Years of Service
User Offline
Joined: 20th Feb 2006
Location: Sweden
Posted: 16th Dec 2012 20:13
Quote: "The 3D-FirstPersonExample with lightmaps and shaders in v1085b projects directory is very interesting,"

I truly belive you can forget that to actually make an game ?
Its extremely slow even in that simpel state.

i get around 30 fps on my pc and even slower on droid.

Sure it could be that all objects use the same shader that is pretty slow?

Android 2.3 , ZTE Skate , 480x800 , 800 mhz , Samsung Galaxy Y , 240x320 , 832 mhz , Sony ericson arc 480x854 , 1 ghz
Android 4.0 , Dmtech 3g 9738B , 1024x768 , 9.7 inches , 1.2 ghz
wargasmic
17
Years of Service
User Offline
Joined: 15th Oct 2006
Location: UK
Posted: 18th Dec 2012 20:09
When creating a new model can you load the file then create models later, much like loading images then creating sprites from the loaded image, or do you have to load the file every time you want to create a new model?
swissolo
14
Years of Service
User Offline
Joined: 9th Jan 2010
Location:
Posted: 18th Dec 2012 21:45
Quote: "When creating a new model can you load the file then create models later, much like loading images then creating sprites from the loaded image, or do you have to load the file every time you want to create a new model?"

I don't think you can store the file in memory yourself, but you could load an object and make it invisible. Then you could easily clone it off whenever needed.

swis
Joined: Tue Dec 16th 2008
Interstellar
MikeMax
AGK Academic Backer
12
Years of Service
User Offline
Joined: 13th Dec 2011
Location: Paris
Posted: 18th Dec 2012 21:48
There is a "CloneObject" and "InstanceObject" function. Not documented yet (tried it in 1085b but it crashes for me ...).

Be Patient !
wargasmic
17
Years of Service
User Offline
Joined: 15th Oct 2006
Location: UK
Posted: 18th Dec 2012 21:51
Thanks swissolo, good idea.

Another thing though, I'm getting unknown instruction in the AppGameKit player when I broadcast the fps example to my android device, as well as some of the other examples just making the player crash to the home screen (most others seem to work fine though). I'm using the beta 3 of the player downloaded from the my products section. Does anyone know what is causing these problems?
Cliff Mellangard 3DEGS
Developer
18
Years of Service
User Offline
Joined: 20th Feb 2006
Location: Sweden
Posted: 18th Dec 2012 21:55
this player do not work with beta 4-5.

Android 2.3 , ZTE Skate , 480x800 , 800 mhz , Samsung Galaxy Y , 240x320 , 832 mhz , Sony ericson arc 480x854 , 1 ghz
Android 4.0 , Dmtech 3g 9738B , 1024x768 , 9.7 inches , 1.2 ghz
MikeMax
AGK Academic Backer
12
Years of Service
User Offline
Joined: 13th Dec 2011
Location: Paris
Posted: 18th Dec 2012 21:56 Edited at: 18th Dec 2012 21:57
http://forum.thegamecreators.com/?m=forum_view&t=200598&b=41&msg=2416725#m2416725

Here is the AppGameKit Player APK 1085b i have compiled
Cliff Mellangard 3DEGS
Developer
18
Years of Service
User Offline
Joined: 20th Feb 2006
Location: Sweden
Posted: 18th Dec 2012 23:01
SetFolder("..") dont seam to work anymore in beta 5 ?
Noticed this while working on my file loader?

Android 2.3 , ZTE Skate , 480x800 , 800 mhz , Samsung Galaxy Y , 240x320 , 832 mhz , Sony ericson arc 480x854 , 1 ghz
Android 4.0 , Dmtech 3g 9738B , 1024x768 , 9.7 inches , 1.2 ghz
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 19th Dec 2012 16:41
Quote: "SetFolder("..") dont seam to work anymore in beta 5 ?"

Fixed for next version, thanks
wargasmic
17
Years of Service
User Offline
Joined: 15th Oct 2006
Location: UK
Posted: 19th Dec 2012 17:26
Thanks very much MikeMax
Cor
AGK Developer
13
Years of Service
User Offline
Joined: 19th Dec 2010
Location: Its a trap!
Posted: 19th Dec 2012 18:21
hello,

Forgive me if this has already been answered but has the nasty bug with music not looping correctly and crashing on android been fixed in the 108 versions?
Juande
12
Years of Service
User Offline
Joined: 2nd Sep 2011
Location:
Posted: 20th Dec 2012 09:29 Edited at: 20th Dec 2012 09:30
would It be possible a Loopvideo command for the next version...? So, it would be possible to do a animated menu for your games...

greetings
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 22nd Dec 2012 11:53
can i write problems with agk here? (i use build 108)
it looks like a bug

holes=24
Collision(holes,Ball)
//Collision(Ball,holes) <<< don't give me the parameter holes

//function Collision(B as TBall , h) //not ok h=0 ???
function Collision(h, B as TBall) //ok h=24
joachim
12
Years of Service
User Offline
Joined: 21st Feb 2012
Location: Vancouver Canada
Posted: 22nd Dec 2012 19:56
where do i find the product page ???
=PRoF=
21
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 22nd Dec 2012 20:06 Edited at: 22nd Dec 2012 20:09
@joachim

Go to www.thegamecreators.com, press the "Log in" or "My Account" button (Depending which one is visible), then choose "My Products" when you are logged in

>Edit<
Mines logged in all the time, the login button says "My Account" when your already logged in. Corrected now.

joachim
12
Years of Service
User Offline
Joined: 21st Feb 2012
Location: Vancouver Canada
Posted: 22nd Dec 2012 20:09
where do i download the beta for agk, cant find it
=PRoF=
21
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 22nd Dec 2012 20:19
@joachim

It's in the AppGameKit section of the list of products. It's only available if you own AppGameKit already.

Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 23rd Dec 2012 11:32
still need a way for this without workaround:

type TLevel
Ball as TBall
Hole[999] as THole
...
endtype
global Level as TLevel

because it's christmas
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 23rd Dec 2012 11:43 Edited at: 30th Dec 2012 11:57
idee for the agk player,
i think it have all to save a unsign .apk on this maschine
on which its running.
or better, if it can install direct instead of start the app.
maybe with a dialog before it receive and start the broadcasted app.
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 23rd Dec 2012 11:59 Edited at: 30th Dec 2012 11:58
nice to have , write/load a block of data.

WriteType
ReadType
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 23rd Dec 2012 16:02
Wrong Docu, Default is 1 ^^
Should write a new File

OpenToWrite("Level3.dat") append the file
OpenToWrite("Level3.dat",0) ok

ppend - Set to 1 to append to the file, 0 to overwrite all data (optional, default 0).
wargasmic
17
Years of Service
User Offline
Joined: 15th Oct 2006
Location: UK
Posted: 26th Dec 2012 12:19
Just wondering if there's any plans to support skeletal animation?
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 27th Dec 2012 11:20
Quote: "Just wondering if there's any plans to support skeletal animation?"

Yes, absolutely. We fully plan to support this some point in the near future. It can't come soon enough for some of my ideas!


this.mess = abs(sin(times#))
xCept
21
Years of Service
User Offline
Joined: 15th Dec 2002
Location:
Posted: 27th Dec 2012 16:57
baxslash, any guesses on when we might get another beta (or the final build)? I know internally TGC is at beta 7 or greater, we've only got beta 5. I'm anxious to start playing around with the memblock commands.
wargasmic
17
Years of Service
User Offline
Joined: 15th Oct 2006
Location: UK
Posted: 27th Dec 2012 19:42
Thanks for the info baxslash!

I would also like to know if there's plans to add 3D particles, and will the clone object and instance object commands be fixed (they crash t he application atm)?
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 28th Dec 2012 09:56
I haven't got the me block commands myself yet and I am using the latest internal build which only has fixes added since Beta 5 as far as I am aware... We're keen on getting v108 finished and relatively stable.

I don't know if clone / instance object have been fixed yet sorry. I would also stick to using your own particles in 3D for now. I would be happy to provide a simple example if I get time.


this.mess = abs(sin(times#))
Santman
12
Years of Service
User Offline
Joined: 15th Sep 2011
Location: Inverness
Posted: 28th Dec 2012 12:28
I'm having an odd problem. Tesco had decent Archos 8" tablets for £50 on boxing day, so in grabbed a couple. The taets are brand new, and easily as powerful gaming wise as my s3,and probably on a par with the nexus 7. They run a pretty much vanilla android 4.0. Now, nearly all my purchased apps run fine, from old ones to nice new 3d ones, except my project. It installs fine, but when you click the shortcut to start it it just say "the application is not installed". During installation it says it installed fine, and un installing works, but it seemingly won't run. Any thoughts anyone? Oh, it's not compiled under the new beta (just started using that as was waiting for something more stable) sonits the one that needs 2.3 only. My phone runs 4.1 and it's fine and the app runs normally.
TyJBr2
AGK Backer
14
Years of Service
User Offline
Joined: 30th Jul 2009
Location:
Posted: 28th Dec 2012 16:03


Pressing F1 on commands commented out with the dot in front of them crashes the code editor beta 5 . Not really a big deal, but still a bug.

=PRoF=
21
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 28th Dec 2012 17:25
@TyJBr2:
All of those commands in your list bring up the help ok for me when I press F1.

I'm using AppGameKit v1.085 and Win7 64bit.

I just ran the same tests on Win8 machine, and help worked as expected, but weirdly opened in Opera rather than IE which is my default browser.. Any idea how to fix this?

TyJBr2
AGK Backer
14
Years of Service
User Offline
Joined: 30th Jul 2009
Location:
Posted: 28th Dec 2012 23:23
I didn't mean the help don't work. I meant if you copy and paste commands like the example above then press F1 on them the editor goes down. Any.

=PRoF=
21
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 29th Dec 2012 02:13
@ TyJBr2:
I copied your list of commands into the editor and (after removing the dots) pressed F1 on each of them. The help appeared as expected and the editor didn't crash.

TyJBr2
AGK Backer
14
Years of Service
User Offline
Joined: 30th Jul 2009
Location:
Posted: 29th Dec 2012 02:39 Edited at: 29th Dec 2012 02:42
lol i meant with the dots ,even if they are not commented out the dot in front makes the editor crash.

Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 29th Dec 2012 12:27 Edited at: 30th Dec 2012 11:56
(solved,waiting for os update)
my friend use a samsung s2 with android 4.0.4
the GetCaptureImage Return 0 after he press save/take image.

the cam dialog shows save and cancel only.
he have a 8mp cam.
(at my tablet with android 4.0.3 is works.)
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 29th Dec 2012 23:30 Edited at: 29th Dec 2012 23:31
Quote: "I would also like to know if there's plans to add 3D particles"


At some point yes, but not for a while, compiler and IDE work first.

Quote: "will the clone object and instance object commands be fixed (they crash t he application atm)?"


These have been fixed for 108

Quote: "any guesses on when we might get another beta (or the final build)?"


Sometime in the beginning of January, I've completed everything for the next beta so we just have to wrap it up in an installer and see if you guys find any bugs, if none then it is the final release.

Quote: "It installs fine, but when you click the shortcut to start it it just say "the application is not installed""


I've not seen this before and I don't know what could cause it. If you could install an app like CatLog that can display the system log file and email the log to me after trying to install and open the app it might reveal something.

Quote: "my friend use a samsung s2 with android 4.0.4
the GetCaptureImage Return 0 after he press save/take image."

I recently had the same problem after upgrading the OS, this should be fixed in the next version.
=PRoF=
21
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 30th Dec 2012 00:17
@TyJBr2:
If I leave the dots in then pressing F1 does nothing, no help page, no crash. Although as the command doesn't highlight with the dot in front of it, this isn't surprising really.

Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 30th Dec 2012 11:50
i need a way to set the volume on a playing sample
because i will set the volume in my game at the ball roll velocity.

SetSoundVolume(Level.sndRoll,v#) <<< need this, can't find in docu

@Paul Johnston, ok, about GetCaptureImage thanks for info
Santman
12
Years of Service
User Offline
Joined: 15th Sep 2011
Location: Inverness
Posted: 30th Dec 2012 20:55
@Paul,

No worries, I'll download that app tonight and try with it running, then email what it says to you through here. Thanks for looking.
TyJBr2
AGK Backer
14
Years of Service
User Offline
Joined: 30th Jul 2009
Location:
Posted: 30th Dec 2012 21:59
@=PRoF=
I tried it on a 3rd computer and it doesn't do it.Must be something with the win I have on the 2 it does it on.

Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 1st Jan 2013 15:11 Edited at: 1st Jan 2013 15:45

please look at this.
EDIT: i think the declaration of a type in a function is the cause^^ but i get no compiler error.
it should work because the declaration syntax of integer or type(struct) is
consequent. its a issue for the basic translator.

lilpissywilly
AGK Developer
13
Years of Service
User Offline
Joined: 10th Sep 2010
Location: Office Chair
Posted: 1st Jan 2013 16:26
@ Santman:

I assume this runs a tablet version of android? I have a mk802 (android driven dongle that just uses a hdmi-out for display) which uses a tablet fw and what you describe happens on that if I turn it off without using a "shutdown" app first.

My hovercraft is full of eels
AgentSam
12
Years of Service
User Offline
Joined: 14th Mar 2012
Location: Virtual Space
Posted: 2nd Jan 2013 22:06
Markus wrote:
Quote: "please look at this.
EDIT: i think the declaration of a type in a function is the cause^^ but i get no compiler error.
it should work because the declaration syntax of integer or type(struct) is
consequent. its a issue for the basic translator."


This sounds familiar. But looking at your code sample, it seems like you've found a new aspect to an older issue that has been reported on the AppGameKit bugboard.

Here's a link to the bug report:
http://code.google.com/p/agk/issues/detail?id=449

I'm going to link your code snippet to this report, because in your sample, it is the value of the float parameter t#, which get's messed up, instead of the UDT itself. Otherwise the problems looks the same. (So, apparently the stack is corrupt following a UDT passed from one function to another.)

Cheers,
AgentSam
xCept
21
Years of Service
User Offline
Joined: 15th Dec 2002
Location:
Posted: 3rd Jan 2013 06:44 Edited at: 3rd Jan 2013 06:45
For those who don't follow the Freedom Engine blog:

Quote: "30th December 2012: AppGameKit Workshop Fires Up Again

We've tentatively picked up a few of our AppGameKit debugging tools, ready for the new year:

Fixed UDT assignment in functions
Fixed global or literal strings returning from functions
Fixed END now forces exit even if in subroutines or functions"


And from Lee's FPSC Reloaded blog:

Quote: "January will be a wash with backlog tasks from 2012, and a good deal of hand over as I hand Paul the reigns to the remaining parts of the AppGameKit engine that I personally preside over; namely the Compiler & Player, plus the whole HTML5 Freedom-Engine build process and the beta/release build process too."
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 3rd Jan 2013 12:21
Xcept what are the links to these blogs? I cannot find them in the main TGC site
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 3rd Jan 2013 13:03
In the freedom-engine.com IDE, bottom right of the screen.

Login to post a reply

Server time is: 2024-04-20 04:18:30
Your offset time is: 2024-04-20 04:18:30