farflamex's Forum Posts

  • EDIT : Sorry, already realised myself that I can do object UID = family.UID to get the object. Not sure if that's going to be a performance issue when looping through all of the family but I doubt it.

  • I've just noticed that I can't add a container to my family, so I need to add the container to the object itself. When cycling through the family of objects, I therefore need to have a pointer to the object so that I can get the other object in the container. Any solutions?

  • Oh right, I was trying to do it through the web-site, maybe that's the problem. I'll install it.

  • Click a folder, click share, click copy link? Is that it, the share location? If I right click a folder and copy the address, I just get a www address and if I copy that into the C2 backup link, when it tries to back up, it freezes and I have to alt-tab-del to shut down C2.

    This was much easier before on the old Dropbox window. Then again, I also knew how to use Dropbox. It feels like something that's been designed for Xbox or something now, i.e for people without a mouse.

  • Thanks. The problem I have is that Dropbox is now completely confusing to me. All I see is a list of my files and the only way that I know how to use it now is to drag stuff into the window. How do I get something like a file location that I can copy into C2 for example?

  • There used to be a tutorial for this and I had it set up before, but can't find it now and it seems fiddly and the new Dropbox is just plain confusing. Can you still auto-backup and if so, how, or is there still a tutorial?

  • Thanks, those both work. I'd forgotten that IID actually keeps a sequential list and I believe I'm right in saying that if objects are destroyed or added, it maintains a sequential order, so it was just a case of keeping a global counter and counting up until I hit the count. Fairly simple in the end.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Trying to think of an elegant solution for this. Each frame, I only want to pick one family member (it can be random or sequential, doesn't matter), but I want to pick them all once before I start again fresh. I want this to be as fast as possible. So the simplest way I guess would be to somehow cycle through them, but I'm not aware of a familymember[index] type solution. Or otherwise, set a bool as false, pick one with a false, set it to true until all are true and then refresh. But that sounds slow.

    So I'm looking for.....

    Every Tick - Pick a random family member that hasn't been picked. Work with that instance.

    When all have been picked once, refresh and start again.

    I suspect that I'm missing something obvious or built in, but I've been away from C2 for a while and I can't think of anything.

  • Thanks guys, cracking stuff

  • I have a spaceship, viewed from above. I want it to turn towards it's target (done that part) and then speed up (done that part) to a maximum speed and then slow down so that it lands on (or near) it's target. It will have different deceleration and top speed values, so it needs to be done mathematically rather than tweaking numbers in my code until it works.

    So the trick is to work out the distance at which it begins to decelerate. I've checked a few posts on other forums but haven't got any of them to work. Anyone have experience of this in C2 or know how to get it working?

  • Hey, I'm not complaining, nice that someone noticed my game

  • https://www.scirra.com/arcade/other-gam ... -star-5044

    Please note - for ZX Spectrum fans only. If you never owned a Speccy, this game probably won't make much sense <img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz">

    Just published this to the arcade. It's not complete, but is playable.

    The basic idea behind this was something along the lines of 'Software Star' (a game for the Spectrum), where you play the part of programmer, making games within the game.

    In short, you choose a Spectrum game to play, then score points in the mini-game that follows. This builds your own project, which you can eventually release for points.

    As far as I know, the images aren't copyrighted (the Ultimate games might be), since they're all from the public domain anyway.

    I know the game is quickly repetitive due to only 3 mini-games, but any other thoughts or ideas would be welcome.

  • Ah thanks, I didn't think of that. Went and did it manually in the end, only took an hour :p

  • Ugh, looks like even my backups and older backups have been saved in version 2.15 at least and aren't working correctly. I might have older backups, so I'll rummage around.

    Only other option I think is to manually alter every instance of the variable? There's no search / replace?

  • That sounds like a good idea. Any idea how I could find out when this was added as a system variable so I could find the correct version? I suppose I could just trawl through all the update news.