Kyatric's Forum Posts

  • Use two sprites. Top sprite's opacity set to less than 100, you're done.

  • And to have some games deleted, there is a post it topic in this very forum which title is : "Want your game deleted off the arcade ? Post here".

    For the account, as Zenox suggested, send an email to Scirra's support.

  • TextJam : http://textjam.tumblr.com/ - 20th June to 48hours later

  • See the attached capx.

    It's based on the Pathfinding example provided with C2.

    I added a couple of actions in event 12 to draw the lines, and event 15 is the one dealing with the "drawing of the line as the sprite moves".

  • I'm afraid I'm not familiar with Tiled or the specific settings required.

    I've just quickly tried out to see if their could be a compatibility issue requiring Ashley to know or make some kind of update. Apparently it's not the case.

    Let's hope someone more familiar with Tiled will be able to provide some support to you.

    Sorry I can't be of more help on the issue.

  • Well it sounds like the TMX file is not valid.

    Could you post your TMX file to see if it is working as intended ?

    I've just tried using Tiled 0.9.1 and C2 R173 and import/export of TMX files worked as intended.

    Example TMX file

    I exported it from C2 first, opened it in Tiled, made some kind of level and then imported it back in C2, and it worked.

  • Sales are one thing and are generally announced on the blog or Scirra's facebook and twitter accounts as well as any social media they are present on.

    You can also get licenses through the competitions organised on a regular basis (you're just a bit late to participate to the 2030 competition for example).

    Go to "Make changes to your profile" and be sure to check the relevant subscriptions to stay informed.

  • Well actually, your first example works perfectly as intended, due to how events work.

    I invite you to also check back for anything under the section "Picking" in the How do I FAQ (linked in my previous post).

    When you create an object, only the newly created instance is picked. So Sprite.PickedCount is 1.

    It's hard to see what you're exactly trying to achieve with a single screenshot. I'm assuming you're having several instances of Sprite in the layout, and that's why you would expect Sprite.PickedCount to be superior to 1.

    For it to work, you would have to make sure to have the function executing on a new tick, and especially picking all the available Sprite instances.

    Or instead actually use the Sprite.Count property that will return the number of existing instances of the object type.

    Your second example is just overdoing.

    On "start of layout" only happen once, on start of the layout.

    The Sprite actions "Set effect "SetColor"" apply to the newly instance made with the Create action.

    So in the first example, you see the newly instance getting its new color. And if it is not the color you're expecting, maybe it's because you're assigning the parameter 0 of the color twice, instead of a parameter 2.

    Finally if what you're looking for is "just" applying "SetColor" parameter to a newly created instance, just make a function

    Function CreateSprite

    System: Create Sprite on layer Function.parameter(0) at (Function.parameter(1), Function.parameter(2))

    Sprite: Set effect "SetColor" parameter 0 to Function.parameter(3)

    Sprite: Set effect "SetColor" parameter 1 to Function.parameter(4)

    Sprite: Set effect "SetColor" parameter 2 to Function.parameter(5)

    On start of layout

    Function: Call Function "CreateSprite", 0, 200, 100, 0, 255, 0

    And here you have it. See the attached capx to have a working example.

    All actions referring to an object type placed in the same event and under a Create this object type action will apply to the newly created instance.

  • From the "how do I FAQ"

    [quote:24y74j7k]Understand the picking of newly created/spawn instances since R101 - LINK

    As you've noticed yourself you have to put the "wait" action for what you expect to happen.

    It's because the "Create" action takes a tick to perform, it won't be executed "directly" when encountered in the code, but queued and performed on start of the next tick.

    So when in your sub-event you're trying to pick all sprites, there's actually no sprite to pick, since the previous action hasn't been performed yet.

    Nevertheless, in your code, the "Pick all" sub-event is not necessary.

    If you want to apply a color to a newly created object or change any kind of its properties, simply place the action right after the "Create" action, it will do the job it is supposed to.

    The "pick all" condition allows to reset the picking and apply the actions to ALL the instances of that object type and would be useful only if you have several Sprite instances already placed in the layout in the editor for example plus the instance you're creating on start of the layout.

  • In the "How do I FAQ" you can find this :

    [quote:hiy597h0]TiledBackground vertical scrolling - LINK

    under the section "Scrolling / Camera"

    Is it what you're looking for ?

    If not, you may want to post your capx (attach it to a post) so that we can understand better what you are after exactly.

  • Nar8 Jam : http://itch.io/jam/nar8-jam - 8th to 30th June

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • LowKey Jam : http://jams.gamejolt.io/lowkeyjam/information - 8th; 29th June

  • claralyn07 : https://www.scirra.com/blog/143/the-future-2030

    [quote:3shcq2fv]How to enter

    Build your HTML 5 games in Construct 2, and submit them on NewGrounds.com tagging your entries with the tag "construct2030jam".

  • Women Are Too Hard To Animate, wathtajam : http://itch.io/jam/wathtajam - 12nd June to 30th June

  • By "Alfa" (Alpha I guess) do you mean it is in development ?

    If it is, then you posted in the wrong forum and I need to move it away.