Create games: Difference between revisions

From Whirled Club Wiki
Jump to navigation Jump to search
(Created page with "{{TOCright}} leftWhirled games are developed in ActionScript 3 (AS3) either using the standalone compiler or the Flash 9 Authoring Tool. Th...")
 
m (Text replacement - "<" to "<")
 
(3 intermediate revisions by 2 users not shown)
Line 13: Line 13:
{|
{|
|-
|-
|valign=&quot;top&quot; width=&quot;50%&quot; style=&quot;padding-right: 10px&quot;|
|valign="top" width="50%" style="padding-right: 10px"|
== Documentation ==
== Documentation ==
&lt;b&gt;Whirled APIs&lt;/b&gt;
<b>Whirled APIs</b>
* '''[[GameControl|Whirled Games API Overview]]'''
* '''[[GameControl|Whirled Games API Overview]]'''
* [http://www.whirled.com/code/asdocs/ Whirled ASdocs] and docs to [http://www.whirled.com/code/contrib/asdocs/ helpful game APIs ] in our contrib section
* [http://www.whirled.com/code/asdocs/ Whirled ASdocs] and docs to [http://www.whirled.com/code/contrib/asdocs/ helpful game APIs ] in our contrib section
Line 21: Line 21:
* '''[[Whirled game creation FAQ | Whirled game creation FAQ]]'''
* '''[[Whirled game creation FAQ | Whirled game creation FAQ]]'''


&lt;b&gt;AS3&lt;/b&gt;
<b>AS3</b>
* http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/
* http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/
* http://labs.adobe.com/wiki/index.php/ActionScript_3
* http://labs.adobe.com/wiki/index.php/ActionScript_3
Line 27: Line 27:
There are also [http://www.amazon.com/s?url=search-alias%3Daps&amp;field-keywords=actionscript&amp;x=0&amp;y=0 numerous paper books] available on the subject.
There are also [http://www.amazon.com/s?url=search-alias%3Daps&amp;field-keywords=actionscript&amp;x=0&amp;y=0 numerous paper books] available on the subject.


|valign=&quot;top&quot;|
|valign="top"|
== Tutorials ==
== Tutorials ==


Line 50: Line 50:
== Development Tools ==
== Development Tools ==


{| cellspacing=&quot;10&quot; cellpadding=&quot;0&quot;
{| cellspacing="10"; cellpadding="0"
|-
|-
||{{extnavimg|xsize=100|ysize=100|image=From-flashcs3-gamescreen.png|link=http://wiki.whirled.com/Simple_game_(Flash_tutorial)}}
||{{extnavimg|xsize=100|ysize=100|image=From-flashcs3-gamescreen.png|link=http://wiki.whirled.com/Simple_game_(Flash_tutorial)}}
||'''[[Image:Icon-Flash.png]]  Adobe Flash CS'''&lt;br/&gt;
||'''[[Image:Icon-Flash.png]]  Adobe Flash CS'''<br/>
[[Adobe Flash CS3]] is the tool our art department uses to make games. ([http://www.adobe.com/products/flash/ Adobe's Flash page])&lt;br/&gt;
[[Adobe Flash CS3]] is the tool our art department uses to make games. ([http://www.adobe.com/products/flash/ Adobe's Flash page])<br/>
[[Simple game (Flash tutorial)| Flash CS3 Game Tutorial]]
[[Simple game (Flash tutorial)| Flash CS3 Game Tutorial]]
||{{extnavimg|xsize=100|ysize=100|image=HelloWhirled.png|link=http://wiki.whirled.com/Hello_Whirled}}
||{{extnavimg|xsize=100|ysize=100|image=HelloWhirled.png|link=http://wiki.whirled.com/Hello_Whirled}}
||'''[[Image:Icon-Programming.png]] AS3'''&lt;br/&gt;
||'''[[Image:Icon-Programming.png]] AS3'''<br/>
Standalone [[AS3]] is targeted more at programmers. AS3 is totally FREE!&lt;br/&gt;
Standalone [[AS3]] is targeted more at programmers. AS3 is totally FREE!<br/>
[[Hello Whirled | Hello Whirled Tutorial]]
[[Hello Whirled | Hello Whirled Tutorial]]
|}
|}

Latest revision as of 17:28, 5 September 2018

Icon-highlighted-game.png

Whirled games are developed in ActionScript 3 (AS3) either using the standalone compiler or the Flash 9 Authoring Tool. This documentation assumes a working knowledge of these technologies, but resources are listed below to learn more about Flash and ActionScript.

Getting Started

For the basics of integrating a single player game with Whirled, start here:

For the all the juicy details, check out our API overview:

Then check out more detailed documentation and tutorials below.

Documentation

Whirled APIs

AS3

There are also numerous paper books available on the subject.

Tutorials

Code Examples

Learning by example is the easiest way, so make sure to check out our many game examples on our SVN server. Please note that in order to reduce the size of the SDK download, some of our bigger games, such as UnderWhirledDrift and treehouse defense, sit under a different directory.

Development Tools

Icon-Flash.png Adobe Flash CS

Adobe Flash CS3 is the tool our art department uses to make games. (Adobe's Flash page)
Flash CS3 Game Tutorial

Icon-Programming.png AS3

Standalone AS3 is targeted more at programmers. AS3 is totally FREE!
Hello Whirled Tutorial

Note that while Whirled uses the free Flex SDK and the optional Flex Builder as an IDE, Whirled does not support Flex components or MXML.

Writing a Server class for your game

Starting with SDK 0.33, Whirled supports the running of ActionScript server agents for your game. This is more complex to code, but benefits include:

  • Consolidation of logic for multi-player games
  • Lower latency
  • More robust in the face of unreliable browsers

You can follow this tutorial to make your first server based game.

AVR games

Main article: AVR game

AVRGs are games that take place in Whirled rooms.

Feedback

Have you created/ported a game for Whirled? We would love to get your feedback on your experience.

Media Resources

Other Links