Posted: 4th Nov 2014 15:00
Hi Naphier,

Thanks for the response. If possible, a simple (hopefully) set of instructions would be helpful, that can be followed at command prompt if needed.

I currently use the supplied /android/create_apk.php to get my APK. I then want to include IAP into the APK. Do you have a list of manual steps I would perform to do the needed?

I have tried all options I've seen on this site, including the Automate program etc, but all fail along the line at some stage. Not being clued up on java and terms/processes/steps needed, makes it difficult to appreciate why and what is happening and where to start to resolve it.

Many thanks,

Ian.
Posted: 4th Nov 2014 22:00
I'm not aware of any command line way to do it. Automate should work fine. The new v2 IDE should work fine. I use Eclipse for all of our projects so I have the most control. If you'd like some one-on-one help, shoot me an email. I can get you up and going on it.
Posted: 6th Nov 2014 12:13
This may be a fairly simple one for Paul:

The new sound commands are very good and powerful. But to play a sound at a modified rate and pan requires a three stage event:

PlaySound() to get the instance
SetSoundInstanceRate() to set the rate
SetSoundInstanceBalance() to set the pan position

I, and others, would like an overloaded PlaySound() which would allow the rate and balance, as well as volume, to be set in one call. This would be faster on slower systems and less painful in code!
Posted: 7th Nov 2014 12:22
Another interesting feature could be :
Enumeration/EndEnumeration

for constant for example :
instead of that :
+ Code Snippet
#CONSTANT C_PNJTYP_INFO 0
#CONSTANT C_PNJTYP_QUEST 1
#CONSTANT C_PNJTYP_SHOP 2



we could have :
+ Code Snippet
Enumeration
#CONSTANT C_PNJTYP_INFO // is = 0
#CONSTANT C_PNJTYP_QUETE // is = 1
#CONSTANT C_PNJTYP_ACHAT // is = 2
EndEnumeration


It could be interesting to add or delete an element easily.
Posted: 7th Nov 2014 21:02
@ Naphier,

I'm not going to be able to draft anything sqlite for agk but hopefully those links etc will give Paul enough to go by...
Posted: 7th Nov 2014 21:09
Understandable, after looking over those links I think that SQLLite 3 is going to be quite a tall order unless there is a standard C++ library for it. Even then the range of commands that would need to be added is just huge. I'm going to keep it on the list becuase, who knows, and maybe even in AppGameKit v3 someday, but I'm thinking it is a very remote possibility.
Posted: 7th Nov 2014 23:21
@ Naphier,

Some standard C++ libraries for Sqlite:-

http://sqlitewrapper.kompex-online.com/

http://www.codeproject.com/Articles/6343/CppSQLite-C-Wrapper-for-SQLite

See - I'm determined....

and from Eclipse community forums:-

http://www.eclipse.org/forums/index.php/t/784561/

Any use?
Posted: 7th Nov 2014 23:31
Looks good, I'll keep the info so Paul can see it. Thanks!
Posted: 9th Nov 2014 14:34
r do you mean something else?


Oh...yes...that would be the one - Cheers Ched80
Posted: 9th Nov 2014 14:37
I'm running my platform game and when I check the CPU usage it's around 30%. I'm guessing because AppGameKit doesn't fully utilize all threads? Seems a shame to be using 30% of available power...so any change of deeper multi-threading?
Posted: 11th Nov 2014 4:25
We absolutely need object limb/part support!!
Posted: 12th Nov 2014 2:43
@Naphier

A "SetStringToken()" command should compliment the "getStringtoken()" command...
Posted: 12th Nov 2014 7:39
Totally agree with Timshark. I ended up coding my own version of SetStringToken() and I use it in a number of apps.
Posted: 12th Nov 2014 16:09
@ched88

I ended up coding my own version of SetStringToken()


Something you like to share?
Posted: 12th Nov 2014 17:54
How about a SetSpriteImage(SpriteID,ImageID,StageID) ?

With the stageid we could add a normalmap or an alphamask and use shaders on it like we can with 3D.

Oh I guess it's already in the list: "Multiple texture images on sprites"
maybe bump it a bit because with imageindexes for sprites comes blendmode by it self
Posted: 12th Nov 2014 19:07
@Timshark sure:

code for SetStringToken()


+ Code Snippet
function SetStringToken(FullString as string, Delimiter as string, TargetToken as integer, NewToken as string)
	//replaces the target token with the new token

	//check token exists
	
	TokenCount = CountStringTokens(FullString,Delimiter)
	
	if TargetToken<=TokenCount
		ReturnString$ = ""
		for t=1 to TokenCount
			if t=TargetToken
				//add new token
				if ReturnString$=""
					ReturnString$ = NewToken
				else
					ReturnString$ = ReturnString$ +Delimiter+ NewToken
				endif
			else
				//use old token
				if ReturnString$=""
					ReturnString$ = GetStringToken(FullString,Delimiter,t)
				else
					ReturnString$ = ReturnString$ +Delimiter+ GetStringToken(FullString,Delimiter,t)
				endif
			endif
		next t
	endif
	
endfunction ReturnString$
Posted: 12th Nov 2014 19:56
@Ched80

Brilliant. This is a great start for me. I have to find some way of including multiple delimiters - like a comma, so It only changes the word and keeps the comma.

Thanks for sharing!!

Edit: I?ve created a new post with a setStringToken() function : http://forum.thegamecreators.com/?m=forum_view&t=212613&b=41
Posted: 14th Nov 2014 22:09
@ Naphier,

Are we close now to a role out of the total list and voting?
Posted: 14th Nov 2014 22:24
Not sure, maybe in a month. I'm swamped with consulting work and prepping Sudoku In Space version 2 ("the story begins" or "a stellar story")
Also I'd like to see if BatVink can announce this thread in the newsletter so that folks who don't visit the forums often have their chance to be heard as well. I'll check with him on that right now.

EDIT:
Nix the one month timeframe. If BatVink is allowed to announce the thread in the newsletter then I'd like to allow another month of input. After that I'd want him to do another announcement about the poll being ready for voting then give another month with the polls open. That will not only provide us with a good amount of time for everyone to get in on this, but will also give Paul a chance to get in a better space with AppGameKit where he can possibly look at the list and give it some attention.
Posted: 15th Nov 2014 0:07
I think these suggestions are great, however in addition to the Functions suggested here , I would like to see speed improvements in the V2 core, dont get me wrong in specific areas AppGameKit excels but atm I am running a diagnostic test on bytes by dumping them into a memblock and then reading bytes from the memblock as needed using a "for next" loop
atm I'm finding that its taking 20 seconds to process 1 kilobyte of data , u take that and *20seconds by 1MB worth of data and suddenly a very small file has taken 20seconds*1000 = 20,000seconds to process.
I Realise that speeds vary from device to device and that reading and calculating byte data is probably not what AppGameKit is inteded for ,also I understand that maybe 90% of the Tier 1 users will probably not bother with processing data in this manner, however it shows that there is optimisation needing to be done somewhere , maybe inside the intepreting of the AppGameKit loop functions and possible excess overhead in the processing? , I also realise that there could be slight delays caused by having to access memblocks but I could benchmark the "for next" loop without going there and would almost have similar results.
My comments are intended in a constructive manner and is purely my personal opinion


EDIT: I have since ran tests with Naphier and other very helpful community members and found that AppGameKit in fact is more than capable of great speeds and the issue that raised my concern was a simple mistake on my behalf , AppGameKit is awesome