Cassianno's Forum Posts

  • Please don't do this.

    Your future you will curse your present you forever.

  • Cassianno Yeah, am using text + system fonts. They aren't scaled. But, the problem wasn't in the scaling. It all seems to be working fine in edge, the font is crystal sharp, but in Chrome and upon exporting, even in lover Chromium versions, the blur remains. So exporting in Edge makes no difference, but previewing does. I am honestly so confused.

    Holy. Well, that's really weird.

  • For now im using NWjs for create a folder and save the array in a file localy. Its possible to send the file to a server so i can retreive it after?or i have to send it using ajax post to php?

    AFAIK, Construct doesn't support ftp,so you can't send an actual file. But as I said before (and dop, trough the other post'slink), you can send via Ajax the file contents (so yes, Ajax post a php(or whatever you like) and then either save a file or to a database). You can always send the byte code of the file as a string too, but I don't see any reason to.

    Also, you can connect to a web socket and send a message containing the file content string but, again, there's no need to.

    The right way to accomplish what you want is trough Ajax.

  • Yeah, there is no "delete save slot" action (nobody knows why).

    Workaround is, as mentioned above, start a new game in existing slot and overwrite it.

    You can virtually do this, but yes. The "data" will remain until overwritten. Imo, no need to delete.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Strange. Are you using sprite fonts or text + system fonts? Are they scaled in any way?

  • Use choose() instead of random()

  • You can have an instance variable ("overlapped" for example) on the dropable sprite and set it to 1/0 wether it has something overlaping or not.

  • Don't know if NW.js can handle/trigger AJAX, but if it can, why do you need to access the file? Just serialize the array and save it. Or am i missing something?

  • Kinda hard to understand, do you move with WASD and KL are for what?

    Anyway why condition 11 isnt a sub of 8? Like 16 and 17 are from 15.

  • Exactly what Isaac posted. Keep on mind that 0º is the object facing RIGHT, so all your sprites should be pointing this way. Also, about image points, they are really important for this. I suggest you google some examples if you struggle.

  • Check wether your project is set to not scale and pixel rounding to on, to prevent mislocations.

  • dropbox.com/s/mntgd0r3at5pzll/keys_pressed.capx

    Edit: Submitted without text, my bad... Anyway, pretty simple. In the dictionary you have the keys pressed at the moment. Use at will, by limiting keys, amount, etc. The space will be a blank key as im getting the string from keyboard.

  • Cool, download. Used to play alot as a kid until memorized the pattern hahaha.

    É nóis mano.

  • Should totally buy him a beer.

    "Even geniuses need beer from time to time".

    - Me.

  • I think this is pretty cool but what use could it be used for?

    I didn't use this plugin, but ill consider this is a simplified kind of Observer (DP).

    Imagine a shooting game where you get +10 for hitting enemies and -3 whenever you get shot.

    So you have a SCORE: XXX label on top of your game, ok?

    To update the score (the label, "forget" about counting the score itself) you can:

    a) everytick draw the score (really bad);

    b) set 2 actions on both "enemy hit" and "player hit" to draw the score;

    c) whenever var_score changes, draw the score.

    Approach b is still okish in this simple example, but imagine 10 actions changing the score or a whole differente situation.

    Of course, using variables only is doable too, but this plugin sure is handy.