Mipey's Forum Posts

  • Thanks Ashley!

  • What the topic says. This is more of a convenience feature that would be nice to have and am sure wouldn't take much to implement. In short, it would make everyone's lives easier, if not feed the hungry Somalian kids.

    Just a brief suggestion.

  • Setting the text and object size can be performance intensive, especially on every tick. The text is in fact re-rendered every time it is changed.

    Why don't you use another variable for each value? Then you can on every tick compare if the value has changed since last tick, only then update the GUI and the variable itself.

    Like this:

    + Every tick

    + OldHealth is not equal to Health

    OldHealth = Health

    Text: Set text to Health

  • Dragging a static local variable to global scope throws an check failure stating that global variable cannot be set to static.

  • If I am not mistaken, you could use AJAX to query the NodeJS server.

  • Just because it can't publish to one version of Android it doesn't mean Construct can't export to Android altogether.

    There are many phones and tablets with different Android versions going around. My phone, Samsung Galaxy Ace, only supports the Android 2.3. That means I can't install Chrome nor Mozilla for Android, meaning I have to suffer from the godawful browser and performance.

    And yet, on this phone I can play Android games made with Construct 2.

    Don't blame Scirra for CocoonJS failing to meet expectations, especially for the newest platform.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Add a couple private variables to the sprite, let's call them GoalX and GoalY.

    + distance(Sprite.X,Sprite.Y,Sprite.GoalX,Sprite.GoalY) > 1

    Sprite: Set position to lerp(Sprite.X,Goal.X,0.1),lerp(Sprite.Y,Goal.Y,0.1)

    ++ (subevent) distance(...same as above...)<1

    Sprite: Set position to Goal.X,Goal.Y

    This basically moves the sprite to goal coordinates, with easing toward goal. See lerp expression in the manual and experiment with it. You can also use this for snapping to position or another object. Following, too.

    The subevent makes sure the sprite sets proper position whenever it is close enough.

    If you want a more smooth move from start to finish, use lerp(StartX,GoalX,Timer),lerp(StartY,GoalY,Timer) as well as a Timer variable which you add dt to (see system expressions, timedelta or deltatime).

    + Sprite.Timer < 1.0

    Sprite: Set position to lerp(StartX,GoalX,Timer),lerp(StartY,GoalY,Timer)

    ++ Sprite.Timer >= 1.0

    Sprite: Set position to GoalX,GoalY

    So, this basically moves the sprite from Start to Goal in one second (Timer = 0 at start and Timer = 1.0 at finish).

    For easing, you want to get a little more creative, you can use the cos for one form of easing at start/end. But that's getting a bit mathy.

  • Greg: It would be a different object type, so you'd have to recreate them, sorry.

    The rewrite won't be for quite a while and the current SpriteFont seems stable enough, as far as desktop support is concerned. As long as you aren't exporting to CocoonJS and AppMobi, the current SpriteFont should be fine. But if you want to target those as well... well, you are in for a long wait. Don't hold your breath :)

  • Steps to reproduce:

    1. Select an event.

    2. Hit "Q" to create a blank comment.

    3. Hit "ESC" to cancel editing the comment.

    4. Hit down arrow.

    For me, it crashes everytime.

  • ArcadEd, thanks for the effort!

    I am quite aware of the issue, but currently I don't see a way to tackle it. So I'm afraid to say that SpriteFont doesn't really play nice with CocoonJS.

    A rewrite is pending, basically a slimmed-down fork of SpriteFont (no backwards compatibility). Right now, however, I am swamped in projects, so it may take some time.

  • You need the following:

    • mouse object
    • element1 sprite with physics behavior attached

    + On mouse click

    System: create object (element1) at Mouse.X, Mouse.Y

    Be sure to read through tutorials and manual, I'm sure Kyatric will point you to the relevant ones :)

  • Hm, I wonder how will it work with collisions and stuff.

  • Every day, there are so many new posts and threads I have to list through several pages to see them all.

    The good news: Scirra is so popular!

    The bad news? It is increasingly difficult to keep a track!

    Especially since "New posts" breaks the posts into categories, with all new posts in General coming first, only then "How do I" and then Bugs. the more important posts are buried on subsequent pages. Some help requests end up getting overlooked.

    Perhaps it is time to reorganize things a bit to accommodate for the increased traffic?

    A few suggestions:

    • condense the search results (especially new posts), so that more threads can be shown on the same page.
    • allow the user to specify how many posts/threads they want to see on the same page.
    • polish up the markup language. It is a bit unsightly to see /size tags being replaced with /font whenever you edit posts, which looks weird since the first size tag is not replaced. Also, allow in-line placement of URL and image tags. They keep jumping to the end of post whenever you add them. It's kind of a pain to deal with whenever prettying your own posts up.
    • favorites. Let the user specify which forum categories he wants to see more than others. A simple toggle-able icon or checkbox next to category or thread would bump it up on the page. Kind of like a sticky, only on client side.
    • Clearer contrast between read and unread threads/posts. In fact, I don't think the "read/unread" system is working properly at all.

    in any case, Scirra has to keep up with traffic and so does its technology. Right now, it feels amateurish, while Scirra is maturing and needs a more professional image. Forums are no exception!

    Just my couple (diamond laced) cents. :)

  • Say you want to select text within expressions, a part of the expression maybe, a complicated name of sound or animation or whatever that you want to copy or replace.

    Typically you would double-click that word. However, a wild issue appears!

    The selection appears to spill over the left quote mark, selecting everything left of the word as well, forcing me to manually select the word.

    Pesky little bug that the life would have been easier without.

  • Yep, idle animations really spruce things up! But be careful not to bloat the game with a sheer amount of animations.

    Consider using upcoming Spriter C2 plugin for that purpose!