Bodhran's Forum Posts

  • Problem Description

    Frame rate drops when playing the game with node webkit. It will drop to around 30-40 FPS then go back up to 60.

    It only happens in node webkit. I have tried disabling the code and enabling to find the problem to see if it was the code's problem but

    the game runs in chrome fine and ran fine before the new node webkit v0.13.0 beta 4 (Chromium 48).

    A link to more people having the same problem.

    Attach a Capx

    My capx is large and almost done and I am having problems recreating the problem with a smaller capx.

    Description of Capx

    N/A

    Steps to Reproduce Bug

    • Step 1 Play the game.
    • Step 2 Wait a couple of seconds then fps will drop to around 30-40 fps then go back up to 60 fps.
    • Step 3 etc. Repeat

    Observed Result

    ____ What happens? ____

    FPS drop then goes back up randomly.

    Expected Result

    ____ What do you expect to happen? ____

    No fps drops.

    Affected Browsers

    • Chrome: (NO)
    • FireFox: (NO)
    • Internet Explorer: (NO)

    Operating System and Service Pack

    Tested on Windows 7 and 10.

    Construct 2 Version ID

    r221

    Thanks for the quick fix.

    Is anyone else having random frame rate drops with the new node webkit?

    I tested in chrome and my game ran fine but when it runs with node webkit there is frame rate drops that randomly happen.

  • I would love to learn about how to get online play to work good.

    I have been trying to get online multiplayer to work with my game but I could only get the movement to work so far. I am having problems with every tick code not working for the peer and if I create sprites in a random spot then it will also be random for peer so they end up not matching each other.`

    Any help is appreciated.

  • Thanks.

    One of the things I missed was using a sprite that didn't already have a glow around it.

    Will this work for other colors besides white?

  • I want to achieve something similar to this game has. The way the lights are and how they effect whats around them.

    I have tried using glow on objects and destination out to create lights but it doesn't look good.

  • Thanks so much. I really appreciate it.

    I really like your behavior. There is a small problem that happens randomly after leaving a layout with enemies that tween then coming back and making them tween then they will become too big. I made a code to correct their scale when they do it but you can still see the enemies try to scale up.

    Whenever your not busy then maybe you could look into it but it isn't anything that needs to be fixed right away.

  • I am having problems when I tween the scale and try to flip the sprite it won't flip.

    I noticed that you said you fixed it before but I am using the v1.3 and I am having the issue.

    FIX 5/7/2014: Fixed issue of scale tween with flipped or mirrored sprites

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for the reply.

    Yes. Something like that might work but I'm not sure how to exactly get it to work with the random generated capx because it doesn't use arrays.

    What would you do to add it in the capx to let the game know what to change the tilemap to?

  • Sorry about bumping so much. I really want to get this working but I am out of ideas.

    R0J0hound Can you help please? You are one of the geniuses of C2 and I am interested if this is possible or if I should stop looking for an answer.

  • Bump again.

    I would appreciate any help. The halls are giving me the most problems with not changing to the right frame.

  • Bump. I feel like I have tried everything I can think of to get it to work but can't.

    I really need this to work to make dungeons look good. If anyone has any ideas on how to get it to work or if it isn't possible, let me know.

  • Any help would be appreciated.

    I have tried to add a different sprites to different image points to the room sprite to change the frames but because of the different sized rooms and halls they don't always end up with the right frame.

  • Thanks for the help but I already know that. I am talking about how to get the sprite or tile to have the right frame you want so they can be for the top, sides, bottom, and corners like in the picture.

    I am not sure how I can get the game to know which is what to make it choose the right frame for the right place like if the sprite or tile needed to be top, side, bottom, or corner frame.

    EDIT: To clarify, it is a randomly generated dungeon so I need something that would be able to change the frames to the right ones where they are needed.

  • I am making a random generated dungeon and I want the sprites or tiles to change depending where they are located.

    Something like this. --https://marketplacecdn.yoyogames.com/images/assets/1595/screenshots/4362_original.png?1425331728--

    I am using the --https://www.scirra.com/tutorials/1112/procedural-dungeon-generation-a-roguelike-game-- capx to start with.

  • I figured out that I had scroll to on the player's behaviors lol.

    It works perfectly. Thanks for the help. I really appreciate it!