Sargas's Recent Forum Activity

  • ramones OMG I love you!! :D!!!!

    Ashley, I will try right away!

  • I've done a lot of things that have eased both my problems but haven't fixed them. Reducing the number of objects in my layout diminish the disappearances a lot. Cleaning a lot of "trash" events helped too.

    Remaking the objects and their events didn't do much =(,

    The biggest improvement came from removing the bullet behavior and instead using a custom movement. However even as those things have made the game more "stable" the bugs are still there... I had to admit that I had my hopes up thinking the bullet behavior was to blame. But it's not. objects moving forwards pixels*dt still get increased speeds sometime (maybe because dts aren't always the same? after all the bullets start to gain speed near the end of the layout, never before. I'm 100% of the time a 60FPS though)

    Anyway, as of now, i get the disappearing bug a lot less, though it's still there... bugging me.

    Kyatric You said "It feels there's some loop/over processing in there." You mean I may have redundant events?

  • supergodjesus I'm not really sure we all have the same problem.

    • I have speed problem with all my bullet behaving objects; some move at the setting speed, while some go much faster, this is one issue)
    • And the disappearing sprites don't all have a behavior; 1 use the platform behavior, one is a bullet, another is an animated sprite with several frames and animations, and the last is just an idle sprite.
    • Of those 4 objects; 3 are created in game, and one is present from the start.
    • And my sprites never vanish from the game, they just become invisible, they are still there and working.
    • However, all of them are involved in events regarding collisions. And I've often noticed how interacting can make sprites disappear. Although, not all my collision-related objects present any trouble besides those 4.

    ... And I wonder. How does the collision work? does it have to check every tick or it just triggers on collision? Does the program know which objects are gonna be involved in any collision or does it check for all objects?

    And just for the sake of it; I'm going to make a new version of all those 4 objects, and I'm going to remake the events related to them and see what happens.

  • Ashley, I tested explorer and chrome, with WebGl on and off with no differences. Those are the browsers I have at home, tomorrow at work I will have all of them and will test this more extensively. It doesn't have anything to do to image re-sizing either.

  • dl.dropbox.com/u/20613220/verticalsinetest.capx

    same capx, same steps, same bug =(

    You must fall on it while it's going up to reproduce the bug. And it won't happen 100% of the times.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I hate to say this, but nothing's changed for me neither.

    Ashley I've found a way to reproduce both the problem I'm having!

    Here is the affected CAPX

    If you run the game and you go left (A & D to move) you will enter a room, inside there is a big guy, if you stand right bellow him you'll trigger an event (line 503 in the A1 event-sheet) where an object (boss_bomb) is created and most times it will just disappear mid air. ALSO, as it has the bullet behavior, most times the speed will be messed up.

    [If you make him spawn the object several times (by going away and back bellow him again) the player will get invisible too (player_animations is the object name) Both of these bugs started to affect all of my project since 103. Object with bullet behavior sometimes get their speed messed up. And sprites disappear. And the object boss_bomg has both. here is a

    of what I described above.

    I really wanna help anyway I can to solve this, what else could I do?

  • Thank guys for the nice comments =) I'm really putting a lot of work into it !

  • I made this video of my game

    youtube.com/watch

    At 5:20 you can see the first sprite disappear.

    Then again at 5:33.

    At 6:05 you can see an enemy get invisible when colliding with the floor.

    Another one at 6:40

    I died there, but the enemy at the end throws some objects that get invisible almost as soon as they are created.

  • Ashley, now that you mention it; all my disappearing sprites are created in game.

  • I know i'm just guessing here, but I noticed it triggered a lot often when there was a lot of collision calculations. Some times you could make an object disappear just by standing on it.

  • I'm almost never having this problem anymore. I use to have nearly 2000 objects in my layout, and I reduced to around 800, which seems to have solved it. I'm pretty sure it is a workload issue on the renderer.

    However, this problem, as we've all stated, wasn't present before 103.

  • You must fall on it while it's going up to reproduce the bug. And it won't happen 100% of the times.

Sargas's avatar

Sargas

Member since 13 Jun, 2012

None one is following Sargas yet!

Connect with Sargas

Trophy Case

  • 12-Year Club

Progress

12/44
How to earn trophies