oosyrag's Forum Posts

  • Power of two generally doesn't have anything to do with rendering/processing performace, but how much video memory it takes up when loaded, as well as for overall project download size because of spritesheeting.

    I'm no expert though, and I can't seem to find the documentation I recall reading about this previously. Maybe it was a forum post. Someone else may be answer with more detail, but the general advice will be don't worry about it, and you should avoid large images as much as possible and use tiled backgrounds instead to manage video memory efficiently.

  • Trigger once must be the last condition in the event, as documented in the manual and in the tooltip when you chose it as a condition.

  • You want the viewport expressions.

    [quote:29zn3ugk]ViewportBottom(layer)

    ViewportLeft(layer)

    ViewportRight(layer)

    ViewportTop(layer)

    Return the viewport boundaries in layout co-ordinates of a given layer. Not all layers have the same viewport if they are parallaxed, scaled or rotated separately.

  • You may also want to look into the first capx here. I recall there was a thread asking the exact same question a few months back but I forget how that turned out. I'll try digging it up.

    Edit: has another trick you can try.

  • While technically it is possible as described above, it makes more sense to me to design a system around a dedicated host "server" that doesn't participate in the game if you need persistence when people connect and disconnect rather than try to create a system that can migrate hosts - you will run into a lot of frustrating design walls if you work that way.

    The biggest one is upon a sudden host disconnect, even if you managed to get everyone to rejoin, much of the data that the host was responsible for will not be recoverable, and it will be far from a seamless transition. If you can create a system where the host manually hands off the host role, the transition will be much more controlled and easier to work with.

  • Have you read https://www.scirra.com/manual/134/performance-tips?

    The most common limitations have to do with graphics memory, object count, and rendering/fill rate. These can be pretty much eliminated with good design. Otherwise, fine control over memory management is something that you might miss.

    I've seen projects with well over 1000 events... That is generally not a big deal. As I mentioned before, it is all about your design. For example, I can use a single event with loops and a ton of collision checks to slow rendering to a crawl.

    If you dig into the blogs, I recall seeing some example benchmarks for browser performance at some point, those may be of interest to you.

    I think you don't have to worry about compiling, ever. The program generally does a great job keeping you from making stupid syntax mistakes, as far as I've experienced.

    Honestly though, just try it! The free version has more than enough capability for you to try to push the limits of whatever you are trying to do.

  • Didn't mean to leave you hanging. Baby decided he wanted to pop out two weeks early

    Have you made any progress? Also I couldn't open your capx right away, due to plugins that needed installing.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The how events work page is probably the single most important page in the manual for beginners.

    And it does state every event is checked once per tick pretty clearly.

  • Ahhh. See if Graphics Gale suits your purposes - https://graphicsgale.com/us

    Edit: Or JDraw - http://jdraw.sourceforge.net/index.php?page=6

    Your key words for Google would be Pixel Art Software

  • Yes. Actually, invisible helper sprites can be the answer to almost any problem.

  • Actually I added that in for the case where the user is typing and goes past the max and you want to disable the button again.

  • value - len(textbox.text)

    Lower Bound - whatever your minimum is

    Upper Bound - whatever your maximum is

  • Removing backgrounds cleanly isn't always so simple... it is something even graphic design professionals need to do regularly and even then each person may achieve different results in terms of quality. That is why heavier programs like Photoshop and GIMP are used - they offer a lot more tools to do a better job.

    If you're looking for lightweight image editing software, you can try paint.net. But without feathering I don't think you're going to get a great result.

    As for automated software that can do it for you, please let me know if you find anything, I'd be interested as well

  • Yes add another action to that event. One for Set Position, the second would be Set Angle. The angle you want to set it to is Rocket.Angle.

  • After requesting a website, you can use the trigger condition Ajax On Completed to set text to Ajax.LastData, which contains the results of your AJAX request.

    But keep in mind it may not work cross-domain:

    [quote:13vemz2h]By default, browsers block AJAX requests across domains. This means, for example, a game on scirra.com can request other pages on scirra.com, but cannot request pages on facebook.com. This is an important security feature of web browsers (it is not specific to Construct 2 or its AJAX object).

    If you're posting on your own site where your project is located, no problem.