Held's Forum Posts

  • No action within construct. The action is happening outside in the dmx-software.

    It's a game, someone is playing. Without any other person there, who is the light-jockey, who presses the key which sets the lights.

  • Thanks for keeping up

    Maybe I didn't explain it right. I try again:

    I don't want to set another key as a 'graphical symbol' which can be read on the screen.

    The whole story is: I want to run a game, programmed with construct, and in that I want to combine certain actions with light effects (with real lights in a real room).

    So I need an impuls which can be picked up by a dmx-application, a software, which can control real lights (on, out, etc.). And this dmx-software can control the lights with key-commands.

    So, my wish in construct is something like this:

    Keyboard - on P pressed - set sprite.xy visible

    - simulate keyboard press O

    Does this help?

    Thanks

  • Don't really get it. Which variable and can I attach a variable to a keystroke?

    Thanks, I'm A beginner

    hELD

  • Ah, ok. I need it for typing, in other words: construct should send a specific key-signal 'outside' which another software, which runs besides construct, picks up.

    Does this help?

  • I need a key-signal for a software parallel to construct, which controls electricity.

  • Hi,

    I need to simulate a keystroke with another keystroke. e.g.: on key "o" pressed - simulate keystroke "p"

    (How) Is it possible?

    Thanks,

    Held

  • Sounds like that might be the problem. For practice, I will try to work it out. If I stuck, I'll provide the capx and be glad, if you could take a look. I will give a report.

    Thanks!

  • Hi,

    don't know, what it means to do it completely in physics. Can you explain?

    But I need physics for upsetting objects (realisticly), right?

    How can I avoid overlapping by code?

    Thanks again.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • little stain: Thanks, it really runs smoother. But, as I wrote, I wanted physics in order to interact with other objects.

    Yes, I do know about the image editor and the ability to set different collision polygons. But thats part of the problem. As I wrote before: "Everything fine, but my problem is the changing collision mask. E.G. from square to circle. I tried to connect the character-change with a change to a different animation frame of the placeholder which has the circle collision-mask applied. That doesn't work, the character doesn't change and freezes."

    The change from square to circle (with the change of the collision masks) results in the game freezes.

    Furthermore: If my characters don't have physics on, they remain straight and don't take the angle of e.g. a ramp they're stepping on. As in your project-file. Check by yourself.

    RandomOutput: Thanks for the "if playing..."-tip.

  • Firstly, thanks for your help! I appreciate.

    I plan, that e.g. the square can beat certain some enemies and the circle don't. That's why I thought global variables and different sprites were the way to go. Is there a way to do that, if I only have one sprite with different animations?

    But even more important: I didn't find a way to change the kind of the general collision mask from "bounding bx" to "circle". So, when I change to the circle, on diagonal platforms it shakes like hell. If I choose "circle" from the beginning it's vice versa. The square and triangle are shaking. I thought, with different sprites and a placeholder, I'd avoid that. And that's the point where my problems began. I think, a command to change the general collision-type would be one solution. But thats not possible, right?

    Thanks for the every tick-hint.

  • Oh, I forgot to turn the "Platzhalter" collision mask back from circle to bounding box. Just made a test.

    The characters have no physics behaviour yet. I deleted that, cause I got even more weird, shaky appearance. Do they need one?

    What doesn't happen, is the changing collision behaviour (not in construct terms) accordingly to the changing of the animation frames and their different collision boxes.

    Hope, I can explain it clearly.

  • Dropbox Link:https://www.dropbox.com/s/wlw5as2g6e37g3s/changing%20characters%20Project%20-%2017_09_14.capx?dl=0

  • Hi,

    I disabled the collision for all except the placeholder.

    I don't have a clue, what joints can do for me in this situation. Can you give me a hint or is the manual my friend?

    Anyway, heres the capx. Hope wetransfer is alright:Thank you.

  • Hi,

    I'm working on a game where you can switch between characters with different shapes (square, triangle, circle) and different abilities (speed, jump strength, etc.). They all should have the physics behaviour in order to interact with other sprites.

    What I did: I pinned the sprites to a placeholder and set the z-order (on pressing c = move circle to top of layer, the rest to the bottom). The changing abilities were also set via the event-sheet. Everything fine, but my problem is the changing collision mask. E.G. from square to circle. I tried to connect the character-change with a change to a different animation frame of the placeholder which has the circle collision-mask applied. That doesn't work, the character doesn't change and freezes.

    Is that enough/the right information? Can anybody help me with that?

    Thanks, Held