I'm just diving in to learning AGK. I've used DBPro for a while so and I've been comfortable with the minor changes in syntax and such.
I'm walking through the Hands on AppGameKit book and running into issues left and right.
First issue was that the splash screen (AGKSplash.png) doesn't work. After some digging I found out that the feature has been removed. Annoying, but no problem, I'd rather have more control.
Issue #2 is that the AppGameKit player doesn't seem to actually allow you to exit when you press the top of the screen for 5 seconds. Not a big deal since I needed to learn how to write actual exit code, but once again, annoying! Remove the wording for the player if it doesn't actually work! (for those beginners a good hint is to use the GetRawKeyPressed(27) command)
The issue of topic here is that I can't get images to broadcast.
I know it works, I've seen Daniel do it on his vlog. So what am I doing wrong?
I'm using AppGameKit Player 1085b that I had to dig through these forums to find (thanks TGC for keeping up the useless player on the Play store best just to remove it completely!).
I'm also using AGK's 1085 beta IDE. The apps broadcast and I can even see a percentage loading indicator, but then it shows a red X with a checkered background for all of my sprite images. The AppGameKit player says the last error is that it failed to load the "media\poppy.bmp" file, which coincides witht he red X with checkerboard images...
I'm trying this on Nexus 7 with Android 4.2.1 and and HTC droid incredible 2 running Android 2.3.4. I don't see anyone else having this problem, so I'm wondering if I missed something.
I have my images in the media folder for the project. They load fine in the Windows run. One image is 48kb at 128x128px and the other is 192kb at 256x256px. Code is below:
REM SPRITE DEPTH
setclearcolor(255,255,255)
sync()
ball_image = loadimage("ball.bmp",1)
poppy_image = loadimage("poppy.bmp",1)
ball_sprite = createsprite(ball_image)
setspritesize(ball_sprite,10,-1)
setspritedepth(ball_sprite,9)
poppy_sprite = createsprite(poppy_image)
setspritesize(poppy_sprite,20,-1)
setspriteposition(poppy_sprite,50,50)
poppy_sprite02 = clonesprite(poppy_sprite)
setspriteposition(poppy_sprite02,20,20)
setspritedepth(poppy_sprite02,8)
sync()
for p = 1 to 100
setspriteposition(ball_sprite,p,p)
sync()
sleep(10)
next p
do
if getrawkeypressed(27) then exit
loop
Any and all help is appreciated.