Scheme REPL with Cocos2Dx – A Scheme programming-language proof-of-concept game

Scheme REPL with Cocos2Dx

A Scheme programming-language proof-of-concept game

Scheme REPL with Cocos2Dx screenshot 0Scheme REPL with Cocos2Dx screenshot 1Scheme REPL with Cocos2Dx screenshot 2

This is a demo for developers. Please don’t give low ratings based on playability – it’s not meant to be a complete game! It may still be entertaining though, you can drive a truck up hills and fall back down.

=== What this is about ===

We have wanted to try REPL-based game development for a long time, and this is our attempt.

A REPL is like a command-line interface to the inside of your running program. It’s like having a debugger running constantly, but perhaps less troublesome.

REPL-based development should allow us to develop games and apps much faster. Your new code takes effect immediately, and can be executed on your target hardware.

Bret Victor has a very nice talk about immediate feedback in his “Inventing on Principle” talk: vimeo.com/36579366

This project is an attempt to accomplish this, and so far it seems to have worked fairly well!

=== How we are doing this ===

The demo combines three third-party libraries:
– Chicken Scheme for the REPL
– Cocos2Dx for graphics
– Chipmunk for physics

Cocos2Dx is a C++ library with 2D-games in mind. It lets you manage things like sprites, their animations and touch events. It is fast and portable (Android, iOS and others). Chipmunk is a physics engine writtten in C. It’s fast with a very nice API. Chicken Scheme is a Scheme-to-C compiler and interpreter.

All should also run on iOS, but I don’t have a Mac.

=== Bindings ===

The Cocos2Dx bindings are in an early-stage. Basic functions to manipulate sprites are available:
– (CCSprite::create “CloseNormal.png”)
– (setPosition *sprite* x y)
– (getLocatino touch-event)

The Chipmunk API is more mature. You can read about the `chickmunk` project on github.com/kristianlm/chickmunk.

=== Try it yourself ===

You can connect to the REPL directly from your laptop if your phone is on the same WiFi, or use USB. Try Settings->Wireless Networks->Wifi Settings-> [Menu]->Advanced when looking for you phone’s IP.

With netcat (or Emacs, with netcat [ip] [port] as your Scheme interpreter), you could try:

$ nc [phone ip] [port]

Alternatively, you could use USB with adb and forward:

$ adb forward tcp:1234 tcp:1234
$ nc localhost 1234

Once you see the REPL prompt @>, you can play around:

;; ‘import’ chipmunk bindings
(use chickmunk)

;; where is the player?
(body-get-pos truck)

;; redefine game-loop to pause game unless you’re touching the screen
(define (*update*)
(if *touch-down* (space-step space (/ 1 120))))

;; now let’s give the truck a gentle push
(body-set-ang-vel wf -20)
;; now touch the screen to watch it drift off

;; restart the app to revert your changes
(exit)

;; You can also manipulate the physics-world:

;; Drop a ball from the sky
(space-add space
`(body ((pos (320 700)))
(circle (density 0.001)
(friction 1)
(radius 10))))

;; Add a gentle but slippery slope
(space-add space
`(body ((static 1))
(segment (friction 0.1)
(endpoints ((250 500)
(800 550))))))

;; type this to see the touch-down state:
*touch-down*
;; it should be #f when your finger is off the screen, and touch-coordinates otherwise. evaluate it while holding the screen to try it out!

This is just a small example of what can be done. As a matter of fact, almost everything in the demo itself was developed this way: the REPL, Emacs and Inferior Scheme.

=== Source code ===

The source-code for the demo can be found on github: github.com/Adellica/cocoscheme.

Please give feedback, let us know if you like this! And please let us know of any similar efforts. Thanks!

Download apk file for android: googleplaystoreapks.com/category/libraries-demo

Galaxy Note II Retail Mode – Enjoy millions of the latest Android apps, games, music, movies, TV, books, magazines & more. Anytime, anywhere, across your devices.

Galaxy Note II Retail Mode

Enjoy millions of the latest Android apps, games, music, movies, TV, books, magazines & more. Anytime, anywhere, across your devices.

Galaxy Note II Retail Mode screenshot 0Galaxy Note II Retail Mode screenshot 1

This application is intended solely for retail display phones. Do not install this application unless you are an employee of an authorized partner and have the required password to open the application. The application puts the phone into demo mode – this involves but is not limited to wiping device content and applications, resetting the device frequently, preventing the device from being modified, and looping the demo video.

Detail information and download apk file: googleplaystoreapks.com

APK Linux – Enjoy millions of the latest Android apps, games, music, movies, TV, books, magazines & more. Anytime, anywhere, across your devices.

APK Linux

Enjoy millions of the latest Android apps, games, music, movies, TV, books, magazines & more. Anytime, anywhere, across your devices.

APK Linux screenshot 0APK Linux screenshot 1APK Linux screenshot 2

This is an embedded Linux distribution for ARM-based Android 4.03+ devices. It is meant to be used as a bare-bones Linux distribution with all the potential functionality of a full desktop. The objective is to make it easily distributed without the need to root your device.

This app is meant for the power user, and is still experimental. In order to use it, you must have ConnectBot (or any other Telent client) installed on your device. Once downloaded and installed, simply press the APK Linux icon and the program will copy the distribution files onto your device and connect via Telnet. Altneratively, you may connect from your desktop using “adb” TCP forwarding on port 9000 and then telneting to localhost. To kill the application completely, open the terminal and type the command “pkill cmer”.

To learn more and find tutorials on how to build your own Linux distribution for Android, please visit cmer.uoguelph.ca/apklinux and follow the instructions. Please email any feedback and bug reports to: cmer@uoguelph.ca

This is being released under the GPL License v2.

See detail information: googleplaystoreapks.com/category/libraries-demo

GeoComply Demo – Enjoy millions of the latest Android apps, games, music, movies, TV, books, magazines & more. Anytime, anywhere, across your devices.

GeoComply Demo

Enjoy millions of the latest Android apps, games, music, movies, TV, books, magazines & more. Anytime, anywhere, across your devices.

GeoComply Demo screenshot 0GeoComply Demo screenshot 1

The GeoComply demo application, demonstrating geolocation capabilities for Android applications.

Download apk file for your android phone: googleplaystoreapks.com/category/libraries-demo

مسجات العيد و مناسك الحج – Enjoy millions of the latest Android apps, games, music, movies, TV, books, magazines & more. Anytime, anywhere, across your devices.

مسجات العيد و مناسك الحج

Enjoy millions of the latest Android apps, games, music, movies, TV, books, magazines & more. Anytime, anywhere, across your devices.

مسجات العيد و مناسك الحج screenshot 0مسجات العيد و مناسك الحج screenshot 1مسجات العيد و مناسك الحج screenshot 2مسجات العيد و مناسك الحج screenshot 3

مسجات العيد و مناسك الحج اول برنامج يشمل مناسك الحج مع رسائل عيد الاضحى بالاضافة الى العشر الاوائل من ذي الحجة. مجموعة من أجمل مسجات عيد الأضحى الدينية و التراثية و الفكاهية مع امكانية نسخ الرسائل و فتح مرسل الرسائل اليا. بالاضافة الى كل ما يتعلق بمناسك الحج من الاحرام الي الطواف مرورا بالسعي بين الصفا و المروة و كل المناسك الاخري.

مسجات العيد – مسجات – رسائل العيد – رسائل – الحج – مناسك الحج و العمرة – SMS – Feast SMS – Adha Feast SMS – العشر الاوائل من ذي الحجة – الليال العشر

See detail information: googleplaystoreapks.com/category/libraries-demo

SMS+Car offline Voice Control – Offline Voice Control engine for SMS, my Car and Me

SMS+Car offline Voice Control

Offline Voice Control engine for SMS, my Car and Me

SMS+Car offline Voice Control screenshot 0SMS+Car offline Voice Control screenshot 1

This app does only work with SMS, my Car and Me 2.8.0 and up(+Demo)!
Please see description in the Main App.

Voice control does support Bluetooth now! Your device must support audio recording with 8000kHz

Please note, that it is not fully functional in Demo mode.

Internet permission needed for bug reports.

Detail information and download apk file for android: googleplaystoreapks.com