jweickum's Forum Posts

  • I am trying to use families, but sometimes the code works correctly and sometimes they don't.

    Families: Power source, Power Switch, and Power System.

    Power source is overlapping Power system => Turn on switch

    Power switch is on && power source is overlapping => Power is on

    I have a couple different power systems and when I run the code like this it doesn't discriminate which power system is actually getting the power.

    I also want to make a code where when you take the power source off, it turns that respective system switch off, but it turn all the switches off when I use families.

    I have resorted to writing events for each individual switch to make it work for what I need.

    tl;dr How do I make these families work correctly?

    Let me know if you need more clarification.

  • This is how I do it, but there might be a better way.

    HP is greater than or equal to 100 - Set to 100

    (This is a compare variable condition)

    Let me know if you need more clarification.

  • That worked, thanks!

  • Is there a new Intel XDK tutorial? I'm using the old one but when I test, all I get is a white screen saying "Hello, Cordova.". Anyone else have this problem?

    Intel version 3522

    C2 version Latest but can't find the version number.

  • Has anyone ever published to physical CD? If so what did you go through? I'm looking to get a physical copy of my first game so I can keep a history of games I make, good or bad.

  • It looks like either PlayIsDead isn't a global variable or it's a text global. I don't see where you change the variable from "false" to "true". I would specifically make an action where it changes the playerIsDead text from "true", back to "false", not just a reset global variable action.

    Haven't tried it out myself yet, but let me know.

  • It's not really a question for this forum, but I don't mind answering.

    This should work:

    - select the shape you'd like to export

    - choose export as png

    - choose selection instead of drawing

    That worked. Thanks so much!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have been making art in inkscape, but when I export to C2, it all has white backgrounds. How can I make it have transparent? Not even sure if this is something that I should be asking here. Maybe the inkscape forums?

  • You can set the purchase button to a variable. Once pushed, change the variable from, let's say a 0 to a 1. Make the purchase button only clickable when the variable is equal to 0.

    Let me know if this helps.

  • jweickum the .capx is in the link above your post, you just need to delete the spaces.

    I deleted the spaces, got a 404.

  • The .capx didn't work. You can add the file straight from your computer.

    I re-read your problem, and I don't think that the variables, will work.

    Once we get your .capx, then we might be able to figure it out. How are you resetting your layout?

  • I figured it out. Each of the frames gets a frame speed, and I accidentally changed one to 8. Changing it back to 1 seemed to fix the animation loop.

  • I would imagine, you make the fuel and ammo either Global or instance variables. Then have the checkpoint check and remember the instances. The .Capx would make it easier to fix though.

  • I have set a sprite to continuously loop an animation, but when it hits the last frame it hesitates before starting the animation again.

  • Ok I got everything to work, except for the last two events. I don't see what condition to put them under. Maybe I just can't recognize it.

    The last two events (8,9) are set on their own event lines, but don't say what condition they have.

    I put every tick but it doesn't work correctly.

    Thanks for everything.