farflamex's Forum Posts

  • Actually I've just realised that pin behaviour never did this. What's changed is, I wasn't resizing my ship at all but due to needing to reduce the clutter heavily, I started doing it. So I need to work out how to reposition and resize the thrusters manually.

  • Strange, because my game allows the screen to be resized and I never had problems with this before. When the ship was resized, the thrusters all automatically resized and repositioned themselves and I never even thought about it. Now they've stopped doing that, I've been looking through my programming for the part which controls this and realised it was just the pin behaviour doing it all for me.

    I haven't actually changed my program at all lately because it's finished, so it must be something to do with the updates. I thought it might be something to do with the on-created thing, but neither my ship nor thrusters have an on-created event.

    So am I right in saying that if an object is pinned to another object with angle and position, and the first object is scaled, the pinned objects should also scale?

  • Put it up on Clay.io :)

    I'd like to see some extra leniency with the arcade submissions as, as it stands right now, the limits will mean some good games aren't featured.

  • I have 4 thrusters pinned to my player ship. Until recently they stayed pinned in the correct place even if I resized the ship, but now they don't. Is this intentional and how do I fix it? Do I need to unpin, reposition and repin them? Considering I use image point to initially pin them, will I have to change that?

  • Unfortunately I can't access the console because it crashes, closes the window and pops up the error reporter. If I pop up the console before the crash (though it crashes almost immediately), the console closes too.

    I should point out that I've worked my way around this now. I'm only reporting it now as it may be some issue that may need to be resolved. But manually clearing my array has solved it for me.

  • Strangest thing.. I went through my program, disabling groups 1 at a time and finally tracked it down. The oddest thing is causing it.. clearing an array.

    If I do myarray.clear.... it crashes Firefox.

    I've changed it to a nested loop to clear it value by value, and now it doesn't crash.

    I should point out that starting a new project, adding an array and doing a array.clear doesn't crash Firefox. Only happens in my project. But when I clear my array manually, I get no crash, so it can't be some effect from the clearing process. Has to be something happening when I use C2's array.clear functionality.

  • Since I don't use Firefox as my main, it has no addons. I've checked that it's the latest version and it is (it's on auto-update) and my graphics card drivers are always up to date since I allow them to update with every new C2 update (did latest one last night).

    Tis a bit strange, trying to work out how to track it down. Will report back if I have any success.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I haven't checked if there's a new Firefox, though I thought it updated automatically. But that's an obvious first solution, although it would be a problem if it was crashing on other people's PC's who haven't upgraded.

    I haven't added any plugins. My game only has 1 (the Spaceship plugin for spaceship movement, which is fairly simple and has been in since day 1).

    It does send auto-reports, so Mozilla will be receiving those.

    I can't think what could cause it. It doesn't crash on other browsers, but what Darklinki says could be happening I guess. Since I always test in Chrome, if it's something that Chrome looks out for, I may have made a coding error that's causing an infinite loop.

  • Yeah it's strange, I think it may be due to the size of the file or something. Having said that, it currently is crashing in Firefox which I hadn't noticed (only started recently) and there is a bug with the keys locking in IE. Now Firefox and IE are probably 25% of users, and if 25% of users came across those issues, that's like 100 people, which is enough 1 ratings to wreck it.

    I'm trying to fix those issues (I think the browser does lock on Kongregate if you lose focus, so I just did a refocus which seems to have fixed that), and then I'll repost it.

    Nobody actually said they didn't like the game, they just complained about the bugs. So if I can re-release it without the bugs, hopefully it'll do better.

  • Good idea, added that :)

  • If anyone is looking for a free, tileable 'smoke' or 'fog' image, this is one I created myself. Create several tileable backgrounds, with opacity set to 30 or so and have them drift slowly in random directions and it's fairly effective.

    Smoke

    You can see it on my game Korelos, here...

    Korelos

    Red on the title menu (using setcolor, so you won't see it on IE). Other colours if you visit different planets (e.g green at the green gas giants). If you want it to show up in different colours on all browsers without using Setcolor, I guess you'd have to have different coloured versions done in a paint package.

  • My game is crashing when I preview with Firefox, but there are no indications as to what might be causing it. It just crashes and says it's sending an error report.

    It doesn't do it in every project, so something in my game is causing it. It is a very large project, but I haven't tested it on Firefox for a few days (it was working fine before), so something I've added lately must be causing it. It works fine on all other browsers though.

    Has anyone experienced this and is there any way you can track down what's causing it?

  • Well in fairness to myself, I stress-tested it heavily and it's completely bug free. Or at least, I thought it was. What I didn't and couldn't account for was bugs being introduced on Kongregate. The only way to do that was to release on Kongregate and that's when the bugs appeared.

    There are a few IE bugs which I should have spotted but that's not what happened. It just doesn't work on Kongregate and I still don't know why.

    The people there do seem to have the same impression - that I'd simply released it with lots of bugs, but that's not true. It's running bug-free on my machine and on Clay.io and I put lots of work into clearing up bugs.

    It's a learning experience, but I have to say I still don't see a solution for Kongregate. Since the only way of finding bugs is to release it, what else could I do?

  • Here's the link to Ashley's explanation I was talking about ...

    scirra.com/forum/r102-breaking-change-questions_topic56576_post352637.html

    It's hard to explain right now why this was such a major issue but it was. On some occasions you can use 'On created' as a simple solution but when it's not suitable it's very hard to work around. If you search topics I started, you'll see I came to the forums several times stuck on it :)

  • Thanks guys. I am aware of course that programmers tend to be much kinder to other programmers. Even if you see a bad game, you're far more likely to appreciate what the guy is attempting to do and give encouragement. Whereas gamers are just being brutally honest. In this case, the problem was that they said the game was bugged. It seems that if you have a bug, you get a 1/5 rating and that wrecks your chances. I'm going to see if I can work out what bugs they're seeing and try again.

    The issue I'm talking about isn't anything to do with large projects, it can happen at all levels. Let's say you create a bunch of objects in an event, then in the next event you want to manipulate it, you can't do that. It's hard to explain, I'll direct you at the post with Ashley's explanation, but for me it was a serious obstacle and I spent several evenings completely stuck because of it.

    I should say it didn't actually stop me completing the game or limiting what I could do. It was just very hard to work around.