GeometriX's Recent Forum Activity

  • I'd suggest that you assign Bullet an instance variable of "Parent" or something. Then, in the Bullet creation event, the correct Enemy is already picked since it's the one spawning the Bullet, so simply assign the value of Bullet.Parent to enemy.UID.

    Later, when the Player is hit and killed and you want to increase Enemy.XP, pick the Enemy by its unique ID and add to its XP.

    EDIT: Hah, ninja'd by zatyka!

  • Brilliant, thanks ASHLEY.

  • Please remove the calls for the Div and iFrame plugins and re-upload. I don't have those installed.

  • You should always check the manual and tutorials before posting a request.

    Savegame tutorial.

  • Well the other way is we continue to make arbitrary guesses.

    While it's possible that this is a bug, I think it's unlikely. If you're worried about posting your work, save it as a separate file and strip out all your work not specific to the issue. Chances are that you'll find the solution yourself by doing so, and if not, then we have a file to look at that you're comfortable sharing.

  • Must be something in your event sheet, then. Could you post your capx?

  • Ashley, that doesn't work with regular MP4s. They have to be OGVs.

  • For this purpose I highly recommend the LightTween plugin. It'll give you much better control from more specific conditions and actions.

    Either that, or use the Sine behaviour with specific periods and starting points, but that might be a bit more hassle than it's worth.

  • Ah, you should've said that these are loaded sprites.

    In that case, you can't do anything with the sprite itself, but you could create an invisible dummy object that's pinned to the loaded sprite's origin, and set up with its own image points that can be pinned to.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks, JohnnySheffield, I wasn't aware of the extent to which one could use Chromium as a real platform, instead of just a wrapper. I was under the impression that it was just a standalone Chrome.

  • Could you post the capx that you're having trouble with, or a sample? I'll export it on this side and see if I get the same issue.

  • I did some digging and found a solution:

    First, you have to use OGV format video. I don't know the technical details, but that's the only thing that works in Node-Webkit, even though MP4 works in regular Chrome.

    Since handbrake doesn't seem to support OGV, I used this free online service to convert a sample file. EDIT: Turns out that VLC can do this, too, which is a lot easier than relying on an online converter.

    Second, import your video into the project.

    Finally, set up your video as usual. Set the source to videoname.ogv.

GeometriX's avatar

GeometriX

Member since 23 Aug, 2012

Twitter
GeometriX has 1 followers

Connect with GeometriX

Trophy Case

  • 12-Year Club
  • x2
    Coach One of your tutorials has over 1,000 readers
  • x2
    Educator One of your tutorials has over 10,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies