Mipey's Forum Posts

  • Argh, Tom! This thing ate my post again!

    *grumble* Now, what was I saying... ah, yes.

    pinastro:

    Without arrays, it would be difficult. You could create additional invisible sprites with collision mask that matches adjacent areas. Just get picked squares' values and do the math with them.

    However, I wouldn't recommend this if you plan to do the maths like this every tick. Go with array in that case.

  • In a bunker, equipped with the largest widescreen TV available on the marked. Funded by Scirra Construct 2!

  • Use the str() expression to save it as a string.

  • ArcadEd: I am aware of the issue, but I'm not sure what is causing it. Another reason for the plugin rewrite, as it's been a while since I've touched the code. I already have a few ideas how to refactor it for usage, performance and compatibility.

    kiyoshi: That was a reason I got down to make Spritefont. It may not be the most elegant to handle, but at least it works, so I don't have to pull my hair with web fonts anymore!

    If only I could figure out why it won't play nice with CocoonJS... Some archaic black magic they didn't add support for, perhaps?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The next Construct 2 is supposed to feature .exe export. However, I expect it to be unpolished and as such buggy. I wouldn't rely on it for a few releases, until it is ironed out.

    TL;DR - August, buggy at first.

  • Yes, using ImageData

  • ArcadEd:

    I'm not really sure how to go about loading images at will in Construct 2. I've been considering a rewrite of the plugin, so that is on the table.

    But until I figure out things like image swapping at runtime, it'll have to wait. Can't give any timetable, sorry.

  • Well, you could use a local variable. When one of IF statements is met, flip the variable on and test against it in all of those IF statements.

  • I recall reading a blog of an indie developer who tried RenPy (visual novel engine in Python) after having coded his games himself. Said he wasn't going back anymore. It is less time consuming to customize an existing engine to fit your needs than to write it from scratch.

    If you decide to create an engine from scratch, expect the development to be much, much longer and stressful. That's why a lot of game developers are jumping onto the Unity, Construct 2, RenPy and such game engine bandwagons.

  • It is not clear what to do once you run out of items to sell or launch. I can't seem to be able to do anything!

    Edit: oh, missed the forge. Oh man, Transport Tycoon graphics!

  • That's what families are for! Buildable objects should be in a family, then you can simply do this:

    + Mouse is not over Buildables

    Do stuff

    If you are dragging objects, make sure to filter that one out first before checking for other objects. Can be done with control variables; assign a variable whenever you pick an object up and clear it whenever you place it.

  • Also graphics card driver dependent.

  • I very much doubt graphical artefacts are related to javascript engines at all. Most likely it's graphics engine responsible for rendering textures.

  • It depends on your graphics card and drivers.

  • I believe there is a limit to URI length, depending on browser and webserver. IE (8 and 9), for example, is limited to 2048 characters in the URL or some such. This affects POST and GET requests used by AJAX.