Mipey's Recent Forum Activity

  • It appears that document is not available in edittime...

    This throws undefined document:

    var canvas2 = document.createElement('canvas')

    Unless there is another way to create an offscreen canvas in edittime, I have no other way of rendering textures outside the existing canvas (for caching, image composition etc.).

    In runtime, document is accessible.

  • I've stumbled upon this article that discusses HTML5 canvas performance:

    Improving HTML5 Canvas Performance

    I consider myself enlightened after reading the article. By applying the canvas performance optimization methods in the article, Construct 2 runtime could benefit from a significant increase in performance.

  • It's easy.

    0 XOR 0 = 0

    1 XOR 0 = 1

    0 XOR 1 = 1

    1 XOR 1 = 0

    It means "EXCLUSIVE OR", so it is only true if only one is true, not both.

  • <font size="6"><font color=red>DISCONTINUED</font></font>

    Since there is an official Dictionary plugin, the Association List plugin has been discontinued. Feel free to delete the thread, mods.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Before all that, how to load a file? I have been utterly failing to find some method of loading a text file (via plugin or events).

  • So that is where all those match-3 clones come from...

  • We do expect some level of quality in posts, after all, and we'll get nowhere if people just post to inflate numbers :)

    Perhaps if posts were rated, you could have badges for highly rated posts, that would encourage posting quality.

  • Yeah, a certain delgado seems to like collecting those badges.

  • What? Seriously? Installing Chrome or Firefox is easier than installing your typical game. All you have to do is hit the big blue thing on google.com/chrome or download FF in your language from mozilla.org/en-US/firefox/all and execute the install package.

    Besides, your friends are at a high security risk if they do not update their IE to latest version.

  • Here is my very first plugin for Construct 2! *drum rolls*

    <font size="6">Extra Expressions</font>

    <font size="3"><font color="red">Version: 1.1 (11th January)</font></font>

    <font size="3">Download ExtraExps.zip</font>

    To install, extract the contents to Construct 2\exporters\html5\plugins folder.

    To use, simply start entering an expression where applicable, like this:

    ExtraExpressions.char2code("A")

    Tip: You can rename the object to a suitable shorthand, such as ExtExp

    The plugin contains miscelaneous expressions that complement the system expressions. It is kind of pointless to create a plugin for each expression, so I decided to create Extra Expressions plugin containing all regularly used expressions.

    <font size="3">LIST OF EXPRESSIONS</font>

    find(text, source) - Case sensitive version of system find expression. Find text within source text.

    char2code(char) - Returns the charcode of a character (or the first character of string)

    code2char(code) - Returns the character from charcode

    cosp(a,b,t) - Cosine interpolation between points a and b

    --- NEW ---

    offsetX(x,angle,distance) - Returns the x position at an offset by distance at angle.

    offsetY(y,angle,distance) - Returns the y position at an offset by distance at angle.

    snap(number,gridsize) - Returns the number snapped to grid size (e.g. 25.5 snapped to 16 returns 32).

    encode(string) - Encode the string to Base64

    decode(base64) - Decode the encoded string from Base64

    findToken(text,token,delimiter,case sensitivity (0 or 1)) - Find token in text, returns its index if found or -1 if not found.

    ---

    Yeah, just a few expressions for now, but be sure that I will be adding more. Got any suggestions? Better terminology? Drop a line here!

  • Want to make icons for your sweet plugin?

    I've found just the right tool for that! Simply create your icons in PNG and hit this sweet website:

    http://converticon.com

    It allows you to convert the png file to ico file. Yay!

  • I've been looking into means of texture manipulation, but for that I'd need some sort of manipulable surface, so I've been looking through plugin SDK and stuff.

    Both tiledbackground and sprite objects seem to use Image(), which I can't seem to find anywhere to figure its workings out. What are its properties?

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