WackyToaster's Forum Posts

  • Does anybody know how Terraria keeps such good FPS? There are millions of blocks and water tiles,

    countless particles torches, etc. How did they do that? Any ideas? Thanks.

    This was answered in the thread already. Terraria (most likely) uses chunks and processes everything within those chunks while ignoring everything that is outside of said chunks. So the world is basically active around the player (+some extra) but everything else sort of gets frozen, doesn´t create particles/enemies etc. and thus takes basically no processing power. So yes, there are millions of tiles but it doesn´t matter. Even if you would put trillions in, only a specific amount of them is ever needed around the player.

    Also one should mention that when dealing with huge amounts of things, you will get more out of it when you use C# or C++ instead of javascript, even though javascript is slowly creeping up (especially with WebAssembly)

    In terms of water, I really don´t know how one could do it. I found this though

    youtube.com/watch

    Along with the code

    drive.google.com/file/d/0Byqm4cKYC28xV0M1NTdsNVBUMjQ/view

    I think there is a fair chance that you´d be able to translate this into Events or JS (or webassembly?), though it will likely be slower AND it is not optimized for chunking and such.

  • Good to hear! I´m pretty sure I can reasonably work around the -12k thing if it happens to be unfixable. For the destroying, I also think I probably won´t really need it for what I have planned so I think I´ll be fine either way, but obviously fixing it would be great.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I actually have never seen that before.

  • Well if I had to pick one, it´s #2.

    Containers and Pin? More like Containers and Pain amirite?

    Prefabs are a close second.

  • Return the property in an expression perhaps?

  • I´m pretty sure the app will go through. I also got the email but it still goes through regardless. But it probably will need to be updated to future-proof it.

    Here´s the exact email

    Dear Developer,

    We identified one or more issues with a recent delivery for your app, "Parry Arena" 2.1.1 (2.1.1). Your delivery was successful, but you may wish to correct the following issues in your next delivery:

    ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs . See developer.apple.com/documentation/uikit/uiwebview for more information.

    After you’ve corrected the issues, you can upload a new binary to App Store Connect.

    Best regards,

    The App Store Team

  • If you have nvidia look into shadowplay. Works with construct too and I don´t think it has any performance impact, or at least barely any.

  • Colludium

    Found another odd bug that causes the game to freeze. I think I figured out the exact conditions... that is basically particles that go up and out of the screen and end up on a Y position lower -12000.

    No big deal, I really don´t need them up there actually, I think I can just destroy any particle that goes farther than -5k anyway, far before it gets to any problematic values. But if you come around fixing it I wouldn´t be mad either.

    Or so I tought. Hmm... Maybe I´m just doing something wrong?

    From what I gathered online nobody bothers fixing any of this, at least not from the liquidfun-side :I Maybe you have an idea on how to work around it.

    wackytoaster.at/parachute/particleBugs.zip

    That beeing said, I´m having a ton of fun playing around with it and I hopefully can manage to make an actual game around it :) Btw. is there a way to set the particle density/dampening for individual spawns and not globally?

  • That was quick! Thanks :)

  • I don´t do more than apply some force to it when you press a button.

    wackytoaster.at/parachute/buggy.c3p

    I found that even other objects set to static not tied to the event can just disappear along with the sprite. Really odd.

  • Colludium

    I finally found a reason to try it out but I found something strange.

    If I do this, the Sprite just vanishes. The debugger puts its position on NaN. I actually can get around it by using Force XY instead but I suppose that´s not exactly the intended behavior.

    Also, for Velocity X the description states "The Y velocity" and for Force XY it states Y twice, just a copy&paste oversight :)

    Oh there is also Force at COM that works exactly how I need it. But what is Acceleration XY then? Since it also states "plugin applies a force to the center of mass"

  • Looks pretty cool. One thing I´d adjust are the backgrounds in terms of clarity. Right now it can be a bit hard to judge what is background and what isn´t. Maybe it´s a bit better in motion but generally distant objects will get a blue haze from the atmosphere, especially the mountains/cliffs. This will create more depth and makes it easier to see if something is part of the foreground or not.

    .

  • I have a basic firebase example up for use with javascript. If you have a little knowledge of js or are not afraid to learn something new it should be pretty easy to adapt. The easiest example would be to save everything into an array/dictionary and send the array.asJSON to firebase. Then you won't have to bother with the data structure of firebase and just have a single point of interaction between construct and firebase.

    wackytoaster.at/parachute/firebaseWithJavascript.c3p

  • Looks sick!

  • Heh, I also wanted to do a puppy love clone at some point.

    I tried it and the links don´t work on iPad. Not sure how you could work around it... unless you have some mistake in your events (I don´t think you have since it works fine on android/PC) you should probably file a bugreport.