That's a very complicated question but there is a relatively simple answer...
1-Decide what you want your game to be like
2-Create some basic resources (sprite images etc.)
3-Step by step try to get the sprites doing what you want (IE.Step 1-get your sprite to show on the screen, Step 2-get your sprite to move how you want)
That's all game making is really. Coding in AppGameKit is very simple once you understand the basic way a game works:
Setup code (IE. loading images and turning them into sprites)
Game loop/s (IE. a section of code which repeats over and over. Different parts of the loop are used depending on user input)
Loading images...
image = loadImage("myplayer.png") `<<<<load the image and assign it's ID to a variable called "image"
spr = createSprite(image) `<<<<create a sprite using that image and assign it's ID to a variable called "spr"
A simple game loop looks like this...
do
gosub get_user_input:
gosub make_stuff_happen:
sync() `<<< This updates the screen
loop
The process will
go through a
subroutine called "
get_user_input:" that looks like this...
get_user_input:
px = getPointerX() `<<<<get the mouse position in x
py = getPointerY() `<<<<get the mouse position in y
return `<<<<<return to the main loop
Then it will go through the "
make_stuff_happen:" subroutine that might look like this...
make_stuff_happen:
setSpritePosition(spr,px,py) `<<<<this puts the sprite at the mouse position
return
Subroutines and functions must always be placed after the main game loop.
That's a fairly basic intro. I suggest taking a look at the examples that come with AppGameKit for more detail (until some tutorials become available).
Hope that helps!