dk865's Recent Forum Activity

  • Update: Now, it's giving me "TypeError: expected function" rather then "expected object" after changing the icon to a SVG rather than PNG, and maybe (I don't think so, but maybe) changing other stuff.

  • Hello everyone! I decided to make a Midi Construct 3 Addon (and plan to publish it for free), and when I try to load Construct to test it, it doesn't work, and gives this error when loading Construct with a red background, "TypeError: expected object" and that's it. I've tried different things for over an hour, and yet the same error. Here is my tree for the folder:

    C:. │ aces.json │ addon.json │ edittime.js │ icon.png │ ├───c3runtime │ runtime.js │ └───lang en-US.json

    If anyone wants to see my files to try and find out what I did wrong, I uploaded them to Github.

    Does anyone have any ideas?

    Thanks.

    -dk865

  • Thanks a lot! Will try!

  • Hello everyone! Again, I have physics on top of Platformer, so that the player (a circle) will rotate when it moves. I have portals, and use the physics teleport to keep the momentum, but when it travels through, I want it to set the movement that happened with the physics to be put towards the angle of the portal, for example if the player goes through portal1 falling at a high speed, and portal2 is pointing up, they will come out of portal2 going up, the angle that portal2 is facing. Does anyone have any ideas? Below is my portal logic FYI:

    + player: On collision with portal1

    + System: [X] Is portaling

    + portal1: Is animation "Idle" playing

    -> player: Teleport Physics to (portal2.X, portal2.Y)

    -> System: Set portaling to True

    + player: On collision with portal2

    + System: [X] Is portaling

    + portal2: Is animation "Idle" playing

    -> player: Teleport Physics to (portal1.X, portal1.Y)

    -> System: Set portaling to True

    + player: [X] Is overlapping portal2

    + player: [X] Is overlapping portal1

    + System: Is portaling

    -> System: Set portaling to False

    Does anyone have any ideas? Thanks.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Thank you so much, you've been a great help.

  • Okay, that'll work! Thanks a lot! That gave me another great idea to basically add what in Cookie Clicker would be called, "Sugar Lumps" Can you help me use the date to first add in coins since suspension, then I'll learn from that. Also, is it possible to only add them in since suspension, and not since the tab was closed, computer shut down/hibernated, etc? Again, thanks!

  • Never mind, I figured it out! Thank you SOOOOO MUCH!!!

  • Thanks! What exactly did you mean with the container, will they both share the same variables, or what? Also, I set it to CoinsDisplay because if I set it to the number, something would go wrong after a while and it wouldn't change the price when the price changed.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello Guys!

    If you recall, I'm making a Planet Clicker game, and thought that some people might want to have it up in the background to give them coins even when they need to switch to something else temporarily (like reading an email for example). I saw a post, but it was from 7 years ago, and Construct 2. I was wondering if it is possible to prevent the suspending when you leave the tab or open a different window on top. I saw in the old post that it would run in low frames, which isn't a problem- all it needs to do is add a variable to another variable every .1 seconds, and every 1 second. I would be okay if it pauses the audio (in fact, this would be preferred) or unloads *small* amounts of data, like unused images and stuff too. Does anyone know how to do this? Also, I have the free version of Construct, and only 1 event left ): I've been looking through and trying to optimize stuff.

    Edit: After clearing some extra homemade special icing off the top of Santa's Cookies, I now have around 7 events left, but don't wish to use them all.

    Tagged:

dk865's avatar

dk865

Member since 14 Apr, 2022

Twitter
dk865 has 2 followers

Connect with dk865

Trophy Case

  • 2-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Popular Game One of your games has over 1,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

8/44
How to earn trophies