Appmobi

Discussion and feedback on Construct 2

Post » Sat Jan 14, 2012 5:14 pm

Has anyone tried Appmobi? http://www.appmobi.com/?q=node/167

They claim using it significantly increases rendering speed, physics calculations and has multi channel audio. This could solve most of the problems deploying HTML5 games on iOS.

Does anyone know if games made with C2 need to be modified after export to take advantage of this? Could it be built in to C2 like phonegap?Arima2012-01-14 17:16:47
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,432

Post » Sat Jan 14, 2012 5:22 pm

honestly C2 could just steal aspects of it. The Appmobi engine thing is open sourced.

If Ashley could improve on there source code then he could potentially claim it as his own {;)]. Or he could take a look at it and learn from it and then one day hopefully implement it into C2 Or just steal it
B
29
S
12
G
7
Posts: 740
Reputation: 7,849

Post » Sat Jan 14, 2012 5:24 pm

Maybe it could be used somehow after export. Not sure but apmobi also uses phonegap for ios exporting so whats the point?
B
29
S
12
G
7
Posts: 740
Reputation: 7,849

Post » Sat Jan 14, 2012 5:25 pm

@Ashley, if you wanne see the source for there directCanvas take a look here: https://github.com/appMobi/ios
B
29
S
12
G
7
Posts: 740
Reputation: 7,849

Post » Sat Jan 14, 2012 5:26 pm

Because of their directcanvas technology - the stuff that accelerates rendering, physics, and improves audio, which phonegap doesn't have.
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,432

Post » Sat Jan 14, 2012 5:50 pm

I will try it on my future games

B
35
S
16
G
16
Posts: 2,222
Reputation: 16,589

Post » Sat Jan 14, 2012 6:47 pm

I started to play around with appMobi last week.

So far from what I have learned there are quite a few steps nothing to technical though.

You can just drop a html5 game build into there XDK after you install it and start a new project.

Then you need to add a script to the <head></head> tags of your index html page so that your game can call the appMobi JS library:

    <!-- the line below is required for access to the appMobi JS library -->
<script type="text/javascript" charset="utf-8" src="http://localhost:58888/_appMobi/appmobi.js"></script>

<script type="text/javascript" language="javascript">
        // This event handler is fired once the AppMobi libraries are ready
        function onDeviceReady() {
            //use AppMobi viewport to handle device resolution differences if you want
            //AppMobi.display.useViewport(768,1024);

            //hide splash screen now that our app is ready to run
            AppMobi.device.hideSplashScreen();
        }

        //initial event handler to detect when appMobi is ready to roll
        document.addEventListener("appMobi.device.ready",onDeviceReady,false);
</script>

After that you will be able to view , and test your game on the appMobi emulators that are built in.

You also will have to provide appMobi cloud service with some graphics for a icon, loader, etc. These will all depend on what type of device you want to build for.

Then to make a build you will have to register for a couple services, create, and provide emails but the appMobi XDK will walk you through all these steps.

I did manage to make a successful game build, and downloaded it to my Android phone but when I ran the game the loader screen appeared then once it was loaded all I got was a black screen. The same game works with the phone gap build but not the appMobi build. There must be some more mods that need to be done to the html5 game build to make it work beyond there emulator. I will keep playing around with this maybe I will figure it out.

Here is a link to there beginners tut:

Getting Started

It covers installing the XDK, and getting it all up and running. If anyone figures it out before me please post your solution here.Wink2012-01-14 18:52:33
B
50
S
11
G
8
Posts: 479
Reputation: 9,911

Post » Sat Jan 14, 2012 7:03 pm

I accept the challenge!!!!
B
29
S
12
G
7
Posts: 740
Reputation: 7,849

Post » Sat Jan 14, 2012 7:10 pm

Hmm, thanks for the info. I can't play with it myself though because I don't have a device to test it on.
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,432

Post » Sat Jan 14, 2012 7:29 pm

Arima the XDK has built in device emulators to test on. The XDK also gives you the ability to preview your application on an actual device using the appMobi appLab test container. Click on the Test Anywhere icon then after your game is uploaded you can click on the Send App Link icon.

Then the applab will send instructions on how to test your application on a device. Copy the instruction text and email it to your tester or just post it here. If they follow the instructions, your tester will make sure to download the appLab test container application, and then access the application by opening the supplied link in their device's web browser. Wink2012-01-14 19:38:09
B
50
S
11
G
8
Posts: 479
Reputation: 9,911

Next

Return to Construct 2 General

Who is online

Users browsing this forum: saiyadjin and 13 guests