<div dir="ltr">Hi,<div><br></div><div>Unfortunately these games are not opensource. They aren't very high quality games anyway. So I plan to fix this, by making small games and tutorials. I plan to make all these tutorials and guides available, make links and everything that is lacking at the moment.</div>

<div><br></div><div>I'd like to include a module system, but that's a complex task that I can't handle at the moment myself. I can make one work with Spheres :)</div><div><br></div><div>At the moment, this is focused on NDK-level development, for instance using SDL. This makes it possible to program with OpenGL, and using JNI you can get some of the functionality only available to the Java SDK interface reasonably easy. However, I don't see this method a practical solution for native Android GUI apps.</div>

<div><br></div><div>Anyway, is better to start by something simple: NDK and OpenGL. When this works well, then try with some techniques for fully supporting the SDK interface at Java level. That would be lovely.</div><div>

<br></div><div>One solution could be SL4A, other might be mixing Gambit with Kawa, or a Gambit Java backend.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><br><br><span style="font-family:verdana,sans-serif">        <font size="1">Álvaro Castro-Castilla</font></span><span style="font-family:verdana,sans-serif;font-size:x-small">    --    <a href="mailto:a@fourthbit.com" target="_blank">a@fourthbit.com</a></span><span style="font-family:verdana,sans-serif"><font size="1"><br>

          </font></span><span style="font-family:verdana,sans-serif"><font size="1">Dedicated to the Craft of Software: Turning Ideas into Reality</font></span><br clear="all">

<span style="font-family:verdana,sans-serif"></span><div><span style="font-family:verdana,sans-serif"><font size="1"><br>

</font></span></div><blockquote style="margin:0px 0px 0px 40px;border:medium none;padding:0px"><div><span style="font-family:verdana,sans-serif"><font size="1"><a href="http://fourthbit.com" target="_blank"><img src="https://s3.amazonaws.com/fourthbit-main/logo_inverted.png"></a><br>

<br>

</font></span></div></blockquote></div></div>
<br><br><div class="gmail_quote">On Wed, Jul 31, 2013 at 2:26 PM, tcl super dude <span dir="ltr"><<a href="mailto:tcleval@gmail.com" target="_blank">tcleval@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">are these games open source? if so, could you paste a link here? I am going to have some quality time with sphere and try to port some libraries to this framework.<div><br></div><div>A modulo system would be welcome, and it could have those kind of tools that manage all modules: download, compile, install. That kind of tool would make the life of and schemer android developer a lot easier.</div>


<div><br></div><div>I've been looking for a good way to make scheme work on android for any kind of application. For now, sphere looks promising for game programming, but I would like to see something like <a href="https://code.google.com/p/android-scripting/" target="_blank">https://code.google.com/p/android-scripting/</a> work for scheme. I am investigating how sl4a interpreters work, so I can build an interface to sl4a. sl4a can do standalone apps, so a gambit-c app could be a single apk, and no need to install sl4a.</div>


<div><br></div><div>I am able to build an android app (java + scheme), java handles the gui part and scheme logic part. Scheme runs on its own thread as an android SERVICE <a href="http://developer.android.com/reference/android/app/Service.html" target="_blank">http://developer.android.com/reference/android/app/Service.html</a>   the problem is that the mix of java, jni, ndk, scheme gets a lot complicated if one wants to build an simple app from scratch. If we had sl4a or something limilar, the schemer could spend more time writing scheme code and not worrying about java, jni or ndk at all.</div>


</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">2013/7/31 Álvaro Castro-Castilla <span dir="ltr"><<a href="mailto:alvaro.castro.castilla@gmail.com" target="_blank">alvaro.castro.castilla@gmail.com</a>></span><br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Daniel,<div><br></div><div>I'm glad you found the <a href="http://schemespheres.org" target="_blank">http://schemespheres.org</a> project interesting. It's been used by four student teams to build little Android games with Gambit, and even though I couldn't work on it for the last 3 months, I plan to keep working on it. My intention is to make it easy to build real multiplatform applications by providing a compilation of selected modules (some I built, some are compatibly licensed by the community MIT, BSD or similar).</div>






<div><br></div><div>As soon as a simple and flexible module system is built for Gambit, it will be built using it (unfortunately Blackhole didn't make it easy to handle C files and cross-compilation, which has been long discussed here). At the moment, it uses a set of scripts for managing compilation and macro expansions is just a two-step process involving syntax-rules (through Alexpander) and then define-macro as natively supported by Gambit.</div>






<div><br></div><div>Many things to improve, and happy to bring collaborators in.</div><div><br></div><div>Cheers!</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><br><br><span style="font-family:verdana,sans-serif">        <font size="1">Álvaro Castro-Castilla</font></span><span style="font-family:verdana,sans-serif;font-size:x-small">    --    <a href="mailto:a@fourthbit.com" target="_blank">a@fourthbit.com</a></span><span style="font-family:verdana,sans-serif"><font size="1"><br>






          </font></span><span style="font-family:verdana,sans-serif"><font size="1">Dedicated to the Craft of Software: Turning Ideas into Reality</font></span><br clear="all">

<span style="font-family:verdana,sans-serif"></span><div><span style="font-family:verdana,sans-serif"><font size="1"><br>

</font></span></div><blockquote style="margin:0px 0px 0px 40px;border:medium none;padding:0px"><div><span style="font-family:verdana,sans-serif"><font size="1"><a href="http://fourthbit.com" target="_blank"><img></a><br>






<br>

</font></span></div></blockquote></div></div>
<br><br><div class="gmail_quote"><div><div>On Mon, Jul 29, 2013 at 9:54 PM, tcl super dude <span dir="ltr"><<a href="mailto:tcleval@gmail.com" target="_blank">tcleval@gmail.com</a>></span> wrote:<br></div>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>



<div dir="ltr">I added a small bash script on github<div><br></div><div><a href="https://github.com/dmalves/compile-gambit-for-android" target="_blank">https://github.com/dmalves/compile-gambit-for-android</a><br></div><div>






<br></div><div>
to help on the compilation of gambit for android. Using gambit 4.7.0 there are no errors, and it does compile to x86, arm and mips, creating a directory for each of the architectures.</div><div> </div><div>I tested using the emulator and it worked for all architectures.</div>







<div><br></div><div>I loved alvatar's scheme sphere project on github. Maybe I could help a little, coz I am (when time is on my side) developing an app using gambit on android.</div><div><br></div><div>Anyway, I'll be making that script better, it is a mess now. Maybe it should have some command line arguments to tell what version to compile, what optimizations to use or maybe download gambit source if not available in current directory. </div>







</div>
<br></div></div>_______________________________________________<br>
Gambit-list mailing list<br>
<a href="mailto:Gambit-list@iro.umontreal.ca" target="_blank">Gambit-list@iro.umontreal.ca</a><br>
<a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" target="_blank">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br>
<br></blockquote></div><br></div></div>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Gambit-list mailing list<br>
<a href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br>
<a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" target="_blank">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br>
<br></blockquote></div><br></div>