Callan S's Recent Forum Activity

  • Ah, I see what happened. The platformer template actually has manual controls written in the code - but they are to support WASD use. I didn't realise the platformer template had it's own control code for regular keys.

    Okay, so I turned it off and you are right, it works now.

    Thanks dop2000, I overlooked that there would be something like this because I kept looking at the events sheet and how it was taking keyboard input and assumed that was the only way it worked.

    Thanks again :)

  • I used the plaformer template and cloned the player, then I am spawning the clone as enemies. However when I use the controls for the player, it affects the clone. For example the clone jumps when I make the player jump.

    Is the platforming behavior not specific to the object? Must be a pain for those wanting to make two player mario clones? I mean it's weird - I am using the template and the code refers to the player object and then to simulate moving on a keypress. Everything else works with a specific reference but here if you tell the player to jump it's sending that to another object with the platform behavior.

  • Also see this tutorial:

    https://www.construct.net/en/tutorials/umber-units-for-exponential-games-955

    Thank you, dop2000. Had trouble getting my head around the dense math of that link and how they referenced the title, but I managed to figure out something (I used an array rather than csv). Seems like I wont need to use a function. Again, thanks for the link.

  • If I have a number like 1256986 I want to display it as 1.2 M

    I need to do this for a few numbers, so I think I need to use functions. But I can't really figure out how to import a number into a function, do string manipulation in the function then return it.

    Any help is appreciated, thanks :)

    Tagged:

  • Check if any layers are set as global.

    I'm not sure I understand? What do you mean?

  • I would have thought just using floor would mean no decimal places are shown. But I'm using some fairly large numbers and they flicker in every so often.

  • Bumping. I'm curious about this - is there an add on out there for this? Is there some trick to getting access to Kongregates API? Surely it's possible, even if in the end you need Kongregates okay to activate the kreds use?

  • I've googled this more than once and I'm surprised at how few relevant responses there are.

    What options are there for implementing Kreds in a game for use when it's uploaded to Kongregate?

  • Thanks for the reply.

    There's more than one bubble.

    In the end I used a 'for each' for each bubble. Then pick instances of the bad guy with a UID that matches the ID the bubble has stored in it (which was put there when it was made and matches the bad guy the bubble should be paired with). Then adjust the bubbles positions.

    This seems to give construct the context needed to move the bubbles around properly.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I want to make a bubble follow after bad guy and I want several bad guys on screen at once, each with their own following of bubbles.

    I've tried giving the bad guy an ID based on it's UID and the bubble has a 'Owner variable' that matches that ID. I've run it in debug and they have the right values.

    But I can't seem to get them together - when I create a second badguy and a second set of bubbles, the second set of bubbles attaches itself to the first badguy, even though it's owner value does not match that badguys ID at all.

    How would you guys do it?

  • Right, thanks for the info. I'm not too stressed about it right now, just a bit surprised.

  • I tried uploading a new image for my game, which is the correct size, since I'm updating my WIP game. But it wont change?

Callan S's avatar

Callan S

Member since 2 Oct, 2015

None one is following Callan S yet!

Trophy Case

  • 9-Year Club
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

11/44
How to earn trophies