Showing posts with label tutorials. Show all posts
Showing posts with label tutorials. Show all posts

Saturday, July 28, 2018

Sample Code

Bunch of sample codes I've written for use in lua on the Corona SDK, utility and math libraries.
Some of these may appear in both lists due to being a library within a demo.

I have now added a third list of other people's libraries as they are proving quite useful.


Tutorials:


Libraries:

Sample/Demo code:

Others:

Friday, March 14, 2014

Corona Sample Code And Libraries

Here you can find my most recent Corona SDK samples, demos and libraries. I decided to create a new post because the date on the last one is really quite old and many things have changed in Corona SDK since I started it. You can consider everything here as compatible with Corona since the great Graphics 2.0 update of late 2013.

You can find my Code Exchange posts here:
They are all submitted to github Gists:

Thursday, June 27, 2013

Angry Birds in 30 Mins

It's a bit old now, but the proof still stands and this is a very entertaining video: Seb Lee-Delisle teaching an audience how to code up a simple Angry Birds in 30 mins with CoronaLabs' CoronaSDK.


You can follow Seb on Twitter: https://twitter.com/seb_ly and browse his internet wanderings: http://seb.ly/

Friday, June 15, 2012

Building an iOS App in Corona Labs SDK

Corona SDK - now Corona Labs SDK - is a great tool for building games for iOS and Android. What about building more traditional and standard looking apps? Well, Corona provides a number of widgets which look and behave just like regular iOS controls. Putting these together shows that a few items are missing, but can be built. Corona SDK's Sample Code directory contains a WidgetDemo, to show off the functions provided by the API's Widgets. Here's my list of posts for improving those features:



Thursday, January 05, 2012

Interesting And Social API In Corona SDK

Here is a list of blog posts documenting how to use the most interesting and useful parts of the Corona SDK API by Ansca Mobile...

Many of these can be found on this root page: http://blog.anscamobile.com/category/tutorials/

Firstly, the social API's:
And second, the deeper API's:

Sunday, June 06, 2010

Load Balanced Session State Partitioning

Recently doing some research into getting session state management faster and more stable in an enterprise, load balanced environment. Not claiming to be any more knowledgeable than I was before, but definately more read...

Tutorials:
Discussions:
Of course, once you have your caching up and running you'll want to test it before sticking it in the wild:
And for those who want to know, my own comparison (please be aware that I have not exhaustively tested all options, this is based on research and some usage):

NCache
  • Distributed
  • Partitioaned
  • Replicated
  • Remote clients available
  • Expensive
  • Failover
  • Clustered
  • Free developer edition not appropriate for live environments
Memcached
  • Free
  • Open source
  • Distributed
  • Not partitioned
  • Not replicated
  • Servers unaware of each other
  • Not clustered
  • Least recently used model
Velocity
  • Sparsely documented
ScaleOut

Friday, January 29, 2010

Setting Up MVC

Having moved to the RC version of ASP.NET MVC 2.0, I've been looking around for resources (some repetition follows):

Sunday, September 06, 2009

Loving Up The iPhone

Finally made the switch from a dying T-Mobile Windows Mobile MDA Vario II, to the 16GB iPhone 3GS and it's awesome! This thing completely surpasses all expectations in performance, usability, speed and sheer number of applications available - there are far more applications than for Windows Mobile and they are so easy to get. The addictive nature of downloading to the iPhone, I think, would compare to the discovery of P2P file sharing.

Anyway, I was disappointed when I discovered (yes, lots of this is new to me) that I can't just dump files onto the iPhone like I can with the iPod (using it as an external HD, for example) or that ringtones cannot be selected from any music on the device. I did, though, find a very good page with instructions on how to do this. Originally written, then tidied up, for the iPhone 3G, this page is accurate for 3GS as the method is fairly generic;
In short, it goes like this:
  1. Get an audio file and edit to around 20-30 seconds
  2. Save as MPEG-4 (.m4a - see WavePad for easy converting)
  3. Change file extension to .m4r
  4. Drop into the Ringtones section of iTunes
  5. Sync Ringtones to your iPhone
The ringtones will now be available in the Sounds section of you iPhone's settings. Easy. There is more detail on the above link and a pointer to the http://audiko.net/ site for even easier conversions, but manual conversion was my preference (and is really very easy.)

WavePad is available here:
On the other side of the coin, we have videos for the iPhone. As with iPod and iPod Touch, there are plenty of videos to purchase or stream (iPhone comes with a YouTube app) but what if you have a load of wmv's or avi's you want to just dump there? I would get the iPod/iPhone video converter Videora because it has all the "want that one" simple functions that you could need, while being fast and producing quality output. Then it's simply a case of syncing your iPhone to your videos (videora can auto-add conversions to iTunes' library or you can manually drop them onto the phone) to make them play on the iPhone.
Red Kawa, the makers of Videora, even have easy-to-use apps for making wallpapers for the iPhone, but with the wallpaper selector built in, I don't think those are necessary.

Friday, June 12, 2009

Subversion Explained

This enterprising young chap has broken the Subversion (SVN) source code control and versioning system down for all us pro techy geeks...

Friday, May 01, 2009

How To Count Elements In XSLt

In looking to count the number of instances of an XML element I was looking about for a piece of XSLT. Every example I came across had the xsl 'number' element within the 'for-each' element, which meant that the XSLT had to parse the element I was counting first. I didn't want to have a 'for-each' involved at all, but eventually I was in luck, and it's much easier that using a 'number' element:

<xsl:value-of select="count(elementname)" />

I was directed to this solution by experts-exchange: http://www.experts-exchange.com/Web/Web_Languages/XML/Q_21294193.html

However, if you do want to perform counting operations, this is an excellent starting point: http://www.w3schools.com/Xsl/el_number.asp

And for more general XSLt references:
I highly recommend D. Pawson's site as it is basically a massive list of examples and explanations for just about everything anyone would ever want to do in XSLt.

Also, of course, the http://www.developer.com/xml/article.php/3383961 article will tell you everything you need to know about traversing XML - especially useful if you are writing code which needs to build, navigate or parse XML.

Thursday, April 16, 2009

Plain English RSS

If you are a bit confused by RSS or have not heard of it before, this little beauty should sort you out...

Sunday, March 15, 2009

Microsoft links I have yet to read, but really should...

How Do I: Create a Breakpoint
Using Conditions?

How Do I: Create a Breakpoint Using Hit Count?

How Do I; Learn Tips and Tricks for Debugging in Visual Studio?

Office Development with Visual Studio Developer
Center Just Launched!

Microsoft Cloud Computing Tools

How Do I: Add Tool Windows to the Visual Studio IDE?

How Do I: Add a New Tool Window to Visual Studio?

How Do I: Integrate With the Error List?

How Do I: Create a Basic Language Service Using the Managed Babel System?

How Do I: Create Custom
Project Templates Using Visual Studio 2008?

How Do I: Create an Item Template Using Visual Studio 2008?

How Do I: Write to the Output Window?

Explore the New Features of Visual Studio 2008

How Do I: Create a Debugger Visualizer?

How Do I: Place My Commands Into Different Kinds of Visual Studio Menus?

How Do I: Add Commands
and Controls Into the Visual Studio IDE?

How Do I: Get Started with the VisualStudio Domain Specific Languages?

Heroes Happen Here
DotNetNuke® and Visual Studio 2008

Visual Studio Tip of the Day

How Do I: Add AJAX Functionality to an Existing ASP.NET Page?

How Do I: Debug a Windows Presentation Foundation Application in Visual Studio 2008?

How Do I: Use the LINQ-Enabled
XML API in Visual Studio 2008?

Thursday, February 12, 2009

More useful links...

I have posted many links on this blog, for many reasons. I'll now be posting even more. These are useful .NET coding resources which I simply don't want to forget.

TRULY UNDERSTANDING VIEWSTATE:
http://weblogs.asp.net/infinitiesloop/archive/2006/08/03/Truly-Understanding-Viewstate.aspx
TRULY UNDERSTANDING DYNAMIC CONTROLS (PART 1):
http://weblogs.asp.net/infinitiesloop/archive/2006/08/25/TRULY-Understanding-Dynamic-Controls-_2800_Part-1_2900_.aspx
Building Templated Custom ASP.NET Server Controls:
http://msdn.microsoft.com/en-us/library/aa478964.aspx
Developing Custom ASP.NET Server Controls:
http://msdn.microsoft.com/en-us/library/zt27tfhy.aspx
Introducing Commerce Server 2007:
http://www.microsoft.com/commerceserver/default.mspx
Max akbar - For the hardcore Commerce Server Developer... and demystify the product:
http://blogs.msdn.com/maxakbar/
Getting Started with Windows Communication Foundation (WCF):
http://msdn.microsoft.com/en-us/netframework/aa663324.aspx
Windows Presentation Foundation:
http://en.wikipedia.org/wiki/Windows_Presentation_Foundation
Using Bluetooth in .NET:
http://dotnet.org.za/rudi/archive/2007/09/28/using-bluetooth-in-net.aspx
Search JQuery from inside Spotlight:
http://www.appelsiini.net/2009/2/search-jquery-api-docs-from-spotlight
Mozilla's new cloud-based HTML editor:
http://www.readwriteweb.com/archives/bespin_html_editor_cloud.php
Simon Edwards' blog:
http://www.transceiver.co.uk/
Adobe Photoshop Express:
https://www.photoshop.com/express/landing.html
CoolIris media viewer (see top of page):
http://www.cooliris.com/
What annoys you about Windows?:
http://www.annoyances.org/
YouTube tools:
http://www.quickonlinetips.com/archives/2006/10/the-amazing-youtube-tools-collection/