Callan S's Forum Posts

  • 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:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • 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?

  • [quote:rrixuc3e]but I give up it after a leak

    What do you mean? What happened?

  • I feel like airing this idea mostly just to feel it has some room in general.

    I was thinking of a more constructive idea for a shooter. To be honest, I'm sick of killing being some sort of highlight of play. It's not just that it's killing, it's sort of cheering on something that has nothing to do with our own lives. How about we cheer on our own lives in a game sometimes?

    But the principle of shooters is fun.

    So I was thinking of what might be called a diplomacy shooter. Your bullets are actually food and/or money - hitting a target makes it more peaceful to you. Targets don't explode, they go into some sort of relaxed mode and scroll off the screen. You'd go through levels shooting the shit out of everyone with the idea of harmonizing dozens of targets. You beat levels, but its not about leaving hundreds of bodies behind - well, it is, hundreds of living bodies who are less aggressive and more peaceful now. Kind of like the batman games don't involve killing, though it wouldn't be beating the crap out of targets either.

    You might be thinking 'Okay, so it's just a shooter with a different skin?'. Yeah, I was just putting out the idea to feel what room it has in general.

  • The board looks nifty!