Mipey's Recent Forum Activity

  • Your diligence is enabling our laziness. Keep it up <img src="smileys/smiley41.gif" border="0" align="middle" />

  • The update r133's image deduplication got me thinking: wouldn't it make sense to separate textures from game objects (sprite, tiled background etc.)?

    Essentially, a texture object would only contain image data. Sprites, tiled backgrounds would then refer to those texture objects to pull images.

    This way, you could manage all core image functionality in one place (think spritesheeting, compression/decompression, loading etc.), whereas sprites and other objects would only need to deal with positioning, resizing, tiling, z-ordering etc.

    Just a thought. I am aware that I have little idea of how deeply wired Construct 2 is and that redesigning may already be too big of a task at this point, but it might actually make things easier in the future, who knows?

  • Score = Score + RemainingTime

  • Looking good!

    The question poses itself, however: are there fallbacks for unsupported browsers? (Not that they'd likely be able to run the game as well...)

  • Creat many sprite font objects, then destroy them, the ImageMemoryUsage not reduce. Is a BUG of this plugin or the C2? Someone can fix it?

    Nofish, due to my lack of expertise it is entirely possible that Spritefont is not properly releasing textures, however it was not intended to be created and destroyed in large quantities and rapid succession. Why do you need so many spritefont objects being created and destroyed? That is one of the poor practices in C2.

    Is there a demo of this plugin?

    California, there are example capx in the first post, however they may be quite outdated now.

  • Does node-webkit support local files? If so, you can design your game in a way that allows importing content and patches by distributing additional package files.

  • Ashley, you know your product is gaining recognition when it attracts scammers and pirates.

  • Nope, all number variables are floats. But you can always use int(x) to convert them to integers before using them.

  • Oh yeah, then the number is a float. You have to convert it to integer with int(Player.Y).

    Actually, your problem should be entirely solved with this int() expression, no need for left or right or modulo, as long as your scores don't get absurdly high.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Look at right() and str() system expressions.

    right(str(Player.Y),4) will return four rightmost characters of a given string, which is the player's score converted to a string.

    Alternatively, you can use modulo operator %:

    Player.Y%10000

    This will return the last four digits.

  • alexis06, you are welcome!

  • I write in WriteMonkey on dark background with a soft blue for text. It certainly is easy on the eyes for hours and hours.

    I support the suggestion and add to it: make C2 interface skinnable and we'll provide the themes.

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