<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="/assets/xslt/atom.xslt" ?>
<?xml-stylesheet type="text/css" href="/assets/css/atom.css" ?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>https://spiralcodestudio.com/</id>
	<title>Spiral Code Studio</title>
	<updated>2024-03-01T15:32:50+00:00</updated>

	<subtitle>Solar2D plugins and Defold extensions. Mobile and desktop game development and consulting.</subtitle>

	
		
		<author>
			
				<name>lerg</name>
			
			
			
		</author>
	

	<link href="https://spiralcodestudio.com/atom.xml" rel="self" type="application/rss+xml" />
	<link href="https://spiralcodestudio.com/" rel="alternate" type="text/html" />

	<generator uri="http://jekyllrb.com" version="3.9.5">Jekyll</generator>

	
		<entry>
			<id>https://spiralcodestudio.com/corona-to-solar2d/</id>
			<title>Corona transition to Solar2D</title>
			<link href="https://spiralcodestudio.com/corona-to-solar2d/" rel="alternate" type="text/html" title="Corona transition to Solar2D" />
			<updated>2020-04-26T00:00:00+00:00</updated>

			
				
				<author>
					
						<name>Sergey Lerg</name>
					
					
					
				</author>
			
			<summary></summary>
			<content type="html" xml:base="https://spiralcodestudio.com/corona-to-solar2d/">&lt;p&gt;Corona game engine has gone opensource, the CoronaLabs company no more. The engine is now being developed and supported based on donations as an opensource project by the same people from CoronaLabs.&lt;/p&gt;

&lt;p&gt;Spiral Code Studio has developed a number of popular plugins for Corona, such as QR Code Scanner and Text-to-Speech.&lt;/p&gt;

&lt;p&gt;All the plugins will continue to work properly with Solar2D, however a significant change in distribution is required. The official Corona Markerplace has shut down and no longer can distribute 3rd party plugins.&lt;/p&gt;

&lt;p&gt;I have decided not to go with the same approach as before charging for every plugin some amount each year. Instead just like Solar2D with it’s crowdfunding I want to be closer to my customers, to form a community where everyone can use all my plugins and you can decide which new plugins do you want to be developed.&lt;/p&gt;

&lt;p&gt;Therefore I am introducing a &lt;a href=&quot;https://www.patreon.com/lerg&quot;&gt;Patreon&lt;/a&gt; based access to all of my plugins. With a pledge $5 a month or more you can use all my plugins, a custom URL is needed for &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;build.settings&lt;/code&gt;, see &lt;a href=&quot;#buildsettings-modification&quot;&gt;build.settings modification&lt;/a&gt; below for details.&lt;/p&gt;

&lt;p&gt;No more wandering if the plugin is right for you or not - just support me on Patreon, try all the plugins you are interested in and in case you don’t like them - cancel your Patreon support. It’s that easy, no strings attached.&lt;/p&gt;

&lt;p&gt;I think Solar2D is going in the right direction and together we can make great apps and games.&lt;/p&gt;

&lt;p&gt;I hope you agree to support me so I can continue supporting all my plugins, fixing bugs and developing new features and plugins.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br /&gt;
Sergey Lerg&lt;/p&gt;

&lt;h2 id=&quot;buildsettings-modification&quot;&gt;build.settings modification&lt;/h2&gt;

&lt;p&gt;For the new system integration you would need your &lt;a href=&quot;https://www.patreon.com/lerg&quot;&gt;Patreon&lt;/a&gt; email address and a special access key, that you get when you make a pledge (2nd tier or higher is required).&lt;/p&gt;

&lt;p&gt;Paste that block at the top of your &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;build.settings&lt;/code&gt; file, before the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;settings&lt;/code&gt; table.&lt;/p&gt;

&lt;pre&gt;&lt;code class=&quot;language-Lua&quot;&gt;local spiralcodestudio_patreon_email = 'YOUR_EMAIL'
local spiralcodestudio_key = 'YOUR_ACCESS_KEY'

local function spiralcodestudio_plugin(name)
	local plugin = {publisherId = 'com.spiralcodestudio', supportedPlatforms = {}}
	local platforms = {'android', 'appletvos', 'appletvsimulator', 'iphone', 'iphone-sim', 'mac-sim', 'win32-sim'}
	for i = 1, #platforms do
		local platform = platforms[i]
		plugin.supportedPlatforms[platform] = {url = 'https://build.spiralcodestudio.com/' .. spiralcodestudio_patreon_email .. '/' .. spiralcodestudio_key .. '/solar2d/' .. name .. '_' .. platform .. '.tgz'}
	end
	return plugin
end
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Now you can use this function to prepare a listing for a plugin like so&lt;/p&gt;

&lt;pre&gt;&lt;code class=&quot;language-Lua&quot;&gt;settings = {
	-- ...
	plugins = {
		['plugin.qrscanner'] = spiralcodestudio_plugin('qrscanner')
	}
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;That function generates URLs for each platform (iOS, Android…) with proper authentication parameters when your project is loaded in Solar2D Simulator (Corona Simulator).&lt;/p&gt;

&lt;p&gt;Here is a sample &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;build.settings&lt;/code&gt; file &lt;a href=&quot;https://github.com/Lerg/plugins-sample-qrscanner/blob/master/build.settings&quot;&gt;https://github.com/Lerg/plugins-sample-qrscanner/blob/master/build.settings&lt;/a&gt;&lt;/p&gt;

&lt;ul class=&quot;side-nav t60&quot;&gt;

  

    
      &lt;li&gt;&lt;a href=&quot;https://spiralcodestudio.com/corona-to-solar2d/&quot;&gt;Rebranding and plugin support &amp;middot; &lt;strong&gt;Corona transition to Solar2D&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    

  
&lt;/ul&gt;

</content>

			
				<category term="solar2d" />
			
			
				<category term="solar2d" />
			

			<published>2020-04-26T00:00:00+00:00</published>
		</entry>
	
</feed>