shinkan's Forum Posts

  • Oh, just realized I never introduce myself (how rude)

    +Scirra: Is Registered

    • > System:      Wait 3 years and 3 months
    • > Forum_Text: Set text to "Hello :)"
  • Thanks guys. Ashley is there a way to check how much memory current game is using?

  • To be honest best solution would be to revert C2 to R78, or wait until Ashley figure it out that unlucky 79'er :/

  • I think I can agree with that, HTML5 develops really nice and fast.

  • Same bug? Thought Ashley fixed that in R79.

  • ttp://www.businessinsider.com/infographic-html5-games-vs-flash-games-2012-1

    Well that's kind a strange comparison IMO, Flash been here for many years now, HTML5 (especially games) are quite new technology.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Wondering what's better for performance.

    I'm starting to work on my animations for my game and since I could not find any info in manual or the forum I thought I ask.

    Currently I have a sprite with event:

    -lerp size,

    -lerp opacity,

    -if size = something -> lerp to different size and opacity

    • and so on..

    It's all good but I start to think, what if there's 100 objects like that. Lerping different values at same time.

    Does using an animations instead of that would be more efficient at runtime?

    In example, rather than

    +Mouse: On left button Clicked on "Sprite"

    • Sprite: Set width to lerp(self.Width,100,5*dt)
    • Sprite: Set opacity to lerp(self.Opacity,0,5*dt)
    • and so on...

    do:

    +Mouse: On left button Clicked on "Sprite"

    • Sprite: Set animation to "On Click"

    I'm aware that changing lerp to animations will increase significantly files size in the project due to adding more images to sprite required for animation. But let's not take memory into account and focus on performace only.

  • we hope to add the folder view to the event sheet dialogs in future too.

    Been waiting for that since CC ;)

    and in some spare time you could add "Show in editor" (like in CC), not every object needs to be visible in Event sheets. :)

  • Yeah, there is something wrong with that r79. I can preview and export but can't press any button on keyboard after exporting - on preview keyboard works.

  • Ahh, I'm sorry. My fault, It is working. Found an expression disabling that group constantly in my events...

  • I have a text variable "TXT" set to "" (empty)

    and few groups Group A, Group B, Group C

    and few instances of same sprites with different variables.

    My setup is quite simple:

    Mouse: Cursor is over sprites -> Set TXT to "sprite.variable"

    Mouse: On click on sprite     -> Set group "TXT" Activated

    everythings pretty but I can't find the way to pars text variable TXT value to the "set group active" expression.

    strange but setting it like """" & TXT & """" returns "TXT", but don't works with group :)

  • Better for you than changing layout would be to make one big layout with seperate windows menu and then just scroll around the layout...but it's still a crazy idea :D

    but for menus there are a lot of options. For example make sprite with different frames setups - frame 1 - help, frame 2 - exit...

    You could even make objects visible/invisible depends on their actual state. But changing layout it's not a good idea.

  • That's perfect, thanks You Kyatric

  • Kyatric is it possible to make a delay in loops?

    ie.

    For "loop" 0 to 3 - will make 4 sprites instantly

    i'm wondering if it's possible with loops to do it like that

    creat sprite -> wait 1 second -> create sprite - > wait 1 second ->

    and also, thanks for showing me nested loops, example is always better than plain text explanation in manual, thanks a lot