jobel's Forum Posts

  • R0J0hound so to go backwards I somehow need antilog right?

    if I start the game out only knowing the masterVol is -7 I need to init the volume bar width to a little less than half.

    what I don't understand is how to reverse the 20*log10(percent) to get the width of the bar.

    EDIT: if the only information I have is: vol(-7) and maxWidth(109) of the bar how do I calculate the actual width?

    in the first scenario the player is setting the volume bar manually so its not an issue but once its set and I save to localstorage the next time the game is loaded I need to start the bar at the width that reflects the stored volume.

  • R0J0hound

    Full volume (1) will give 0.

    Half volume (0.5) will give -6.

    Quarter volume (0.25) will give -12.

    I feel half as loud sounds like a 10dB cut? Is this just me? I have read about using -6, it just doesn't seem half as loud to me.. could be because of my aging ears!

    (I also commented this on the link you posted above, feel free to ignore it.)

  • TIL dBs can kill (which I seriously did not know!)

  • R0J0hound I think its because of how sound is doubled (similar to what ashley said). the human ear can tell the difference in volume if you were to drop 1 tennis ball vs 2 tennis balls on the floor. but it would not be able to tell the difference from 50 balls vs 51 balls. And if it were linear you could be making volume changes and hear no difference at certain points.

    percentages is an interesting idea but I think the percent is still based on a logarithmic scale right? 1-2 vs 50-51 are two different (human hearing) ranges but are mathematically the same - we just can't hear it as the same!

  • The player can set the master volume by clicking on full bar (looks like a healthbar). Wherever they click in the bar I subtract that X from the bar's origin (origin left).

    i.e. full bar width is 109, if they click in the middle I get the value 54.5

    Then I subtract 109 from 54.5 and get -54.5 then I divide that by 5 (why? trial and error) to get -10.9 (which I then set the volume to to make it half as loud)

    Now I need to save the -10.9 to Localdata and init the volume to that the next time they load the game - and that part is easy. But when they look at the master volume bar I need it to reflect the current volume. I know the / 5 part of the calculation isn't exact, so I figure I should ask how to get the REAL value so I can reverse it for the correct bar width. Any ideas?

  • lennaert well you can embed them, just surround the gif link with [img=" " (then close bracket)

  • MP4 videos can be literally 10x smaller than a GIF and better quality, so a lot easier to upload on a slow connection.

    MP4 tech is obviously better because of more sophisticated compression. When I say GIFs are smaller, I mean, when one is referring to a GIF, they are referring to something small, like a short animated clip. You are being overly technical here.

    I think one part that is being overlooked is that (for the creator) GIFs are easier to edit and handle. MP4s are not, they require video editing software, figuring out export settings for optimal quality/size. You have to do similar with GIF but its easier to manage/handle. I've even loaded GIFs into photoshop or aseprite to edit or remove any frame I want.

    Often when creating ANY animated content that I'm attempting to share, I'm trying to maximize playtime/size/quality - you can't just share any mp4 there are limits. So it may not be an issue if Animate exports the most efficient settings. but if I wanted to edit it or change the export size, or cut a few frames, or delete every other frame to speed the whole thing up.... it can be done with video editing software but definitely not as easy as a GIF. And often when you think "GIF" you think shorter/smaller (in frame size) clip anyhow.

    Also GIFs (tiny ones) are excellent for embedding in emails/presentations/slides. Those tiny <30 frame GIFs will probably never go away. There has to be a diminishing returns at some point. Here's an honest question, what is more efficient a 3 frame GIF or those same 3 frames in MP4 format? (I'm actually asking as I dont know).

  • looks really nice!

    you should submit to Tiny Teams!

    yogscast.games/tinyteams

  • Movies don't have to be in 16:9 format either.

    that's not what I meant. You obviously can make video in any aspect ratio but when embedding it or using players it adds black bars to fill out the standard 16:9 ratio.

    This is such a weird back-and-forth conversation, I don't really care about it that much, I tried out Animate and wanted to share what I made, but then had some trouble sharing it some places, so I had to convert it to GIF, then came back here and said "hey would be cool to export to GIF". it was only suggestion!

  • Tiny Martian I'm not pushing, I just use it all the time and Ashley is saying its dead! I thought it would be a cool addition to Animate. This is a discussion.

    I get this ALL the time when I want to share something on Discord

  • not to keep beating a dead horse but, its easier to record, edit, upload and share a GIF on this forum than it is to share a video.

    I use Slack & Discord but don't pay for premium services; GIFs are a smaller files I can upload much easier opposed to an MP4.

    obviously there is a use, especially in the pixel art community. I hand make GIFs in Aseprite! Also there's animated emojis that seem to use GIFs on Slack, Twitch, Discord etc... so not totally dead!

  • This is kind of a tricky thing to explain, but GIF is pretty much dead as a format.

    I would agree however, there are many games that do VERY well promoted as GIFs on Twitter/Discord and help generate wishlists/sales/visibility.

    just perusing through twitter...something like this scene would be nice to have gif export, especially if all the art/animation is made in the game already.

    twitter.com/MrMorrisGames/status/1485993360577937415

    granted you can record the screen and convert to GIF but more cumbersome and harder to make a loop. I use ezgif.com all the time, it has many nice options. I'm thinking about someone that would use Animate regularly, a member of a team that isn't necessarily a developer, it could be of some use!

    at least its something to think about.

  • Splattercat did a nice video on Alpha One, very exciting!

    Subscribe to Construct videos now
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You may not need fart.exe if you add the args when you export it in construct.

    I literally thought this was some sort of spam!

  • I'm looking for a way to automate my C3 to Steam build.

    is there an automation process where I can unzip, run WinIconUpdater, then rezip the contents of the win64 folder?

    I haven't written a .bat file in about 20 years - someone must have done it!