Nabu's Forum Posts

  • , thanks ! Did you try the demo ? How did find the trailer ?

    I can't find a way to mention your pseudo...

  • Hello everyone,

    I'm glad to present Ultimate Barbarian !

    Features :

    It's a 2D action game with RPG and Roguelike elements. You are a barbarian following a mighty quest in a classical heroic fantasy world. The gameplay in mainly based on bloody melee battles with a high difficulty and high rewards. There are many taverns across the world map, filled with drunken barbarians, sellswords and poor people looking for help. You can train yourself in arenas to prepare for the greater battles, do some quests to gain gold and magic items.

    Current state :

    The game is available in early access, but we're currently on update 7 and it's fully playable. The three main updates to the final version will add contents like items, weapons, environments and whatever come from the players suggestions.

    https://nabu.itch.io/ultimate-barbarian

    https://gamejolt.com/games/UltimateBarbarian/231622

  • Ok. So I've read topics about Chrome performance and vsync. My knowledge is not sufficient enough to fully understand all of it. But I came across this thread : .

    And found this, said by Solomon : "If windows 7 u need to turn on AERO for the vsync to kick in when in desktop."

    After switching from Classic Windows theme to one of the Aero theme, everything runs smooth.

    I'm a bit surprised though. I've spend many hours trying to find the source of the stutters. Sorry for the previous topic Ashley, I didn't know where to search.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you run it with Chrome, do you notice something in the performance debugger ?

    Maybe it's system specific, but Chrome and graphic drivers are up to date.

  • Problem Description

    There's a lag that occurs approximately every second.

    Attach a Capx

    https://www.dropbox.com/s/qf87ag97hxf1k ... .capx?dl=0

    Description of Capx

    Just a player sprite with 8 Direction and a tilemap with Solid behavior.

    Steps to Reproduce Bug

    Walk around the layout, especially in orthogonal direction because that seems to make the stutter more visible.

    Observed Result

    Regular stutter. In big project it is associated with calls to "Recalculate Style" and "Layout" in the chrome performance debugger. In this project, is it less visible but there are regular frames at 19ms. There are also regular calls to something called "reloadpoll" that appears under network in chrome debugger.

    Expected Result

    The project is expected to run smoothly

    Affected Browsers

    • Chrome: (YES)

    Operating System and Service Pack

    Windows 7 sp1

    Construct 2 Version ID

    r254

  • Ashley,

    I can send you a simplified project via MP, but cannot post here because it's a big project that I can't share with everyone. I provided a screenshot because that's all I have recorded as an evidence of something wrong. Can I send you my project ?

  • Ashley,

    I did many tests to find what cause this on my project and found nothing. I can make a simplified version and send it via MP.

  • That's probably because the enemies are moved with the Pathfinding Behavior directly while having 8 Direction activated. When they collide, the Solid Behavior set their position so that they don't overlap. This may cause the "teleport" problem. You should use the 8 Direction to move the enemies along the Pathfinding nodes (with an instance variable to to keep track of current node).

  • Wo, thanks. I don't have children. May I keep the blessing part for me and get the rest in cash ?

  • I just edited the link.

  • Hello, heres a small example : https://www.dropbox.com/s/xgdj8i1s985op ... .capx?dl=0

    You can surely do the same differently. It shows three way of moving, 8 Direction, Bullet and Pathfinding

    Edited : link updated.

  • Changing origin point for a sprite to do this is not the best thing. Further sprites won't spawn at exact position and you have to test many times to set your sword position correctly according to the shift.

    I suggest you to use the Rex behavior Pin to Image Point for your sword with a image point on your character sprite as dop2000 said and then mirroring your character and the sword should work.

    Link to Rex behavior Pin to Image Point : https://c2rexplugins.weebly.com/rex_pin2imagepoint.html

  • Hello,

    Can you send a small capx so I can take a look ?

  • Hello,

    You should start by looking for the Canvas or Paster plugins to draw something directly. The brushes could be a sprite with brush shapes as animations that you can switch and scale for size. To have different colored zones like your example, you could split a drawing in parts checking for overlapping with mouse,

  • When you do directly in actions :

    • Create instance X on layer A at (x, y)
    • instance X Set Bullet angle of motion to x degrees

    It works too. Is takes into account the last call of "Create Instance".

    So you can do this twice to have two objects with same properties.

    Or do this :

    Repeat x times

    - Create instance X on layer A at (x, y)

    - instance X Set Bullet angle of motion to x degrees