Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

If you want the easiest possible use of sugarphone, I would suggest starting from the SugarPhone Template file (sugarphone_template.html) included in the download. I'd also recommend looking through the demo file (demo_code_examples.tw) since it has the examples used in the main file.

The most important bits are to use <<addcontact>> to set up a contact, then using <<sendchat>> and <<receivechat>> to add the relevant chat passages to the history.

The chat passages themselves just need to have their text surrounded in the <<send>> and <<receive>> widgets.

If you can get those working (referencing the widget documentation is highly recommended!), it may be easier to get into the fancier bits as they become relevant.