Nimtrix's Recent Forum Activity

  • Hello, welcome to the community.

    It's certainly not because C2's event-driven logic is not appropriate for that kind of game, you can do pretty much anything if you know how. If there are no card games, it's just because no one has made one in the year C2 has been out.

    Maybe there are some examples for Construct Classic? I don't know though, I've never used it.

  • Oh, of course, I see what you mean. I don't think you'll notice much performance drop if it's just a few objects. You could just turn down the opacity in C2 though, no need to do it in PS.

    But I don't have that much experience with mobile, why not just give it a go, and if you experience any FPS drops, you know where to look.

  • I don't get it, why would you want to do that? <img src="smileys/smiley17.gif" border="0" align="middle" /> But yea, I don't see why it should affect performance.

  • You can use the "System: Scroll to position" action and the lerp expression to smoothly scroll the camera between positions.

    Example: ScrollToLerp.capx (r99)

    X: lerp(ScrollX, "X position you want to end up on", speed)

    Y: lerp(ScrollY, "Y position you want to end up on", speed)

  • You can use the distance expression:

    +System - Compare two values: distance(Bomb.X, Bomb.Y, Enemy.X, Enemy.Y) < YOURDISTANCE
    ->Destroy Enemy
    ->Destroy Bomb
  • I figured it out thx

    Great. By the way, I just updated the example, got rid of the anglehelper sprite after I discovered the anglediff expression. (Thanks to Yann)

    It's a bit cleaner now, reduced the amount of events, might want to update your game. <img src="smileys/smiley2.gif" border="0" align="middle" />

  • Haha, ok then, problem solved.

    I did some angle restrictions so his arms can't move 360 degrees while I waited. If you're interested:

    unrivaledneoGame.capx (r99)

  • Seems fine if you use flip, what exactly is the problem?

  • If that doesn't fix it, maybe you could upload a .capx to a filehost like dropbox so we can have a look? Or explain how your player's animation is set up. Does it mirror, or do you use two different animations for left/right?

    Like I said, if that doesn't fix it, I will need more information.

    Preferably a .capx file so I can see what's happening, it makes everything so much easier when it comes to problem solving.

  • Did you check out ramones' example? To me it sounds like it does everything you want except store the total time elapsed in milliseconds, is that correct?

    If it is correct, just make another variable "t" like you have in your case, and instead of the "Set text to timer*1000" action in ramones' example, do "Set t to timer*1000". Now the "t" variable will hold the total amount of time elapsed in milliseconds, and the text will show the time in "min:sec:mill" with 2, 2 and 3 numbers respectively.

  • Try mirroring the arm instead of flipping. If that doesn't fix it, maybe you could upload a .capx to a filehost like dropbox so we can have a look? Or explain how your player's animation is set up. Does it mirror, or do you use two different animations for left/right?

    About the frames, it's generally better to keep things within one object if you can. Like having the weapons in different animations/frames instead of using lots of sprite objects.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • JavaScript's access to the file system on the client side is restricted for security reasons. Apparently you can disable this security manually in the browser, but I'd say that's generally not a good idea, and would obviously only work on your system.

    If you want to try though:

    In Chrome you can run the executable with "--disabled-web-security" or "?allow-file-access-from-files" as a commandline argument, Firefox can disable it within it's about:config.

Nimtrix's avatar

Nimtrix

Member since 30 Dec, 2011

None one is following Nimtrix yet!

Trophy Case

  • 12-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies