michael's Forum Posts

  • michael

    Thanks. When I publish Star Nomad, and get some free time, I will do a tutorial on optimization tips for mobiles.

    As for the current query, the BG in this game is only 512 pixels wide and 16:9 ratio. I did it on purpose to prevent high memory usage as I have a lot of them.

    Thanks for the reply , look forward to the tutorial .

    I am targeting Win8, so have a window size of 1366 x 768. Unfortunately testing with chrome (no webgl) on android probably isn't the most reliable source for my target platform, but don't have a Windows tablet yet. While I am focusing on marketing for the PC mainly, I still like to try to get the best performance on tablet as well.

    Good luck with Star Nomad, and keep up the good work....!

  • megatronx

    There's been lots of criticism of C2 low performance on mobiles, I just think its up to the users to optimize their games. Sure, HTML5 is 50% slower than native code, guess what? People forget that phones this year are 100% faster than last year. And last year's phone certainly run HTML5 games just fine, so do phones from 2-3 years ago.

    very good work mate! it really is a challenge to get good performance on mobile, but definitely doable!

    I would be intrigued to know more about your asset sizes, especially your backgrounds, I really struggle getting any more than 30-40 FPS on my Galaxy Tab2 10.1 using preview on lan.

    If you ever get the time, it would really help the C2 community, if devs like yourself and thehen, could do some kind of tutorial outlining some of the basic things that help you achieve 60 FPS on mobile!

    Anyway nice game! Keep up the good work!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi Valentin,

    Well there a various ways to do what you want.

    So I had a bit of a play.

    Heres a capx on dropbox (quite big cause of the music)

    The capx uses a couple of methods to show how to achieve what I think you are looking for.

    There are plenty comments in capx so hope you can get some ideas to help you achieve your goal.

    Hope this helps.....

  • hi,

    something like this:

    play song by name>choose(song1, song2, song3, song4, song5)

  • Hi Delgado,

    This tut from Ashley is a must read if you haven't done so already - it will completely change your approach as you design any game.

    Happy constructing!

  • Ragevortex

    I would do same as BluePhase suggests.

    This example uses an instance variable to track if the ship has its shield up or not.

    [attachment=0:3ijxv6st][/attachment:3ijxv6st]

  • Hi,

    This is what I do for something similar:

    Player on collision with enemy>

    Shield is not active > Player gets hurt

    Shield on collision with enemy > Enemy gets hurt

    Hope that helps

  • kristsbee,

    no problems, glad to help.

    Any time you want any progress/impovements tested just pm me and I will be happy to test for you.

    Happy game creating!

  • Good morning kristsbee, sorry for late reply.

    So having tested your game here is a little report:

    First Impressions:

      Installation: had no problems Audio: works fine! Interface: easy to use and understand

    Issues:

      Ludie Logo stays on screen way toooo long
        Bit annoying - Maybe the New Intel XDK would be better option
      When selecting the level to play the game there is a noticeable pause - leaves you wondering if it is working, and first time I tapped it a few times thinking I wasn't selecting the correct trigger
        Suggestion: Perhaps make a visble indicator to show the user that they have pressed the right control and that it is loading the level
      When selecting the icon to leave the game level it goes back to the vehicle selection screen
        Would perhaps make more sense to go back to the level select screen
      Keeping Zeep on its wheels required tilting the tablet away from me to the point where the screen - due to the angle - was washed out
        Can that be tweaked a bit?
      I noticed a few spelling errors - unless they are intentional
        Whobble Whell: should that be Wobble Wheel?

    Overall Impression:

      Game play was good - so far I got to just over 400m, after I changed my wheels! Graphics are clean Performance was good - seamed to run just fine, no lag I think you have a nice game in the making there.
  • Hello fellow constructors.

    I think there may be a bug in the Win 8.1 exports. But really don't know how to check for it.

    So I would like to ask for a bit of help from anyone who develops for the Windows Store.

    We just released our second game Splat-a-Bug on the windows store, for both 8.0 and 8.1.

    The game runs fine on 8.0, but on 8.1 it just displays the splash screen and then closes the app. Both versions are identical except for compiling to each version from Construct2. Both versions pass the WACK and both have passed the Windows Store certification process.

    If you could download the game from the store and test if it runs I would be very appreciative.

  • Yeah, I have galaxy tab2 10.1, but it is running 4.2.2, and it would need a custom install to get the lasted version on it.

    Just a bit busy at present to mess with all that, but perhaps later this week.....

  • Hi kristsbee, looks great, any way to test what you have so far....

  • Hello fellow constructors!

    Just released our second game Splat-a-Bug on the windows store!

    It is available for both Win8 and 8.1.

    Edit: load problem sorted.

  • Hello Spindraft

    .... or else it just does not like WIN8.

    As for reading tutorials I am quite capable of this and this is what irritates me about it. I had this working then rearranged some things and now it does not work. I have found that at times simply changing, adding or deleting code does not activate properly when testing the game. Its as if the whole thing is stuck in the previous scope and unable to update to the new commands.

    I just want to know why this does not work when every tutorial I have read says it should.

    Just a thought since you are running Win8. I develop games for Widows Store, currently using Win8.1, and always test using IE.

    I have noticed that with IE if any changes don't seam to be working then you may just need to delete the browsers history.

    IE is definitely a bit of a pig in this regard, it has got me frustrated a few times when things that I knew should work didn't. So now I tend to do this quite often out of sheer habit.

    So if you are testing in IE that may be some or the issue here.

    I am trying to post the dropbox URL for the .capx but now I have to have 300 rep to do that, how in the world can one do what is asked of him when all that lies in the path are obstacles?????

    Yeah - a moderator may want to correct me here if I am wrong:

    That is an anti spam thing - bit frustrating no doubt - but I think Ashley and Tom had good reason to make it that way.

    However I think you can just provide the partial address for your mycpaxondropboxurl - just leave the www stuff off and other posters can add that themselves, until you get enough rep. Most of the folk here are more than happy to help and don't mind doing that.

    Hope this helps.

  • Hi, use System.GoToLayout to change screens....