czar's Forum Posts

  • I like to use functions. I also like to make them independent of global variables. Hence I use parameters. However, the current system with functions is primitive and highly confusing when you are dealing with up to 3 parameters only distinguishable by their number.

    Would it be possible to map the parameters to local variables?

    I am doing this manually now but it makes my code look messy and I am not 100% sure what the order of execution is.

    I would suggest that during function construction you could set up the expected parameter variables and their type. Then the function would automatically assign those parameters to the variables which then act as local variables.

    That would make functions even more powerful and reusable.

  • Quire Your links just come back to this page

  • That looks good. thanks for sharing

  • I completely replaced the old sprite font with the new one. It took 14 hours but it did solve most of my issues.

  • I was aware of the enter key, however, I my book software should always work for the user rather the other way around. I expected clicking/touching to work and it didn't which makes the app feel unresponsive.

    I couldn't replicate the right only problem I had first time around. Nice artwork BTW

  • I had a quick go.

    1. I couldn't click to advance the cutscenes. I had to wait.

    2. When I was running right I couldn't stop running right, seems when I am on the raised islands.

    3. The controls did not seem to respond properly at times.

    4. suggestion, replace the standard arial font with a nice sprite font. It looks a bit so so

    I will have a proper go later and check out gameplay

  • Agree.

  • Link to .capx file (required!):

    dropbox.com/s/skyyg0v3a3dm06c/SpriteFontError.capx

    Steps to reproduce:

    1. Run Capx

    2. All four Sprite fonts terminate with an "=" sign

    3. Only difference between the 4 is the scaling 0.55 through to 0.58

    This is also shown in editor

    Observed result:

    2 of the four show the equal sign and two don't. 0.56 and 0.56 drop the equals sign

    Expected result:

    All four should display all text

    Browsers affected:

    Chrome: yes

    Firefox: yes

    Internet Explorer: yes

    Operating system & service pack:

    Construct 2 version:

    137    

    <img src="http://i42.tinypic.com/2iru8a0.jpg" border="0" />

  • I have found your tutorial Ashley and you write:

    1. Loader layouts are not shown when publishing as native apps on mobile (e.g. via PhoneGap, CocoonJS and appMobi). This is because the entire application is downloaded at once. Since all files are immediately available, nothing needs to be downloaded. For these platforms you probably want to focus on a custom splash image instead.

    So this sounds like it not an option? Correct?

  • I have no idea about loader layouts, I haven't come across them yet. I will search for info.

    Ashley, what sort of time frame do you think will apply? Do you think C2/CocoonJS will be stable in days or weeks?

  • Hi Ashley, ludei and C2 users

    I have been working closely with Carlos from Ludei to deal with the issues of the new cocoonjs cloud compiler.

    There are two remaining issues that I am experiencing that need attention. (I have given up on the old sprite font and decided all need to replaced :( )

    1. excessive load time. On my Samsung S3 my 25Mb app takes 26 seconds to load. I believe that this is probably a Ludei problem

    2. After the Ludei splash screen all I get is a black screen,no load bar, until the app starts. The time starting at a black screen is very long. If I switch WebGL off I do see the load bar, switch on I get a black screen.

    question - have others found this to be the case?

    And Ashley is this something that is C2's responsibility to address or is it caused by Ludei's new compiler.

    Obviously no user is going to wait 26 seconds for a app to start up if all they see is a black screen. Help!

  • If you have installed v137 you will have the new RTS sample code. It is really nice. I am certainly keen to make a game using this as a starter point.

    Love it. Thanks to those involved.

  • ludei, this is going from bad to worse. I have compiled using v137 of C2 and then uploaded to cloud compiler. I am trying on Samsung S3 - Ludei screen comes up and then the C2 symbol and loading bar. It goes across for a bit and then quits back to desktop. :(

    I have tried with and without webgl on in the project.

    I have restarted the phone, no effect.

    The same code in the latest launcher also fails. I will email direct.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • ludei The sprite font issue has not been solved. Just recompiled and used the cloud compiler but the issue remains unchanged.

  • You could attach the timer to another item. I use a single offscreen sprite that I call game controller. I can provide the game controller with variables that I don't want to be available in other layouts. You could also use it to determine when other sprites are created.