AnD4D's Recent Forum Activity

  • I'm also looking for info about this.

    My game has multiplayer, and it grabs the user's Steam name. No idea how I'm meant to do this with Epic or GOG.

  • I know I can do it by keeping track of who joins and who leaves, but is there a particular reason I can't just grab this data from the multiplayer object?

    If I look at the multiplayer object in debug at runtime, I can see a list of the connected players... so why can't I access this data from there?

    Tagged:

  • Might be able to help if I could see the code.

  • You do not have permission to view this post

  • This should be pretty simple, but I'm struggling somewhat.

    Say I have audio of a crowd, which I have split up into 5 different audio tracks.

    This is so the game will randomize which parts of the crowd to play, so it doesn't simply sound like it's on loop.

    So I have Crowd01 with a "Crowd" tag play at -100 vol, then fade in to 0 vol over 1 second.

    I then have another event that checks the current position of the track, and when it detects that it's 5 seconds away from the end, it will fade out over 5 seconds.

    This all works fine.

    The problem codes when I want it to then play another Crowd tag, and have that fade in while the other tag fades out.

    When the process loops, and Crowd02 starts playing, and the code tells it to fade in, Construct tells both Crowd01 and Crowd02 to fade in, which overwrites the initial fade out.

    The only way I can think to remedy this is to have each audio track have a unique tag, which increases, so I don't repeat the issue.

    But this seems incredibly stupid. Why don't we have a fade in/out option when initially playing the track?

    Am I missing something simple?

    How would you fade out audio?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • That's weird... it's just on onedrive...

  • I've always struggled with Parsing JSON.

    Can anyone teach me how to use it properly? I've needed to brute force it when I've used it in the past, but it seems unnessarily complicated.

    I have included a file which I'm trying to teach myself with:

    https://1drv.ms/u/s!AlZkRk7KfdFFjYg8ikDp9N57jk-b5g?e=pzELE3

    I've been trying to get my head around it on and off for the past couple of years... and I truly hate it.

    No idea why it's designed the way it is. I've tried looking at the example about books, and that doesn't help in the slightest.

  • No. Only if you choose to disconnect from the room or server.

  • Can anyone tell me roughly how large a save state in Construct 3 should be?

    My game is pretty small, but when I save the main menu, the F12 console shows:

    Saved state to storage (753368 chars)

    and when I save the main game, it says:

    Saved state to storage (1723333 chars)

    Is that far too much?

    I only started looking into it, as I'm getting moments where the game appears to fail to load, but still loads. So that game is loading the save file, but not triggering any of the actions associated with "Load Complete".

    No idea if this is a glitch, or something I've done wrong.

    Edit - Interestingly, I have to set up an event that reads on "Load Failed" do the actions, and it works, albeit in a weird glitchy way.

    Yeah, my vote is for bug.

  • One more possibility to consider: does your tilemap exist on the layout in the layout editor? If it doesn't, the texture needs to be loaded into memory on creation, which may result in a visible delay.

    Why are you using a tilemap to black out/fade in instead of a layer background, sprite, or tiled background object?

    Having it on the layout seems to have fixed the issue... I hope.

    My mistake, I actually meant tiled background. It's a solid black.

  • This isn't a problem when I create a sprite at the start of a layout, so why is it a problem if I create it on load?

    I'd have thought the two would be relatively similar. My use case is a prime example of how one works and the other doesn't.

    There should be a single frame pause before everything is rendered.

  • oosyrag But I want it to save the game at the end of each turn. If I create the tilemap when I save, I'll instead have a black tilemap appear constantly.

AnD4D's avatar

AnD4D

Member since 4 Nov, 2011

Twitter
AnD4D has 3 followers

Connect with AnD4D

Trophy Case

  • 13-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

20/44
How to earn trophies