Yung's Forum Posts

  • Hi guys,

    I am facing a problem with instance variable, with families. Basically I have a bunch of sprites, and each of them will inherit a family variable, in this case, Health.

    What I want to do is then for each instance of the sprite under this family, I would like to customize their health variable, then add them ALL into another family variable called Totalhealth.

    For some reason I can't do this without specifically doing it one by one. Is there a smarter way to do this?

    I have provided a screenshot as well as the capx.

    Thanks alot!

    <img src="http://i3.photobucket.com/albums/y94/Velsthinez/privateVariable.jpg" border="0">

    https://www.dropbox.com/s/liwaob2e8w9xwni/privateVariable.capx

  • You do not have permission to view this post

  • I checked your capx. Basically your cube is falling indefinitely. Try creating a temporary sprite as floor, and give the sprite the Solid behaviour, then you can jump once the sprite touches the floor.

  • Is there currently anyway for me to import or export image points per animation frame? I noticed the newer Construct update has the ability to type in the image point X and Y coordinate, so I was wondering if there's anyway I could automate this?

  • ahh....that's......very disappointing. I guess photon for C2 is out of the question for a while.

  • TPorter64: Yeah he is more like a skating robot, though I might change it to a space floating robot soon :D. And thanks for the suggestion, I'll try to implement the thrusters.

    WilB: Thanks, mate!

    DasbilligeAlien : Thanks for the feedback. Yes I do agree the rocket, though powerful, it's currently useless. I merely included the rocket as I was bored with just shooting the default pew pew gun. I will try to add the area of effect in.

    Erndog2k: Thanks mate, I will also consider changing it to some other name.

  • Thanks for the comment, zsangerous. Yes I planned to do something with the health, right now most of stuffs are very rough but it's to illustrate the main idea.

    I will definitely add more types of enemies as well.

    Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'll look to adding Rightclick for slowdown and maybe changing the rocket to a selection.

    Yeah, I should probably plan a proper Menu. It was done a rush to show a friend who is helping with the UI and Menu design.

    Thanks for taking the time to test!

  • Lol, did that really happen? Those last two are empty placeholders....characters and option shouldn't do anything.

    I should probably hide those for now

  • I've managed to stop that bug from happening, but I noticed there's a new bug.

    Anyway to fix this problem, just switch off 8Directions' Set Angle to "No"

    You don't want it to rotate, especially if you set the Origin to bottom.

    The other bug I noticed is when you are in Platform, lets say you move right, then you just and immediately press Space, then walk left, Once you let go of space, the sprite will 'slide' to the right. It somehow remembers the direction of the previous behaviour.

    Here's a capx if you are interested.

    Hope this helps. <img src="smileys/smiley1.gif" border="0" align="middle">

  • Ashley : Much thanks! I was about to send you a PM!

  • that's exactly the bug I've faced. Try turning the Player sprite to visible, you will see that's teleporting randomly, thus sometimes causing the flutteryshy to appear to float.

  • Sadly none that I know of in Scirra, though I might have missed some. Try searching the forum, or you can Google for it, since Construct 2 is html5, some of the technique could be applied.

    Best of luck!

  • Well for simple prototype I usually just Text object and set it to

    • > every tick   - set Text to "Score : " & Score

    I guess the proper would be later to create a sprite animation, set to static, and just changes frame depending on the score.

  • Instead of setting the origin of the sprites (fluttershy), instead assign it to the bottom for the 'Player' as well as fluttershy. This way, all animation's contact point is consistent.

    One bug I noticed with your game right now is in the Flying state, your player will randomly teleport, so sometimes it causes problems later when the player runs out of stamina and lands back.