Mipey's Forum Posts

  • Can I have a copy?

    I plan to conquer the world with it.

  • Construct? Not perfect?

    Next you'll say Santa doesn't exist.

  • [insert software/OS/your mom] is *****

    Sincerely, [insert your name, complete with RL address etc. to send antrax to]

  • Canvas is flat. The drawing order is important; the one you draw the last will be drawn over everything else.

    Reorder the drawing order by the Z order, should do the trick.

  • NO

    GIEF GUI

    NAO

    Nah, just keep the good work up

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Not everyone might be running at the same framerate; even if you lock it at 60 FPS, some people with crappy computers may actually get half that amount. In that case their mileage may vary.

    TimeDelta ensures that a moving object makes the same distance within same time on all computers.

  • ^ that is much better, yes. Basically you're using aliases for OID.

  • And this still hasn't fixed the pagination problem... whenever I search for something, I can't see more than the first page of search results because of this:

    [quote:26uyxy7l]Sorry but you cannot use search at this time. Please try again in a few minutes.

  • Object name... Well, you can get OID and just use a string name as an alias for your convenience?

    As for instance names, same thing with UID.

  • But deadeye, won't that title attract more attention?

  • In this case, 2 wrongs make a disaster. You have been warned!

    Why not use a private variable to contain the name and a hashtable to track them?

  • It is not Construct's fault for wine's incompatibility. When someone thrashes a glass jar, it is not the jar's fault.

  • Here is a simple example:

    http://dl.dropbox.com/u/629300/tileset.cap

    Note that the texture MUST be power of 2 in order for image offset to work.

    Of course you can save those offsets, I'd use hashtable and string tokens, like this:

    Hashtable Key: "BigBadMonster"

    Hashtable Value: "128,32,64,64"

    The value is a string, you can compose it like this 128&","&32&","&64&","&64

    So when you read the value at key "BigBadMonster", you use the GetToken expression to get values (it is a string, so there is int() function to convert into number):

    Tileset: set Width to int(GetToken(Hashtable.Value("BigBadMonster"), 3, ","))

    Tileset: set Height to int(GetToken(Hashtable.Value("BigBadMonster"), 4, ","))

    Tileset: set image offset to int(GetToken(Hashtable.Value("BigBadMonster"), 1, ",")), int(GetToken(Hashtable.Value("BigBadMonster"), 2, ","))

    This way you get exactly what you want - the texture of 64x64 at 128x32 within TiledBackground.

    You can spawn as many tiled background objects as you want ,I guess, doesn't seem to be that big of a performance hit. Or you can use the Canvas paste method. The texture remains the same, so you don't use up extra memory by using multiple instances of Tileset (TiledBackground object).

  • Yeah, transitions cause crashes. Try to make your own transitions and avoid ones provided by Construct

    • use TiledBackground object to store the tileset texture
    • change the TiledBackground size and image offsets accordingly to pick the desired tile (for example if you use 32x32 tileset and want to use a tile at 64x32 within the tileset, you set tiledbackground size to 32x32 and image offset to 64, 32 respectively to get the desired tile)
    • set position at desired location, paste into Canvas
    • optional: apply color filter (if you use white tiles, you can get them to be of any color!)

    This is much more efficient than sprites.