zyblade's Recent Forum Activity

  • Hi,

    I've set up a player with a few bones. Arms and head moves with the mouse(angle). He got a weapon that is also a bone. If I want to attach something to anything that belongs to the bone behavior(set position to "sprite") and I move via platform behavior too fast, it lags. If you jump, the bullets lags a few pixels above or underneath, depends if you jumping or falling.

    Here is an example: https://dl.dropbox.com/u/26932498/bone_behavior_lag.cap

    The torso is attached to the hitbox, the arm is attached to the torso. The weapon is attached to the arm. I can fix the lag, creating the bullets on an imagepoint from the hitbox, but in my engine, the arm is moving with the mouse and have lots of functions how to behave etc(the cap here is just a fast demo I created to made my point clear)..., so the imagepoint of the weapon is needed, because the weapon is moving with the mouse.

    Is there any way to fix that lag between the weapon and the spawned bullets if you move to fast or jump?

  • First, I didn't read all of the text.

    But I would make a LOS sprite for the enemy and put both in 1 container^^, yes I know, I just like containers...

    And then, if LOS-sprite and player overlaps, enemy:do some action?

    Since they in one container, it picks already the right enemy?

    Maybe I'm totally wrong cuz' I didn't read all of the text, but it was worth a try :)

  • Nice, finally the start of the engine :P.

    When you sort the sprites, do you separate the ground layer from the other objects? Couldn't find my way in your cap yet^^ Do you later implement real isometric sorting, or just a workaround? I hope this is getting a big engine :)

  • No problem, the container makes it just easier to pick if they're more than just 1 hpbar/enemy^^ But you can do it without using the container. Hope to see some demo in the forum of your game. ;)

  • I just recognize that thread here and it's really sad, I didn't found/commented it yet ??.

    Better late than never! This is a really good example game of massive tutorials in there and it's that usefull, that I don't feel ashamed to raise it back from 2011^^ Because even nowadays, user ask for things, that are described and commented in that game. Thanks Tulamide^^

  • Also, many users don't use the search function or ask google.

    After 20 seconds of seeking I found a thread, where tulamide points to his game "verve".

    It might get boring that I point to my example Verve! all the time. But I really made it to cover as much as possible to show ways to realize things. Of course, Verve! also features a hiscore, complete with sorting algorithm and auto-save. Have a look at it, every single event in Verve! is extensively commented.

  • Oh, I know what you mean. I got 2 solutions. First requires one hp bar for each different kind of enemies. The second is one hp bar for all enemies.

    1. Make your enemy, make your hpbar. Click on the enemy, left is your properties bar, seek for the container option and add the hp bar for it.

    If you spawn your enemy, the hpbar will spawn also, linked tot he enemy.

    Make a private variable "hp". And then:

    "condition when player hits enemy:

    subtract 'value' from enemy('hp')

    set hpbar.width to (100/enemy_max_hp) * enemy('hp')"

    Replace the 100 for the with of the hpbar.

    2. I'm not sure with that one. I would try a "for each" loop.

    For each family(enemy):

    condition when player hits enemy:

    set hpbar.width to the private variable 'hp' of the family, again like in step one, with the rule of three.

    But I'm not very sure with this one^^. Someone has to reply/improve/add this one, so that it's right

    ps: I'm not one of the advanced users here, this the way I would do it, maybe someone else has better solutions :)

  • Great trailer Wolod! Music is also good. Looks so easy, when you see the trailer, but I died so often -_-' xD

  • Very interesting, that I am not the only one, who didn't know about that function^^ Thanks R0j0...somehow that sounds corny, maybe because I used that exact phrase too often <img src="smileys/smiley36.gif" border="0" align="middle" /> Dejavu like o.0

    Should make a macro for it.

  • Nice solutions, on both examples.

    tulamide could you explain, how that "isolated" stuff works oO.

    I see 'that' it works, but even after reading the wiki, I didn't get it 'why' it works ><.

  • The only one who made something similar was tulamide:

    http://www.scirra.com/forum/advanced-interpolation-splines_topic49366.html

    But I didn't manage to "close" any lines to a form. You could ask himself.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
zyblade's avatar

zyblade

Member since 22 Mar, 2011

None one is following zyblade yet!

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies