Mipey's Recent Forum Activity

  • 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.

  • My password is so secure it only shows as a string of asterisks whenever I type it out. See: *********

    Try it out, see if your password is so secure too!

    *poker face*

  • Dwarf Fortress has seen year-long periods without major updates, it is buggy as hell etc., yet it is one of the best games you can get your hairy hands on. Don't write Construct off either

  • Paint.Net

    DropBox

    Too lazy to linkify.

  • Stopped reading at "patriotism". Brb, vomiting.

  • Ban this guy if he doesn't make the game.

  • Keep throwing stuff at the wall and see if anything sticks.

    S'how I get by.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hmm... I should consider patenting the use of cog for presentational purposes.

  • What? I don't see anything but-

    boooobs *drool*

  • Yes it is.

Mipey's avatar

Mipey

Member since 16 Jan, 2009

None one is following Mipey yet!

Trophy Case

  • 15-Year Club
  • Email Verified

Progress

16/44
How to earn trophies