boolean's Forum Posts

  • Paradox : Oh weird that actually works!

    I would be curious to know when switching layouts if C2 restarts WebGL - If so it might point towards the theory that the webfonts are not loading fully before it kicks in.

    Ashley: Any thoughts on this? We have two workarounds now. Any thoughts on where the problem might be originating?

  • I recommend checking out the capx r0j0hound posted in this thread. It's rather fantastic.

  • Took a little while to fully understand what the messages on the left wanted me to do (might look into a tutorial or something) it was a blast. Very well done!

    Thanks mate <img src="smileys/smiley1.gif" border="0" align="middle" />

    Edit: I've updated the first challenges to be more descriptive in the initial controls. That should hopefully fix some of the initial confusion but still require a bit of trial and error.

  • mammoth: Instead of setting numbers, try setting up two new global variables: "True" with a value of 1 and "False" with a value of 0. You can then just reference True and False through your code.

  • Wow fantastic idea, I really like it.

    I'd love to see more types of 'pixels' - it seems there are only a few variations of them (understandable for 5 days work though!).

    Any plans on expanding on this idea?

  • Hi all

    I did an export of my game and noticed that 95% of the size is taken up by the few audio files I have. Since the game is only really intended to be played on desktops, do I still need all three formats?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Doesn't the offline cache also use local webstorage?

  • There are some good samples in this thread.

    One thing to be careful of when using drag+drop is hitbox sizes. It's quite common to have a sprite like a piece of treasure that has a fairly small hitbox that is dragged around the level, but it makes clicking on the actual sprite very hard. Usually you want a large hitbox for clicking and dragging and a small hitbox for actual game collisions. I suggest having a pinned sprite that is used for interaction with the mouse cursor and keep all collisions to the game world on the treasure sprite itself.

    It might seem obvious in retrospect, but when you end up fiddling about for 3 hours because you thought it was a bug elsewhere in your code you end up feeling a bit of the fool <img src="smileys/smiley9.gif" border="0" align="middle">

  • If you want them all as a single sprite, and assuming your sprite is using a repeated grid size you can create an empty sprite and then right click and choose "Edit Animations", then in the "Animation Frames" window, right click and choose "Import Sprite Strip". It will ask you for the number of vertical and horizontal cells and then import them in as individual frames. You then drag the sprite into the layout and set its "initial frame" to match the cell you want in your animation.

    That last step is a bit of a pain, but I don't know of a way around it as C2 doesn't have a tile editor.

  • It's pretty heavily ingrained into C2 that newly created objects can't be picked until the next top level event. Because functions don't keep the scope of your working objects you have to repick it - thereby dashing any hopes of accessing the created object.

    Maybe Ashley can do something like give functions the option of keeping the scope of the calling method - that way the object wouldn't have to be repicked and you could still modify it. It's a bit of a longshot though.

  • By the way, I'm using the web-fonts workaround from this thread. If anyone notices the fonts go all weird let me now and I'll see if I can figure out what's going on.

  • Wow really cool.

    I went to Wikipedia in the hopes of finding out why it eventually equals pie and understood exactly 4 words on that page.

    Could someone do a 'explain like I'm 5' on how this works?

  • Here is a game I made. Hopefully you will survive, but odds are you wont.

  • .asp? Wow.

    Anyway, voted!

  • I can't help with your problem, but that was the damn most entertaining game I've played in a while. I burst out laughing when he made his little "horhoor" noise and started dancing. Awesome game <img src="smileys/smiley4.gif" border="0" align="middle" />