Joskin's Forum Posts

  • While + or = infinite loop.

    Its like you had While alone, without condition.

  • Can you explain what is Game Closure ? The big difference between it and CocoonJS ?

  • I think he asked about saving a project on C2 and use it on Cclassic. If i'm right, its impossible.

  • fawdda

    1 - Add a cooldown to your fire action. Something like :

    Var Cooldown = 0;

    On fire event (if Cooldown <= 0) Fire bullet; Set Cooldown to 2;

    Every tick (if cooldown > 0) substract dt (delta time) from cooldown.

    2 - You can create a sprite behind your bullet at every tick. And destroy this sprite after few secs.

  • parside

    Are you using plugins like Keyboard ? Facebook ? I heard that was the cause.

  • In XML I've something like this :

    <?xml version="1.0" encoding="utf-8"?>
    <items>
         <famille id="1" nom="famille 1">
              <objet id="1" nom="objet1" prix="100" description="Description objet1" lockMeter="0" lockAchi="0" lockItems="0"></objet>
              <objet id="2" nom="objet2" prix="200" description="Description objet2" lockMeter="100" lockAchi="0" lockItems="0"></objet>
              <objet id="3" nom="objet3" prix="300" description="Description objet3" lockMeter="500" lockAchi="0" lockItems="0"></objet>
              <objet id="4" nom="objet4" prix="400" description="Description objet4" lockMeter="0" lockAchi="0" lockItems="0"></objet>
              <objet id="5" nom="objet5" prix="500" description="Description objet5" lockMeter="1000" lockAchi="0" lockItems="0"></objet>
              <objet id="6" nom="objet6" prix="600" description="Description objet7" lockMeter="0" lockAchi="0" lockItems="0"></objet>
              <objet id="7" nom="objet7" prix="700" description="Description objet8" lockMeter="1200" lockAchi="0" lockItems="0"></objet>
         </famille>
         <famille id="2" nom="famille 2">
              <objet id="1" nom="objet1" prix="100" description="Description objet1" lockMeter="0" lockAchi="0" lockItems="0"></objet>
              <objet id="2" nom="objet2" prix="200" description="Description objet2" lockMeter="100" lockAchi="0" lockItems="0"></objet>
              <objet id="3" nom="objet3" prix="300" description="Description objet3" lockMeter="500" lockAchi="0" lockItems="0"></objet>
              <objet id="4" nom="objet4" prix="400" description="Description objet4" lockMeter="0" lockAchi="0" lockItems="0"></objet>
              <objet id="5" nom="objet5" prix="500" description="Description objet5" lockMeter="1000" lockAchi="0" lockItems="0"></objet>
              <objet id="6" nom="objet6" prix="600" description="Description objet7" lockMeter="0" lockAchi="0" lockItems="0"></objet>
              <objet id="7" nom="objet7" prix="700" description="Description objet8" lockMeter="1200" lockAchi="0" lockItems="0"></objet>
         </famille>
    </items>
    
  • Indeed I'm not clear. What I'm trying to do is storing all my objects specs into an array for an easier manipulation, and this objects are sorted by families, I don't want multiple arrays (One by family) ... But it looks like I can't get this with the array size.

    I'll have a look to an XML file.

  • Hey,

    I'm again (Here) lost with JSON array size.

    I'm trying to have this :

    Fam1

       1,val1,val2,val3,val4,val5

       2,val1,val2,val3,val4,val5

       3,val1,val2,val3,val4,val5

       4,val1,val2,val3,val4,val5

    Fam2

       1,val1,val2,val3,val4,val5

       2,val1,val2,val3,val4,val5

       3,val1,val2,val3,val4,val5

       4,val1,val2,val3,val4,val5

    Fam3 ...

    (I'm looking for storing objects with differents values sorted by families.)

    So, I'm wondering what's the "size":[x,x,x] value.

    Thanks !

  • For pixel art Pyxel is a good tool : http://pyxeledit.com/ (but still in beta !)

  • The .capx is the C2 file.

    Upload it on a dropbox folder and give us the link, it will be easier to help you :)

    And read this for more details : scirra.com/forum/tips-for-posting-in-the-how-do-i-forum_topic44506.html

  • I can't see any screenshot, you should post your .capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I mean that you can't really understand why your are losing FPS when you are using cocoon, I'm working on a very simple game without physic, particles, text ...etc everything is fine for a mobile use. But it didn't works fine, an I don't get why. It's very frustrating.

  • Due to the instability of cocoon I'm looking for another game development solution, even if I love C2. Many ppl bought C2 because on the main page you can see exports to Android and IOS, but it's not totaly true, you can't export your work directly to this platforms, you have to the same work twice and expecting 60fps in your 10 sprites games.

    I'm using C2 in a goal of commercialization, so yep I can whine.

  • Spawn Sprite 3 on layer 2 (image point 0).

    You are spawning it on layer 0.

  • It's normal, use sprite font instead of text object.