Crazyhowie's Forum Posts

  • First time asking for help on here, so hopefully this is the right place. <img src="smileys/smiley5.gif" border="0" align="middle" />

    I have a cloud compiled CocoonJS app that I'm testing on Android devices. The issue seems to vary from device to device, but basically here's what happens. When the screen times out, the game breaks in some way. Unlocking the device to resume the game has varying results: screen goes completely black or white and won't resume, the graphics get either shrunk, offset, or streched oddly making it unplayable, or the device locks up completely, requiring a reboot. Most of the time, it just takes hitting the back button to exit out of the app, and relaunching it to get things back to normal. (Note: On my Android tablet, it works great and I can even swap between other apps and back to it, and it'll resume properly.)

    Has anyone else experienced any similar problems with resuming their games, after the screen times out? Does anyone have any tips for a workaround or is there a way to prevent the screen from timing out?

    The two devices I've tested this are on Gingerbead Android 2.3, and maybe it has to do with the lock screens being in the portrait orientation... so, that when it tries to resume the game, you'll see it switching to the landscape orientation and that's when things break. (My tablet is running Android 4.0 ICS, and the lock screen is landscape orientation, so maybe that's why it works?) I'm using scale mode with an oversized background sprite, and some anchored sprites.

    I can post a capx file later tonight if that'll help. Similar behavior can be found even when letting the screen timeout while in the Cocoon JS launcher, so it'd be easy to verify.

    *EDIT*

    Added some screenshots of the Before and After to clarify the issue.

    Before

    <img src="http://howardconcepts.net/internets/construct2/game_1_before_timeout.jpg" border="0" />

    After

    <img src="http://howardconcepts.net/internets/construct2/game_2_after_timeout.jpg" border="0" />

  • I'm going to write up a more detailed walk through of what I did because now it really is super easy. I'll let you know when I've gotten it finished.

    This would be greatly appreciated.

  • Hi, can i expect the same performance in the compiled version, that i have in the launcher?

    I am getting an amazing performance in the launcher!

    Yeah, I find it pretty spot on. An older version wasn't properly reporting the correct FPS for me in the launcher on my Galaxy Tab, but it seems to work great now.

    The only discrepancy I've had between the launcher and the compiled version is that in the launcher, text objects appear extremely tiny, but the compiled version is the proper font size, though it doesn't use the proper font type in either of them. I need to give the spritefont plugin another shot and see if it's working for CocoonJS now.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • just to warn you, the cloud compilation produces android apk requiring users to accept following permissions:

    android.permission.CAMERA

    android.permission.WRITE_EXTERNAL_STORAGE

    android.permission.INTERNET

    android.permission.ACCESS_COARSE_LOCATION

    android.permission.ACCESS_NETWORK_STATE

    android.permission.READ_PHONE_STATE

    android.permission.ACCESS_FINE_LOCATION

    android.permission.VIBRATE

    android.permission.RECEIVE_BOOT_COMPLETED

    don't know how about ios files, but in android's google play store these are a sign NOT to download the game, because a simple game, shouldn't have access to users location, boot completed signal, camera, etc.

    i asked ludei if there could be some kind of control over these permissions though.

    Thanks for bringing this up with them, ranma! I was going to put an inquiry into them this evening about it. As you said, excessive permissions tend to be a nasty stigma for an app especially on the Google Play store. Look at any app with excessive permissions and you'll see plenty of low score reviews with complaints. This is especially a problem for simple games where little to no permissions should be required, unless there is a specific purpose thoroughly explained.

    I'm having a small group test my game on their devices tonight, so for now I'll just have to forewarn them that I have no control over the permissions that are required. Though, hopefully I will be able to remove those in time.

  • Yeah it's usually quite quick, but I have also had my project still processing 6 hours later, and it's only 4MB. Maybe they're having server issues right now or the queue to process is full?

    I've only experienced any slowness today though, so we'll see how tomorrow goes!

  • This seems like the right place for this post.

    I just wanted to share that I've actually had a great experience with CocoonJS and the cloud compiler. I unfortunately couldn't get the sprintfont plugin to work, but the text object seems to be functioning fine. I will add though that the text object didn't appear to function properly when testing on the CocoonJS app; it wasn't properly using the font size, so it was quite small and unreadable. Compiling the app into an APK though and running it, the text objects works great.

    The game's overall performance seems pretty good so far on the devices I've tested it on. The process was smoother and faster than I could've possibly imagined, especially after fighting and struggling in being able to get appMobi working, it was a relief.

    I hope to have a version to share soon.

  • Here is the error on CocoonJS when using spritefont:

    JSUtilities Exception: TypeError: Result of expression 'a.canvas' [undefined] is not an object. Cause: Tag: requestAnimationFrame Function: function() {a.hd();}

    Just thought I'd add that I also ran into this same error when using spritefont and exporting it to test on the CocoonJS app. The game tested great over preview, but loading it up on the phone gave this error and broke all touch control for whatever reason.

    It's a wonderful plugin though. I received this error exporting with r101 just to clarify.

  • Was just about to post a link to that, but you're all over it, Tom.

    Great news.

  • Go go go! :D

    Love the new front page BTW.

  • It's a go!

  • Good morning from Washington State, US.

    I only just barely joined the community and started using Construct 2, but I'm ridiculously excited for this release too. I'm hopping on the refreshing bandwagon and am ready to download!

  • I was essentially looking for an alternative to GameMaker 8.1. I was researching the newest GameMaker Studio and was turned off by the high prices of the individual exporter modules. I was about ready to just give the base package a go anyways, but I decided to Google some GameMaker alternatives. So, that's how I stumbled upon this wonderful Gem, Construct 2.

    I gave the free version a go for a few days and then snagged up an official license and I look forward to playing around with it more. I'll start with recreating a game I made in GameMaker to really get a feel for it. I like this software's style and the way the developers are supporting it and the HTML 5 platform, so thanks for making it!

  • Hey everyone!

    My name is Scott Howard and in short I'm an aspiring game designer, gaming enthusiast, bargain-hunter, and beer lover. I've been gaming for as long as I can remember, but I've also dabbled in video game design over the years, starting with the original Half-Life in modding and also Warcraft/Starcraft custom map making.

    I went to school and earned a Bachelor of Science in Digital Entertainment and Game Design at ITT-Technical Institute. I worked a year at Cyan Worlds/Cyan Test as a QA Tester and QA Test Lead, but life has it's odd little twists and turns, so I'm no longer working in the game industry officially.

    With a full time job, it can be difficult to find the motivation to design games. Thankfully, I stumbled upon this website and the Construct 2 engine about a week ago, and it reignited the spark to start working again. I dabbled with the free version for a few days and immediately purchased a license. I created a couple 40-hour game projects with GameMaker 8.1 and I'm going to attempt to recreate at least one of them using Construct 2.

    There's not much else to say other than I'm pretty much just a dude with a loving wife and dog who is trying to create games on a side, whenever I'm not playing them, of course. I also tend to get long-winded and wordy, so I'll wrap this up now! I look forward to participating in the community in any ways that I can and hopefully I'll get around to sharing some of my games with you all.

    -Scott / Crazyhowie

    howardconcepts.net