So you're a little antsy and want to dive in. OK. Click
here. The rest of this page will help explain what that template does if you need some help.
The Editor
When the editor first opens, you'll see that there is a little bit of text telling you how to save the game so that you have your own copy. Once you save it, you will be working in your own new game.
The "Click to Continue" Object
When creating games, it's very common that you want to keep track of whether or not the game is currently playing, or if it is in a "paused" state. The "Click to Continue" object controls this. When the player clicks on the world, this object will disappear, and the World's "playing" property will be set to true.
Defining Your Own Playing Logic
Typically you don't want to create game logic that runs when the game is in the "paused" state. To ensure this, when you are creating this type of logic, just use an "if" statement that checks whether or not the World's playing property is set to true. So first create a new
behavior (for this example, I just made on on a key press) and choose the right event trigger for your behavior.
Click on the Logic tab. The "if" statement should be the first one. Drag it over to the right-hand panel:

Now click on the "actors" tab, and click on the "World" instance to get to the World properties:

Scroll down to the "playing" property and drag it into the "if" statement, where the "true" value currently is located:

Now any logic that you want to add should go into that if statement, and it will never run until the user clicks the mouse to start the game.
Adding Objects
You can either start by creating your own objects using the
tools on the Builder menu, or you can search the community from the Explorer menu (on the right) and dragging actors into your world. Or, you can create your own objects and use the Sharendipity community to find images, behaviors, etc. for your object.
Setting the Score
Once you've figured out how to control your gameplay, you'll want to know how to set the score. It's pretty simple really. All we need to do is modify the world's score property.
You'll probably be adding to the score, so first click on the Logic tab, and then scroll down to the "add" statement. Drag that over into your right-hand panel. You can enter your own value into the add statement by dragging it into the location where the "1" is, or you can drag another
property reference over there.
Now navigate to the World properties like you did for your game logic by first clicking on the actors tab, and then clicking on the World instance:

Now scroll down to score and drag it into the right-hand side of the "add" statement and you should end up with this:

Ending the Game
There is also a "lives" property on the World. Just create your own logic as before so that you can add -1 to the World's "lives" property when you want to. When that value reaches zero, an animated "Game Over" object will pop up.
The "Game Over" object takes care of using the World's "score" property to submit the player's score to the server. Then, after a second or two, the stock Sharendipity High Scores dialog will display signifying the end of the game. The player will be given the option to replay at that point. You don't need to deal with any of the logic!
Publish!
Be sure to publish your game so that everyone can see it! Just click on the Director menu, and click on Profile:

The following dialog will display with your application's information. Be sure to update the name and the description, and add an icon. Adding tags may help people find it easier too (is it a "shooter" style game? or a "puzzle" game?) Then check the box to make your application public and save it!
