MrMiller's Forum Posts

  • You could use the Wait Object. Here is an example:

    1. First event should be: On Collision between Sprite A and Sprite B

    2. Create a sub-event to the first event. It should be:

    Wait Object Delay 5000ms ----> Sprite A: Destroy

    Here is a cap of it: mediafire.com

  • Yep, as Scidave suggested you'll have to dive into language programming for that. But if you decide to stick with event-based programming in Construct, here is how you would jump to a webpage with a browser:

    ->On left mouse button Clicked --- File: Execute file "http://www.scirra.com"

  • Thanks Spider_hip!

    Your example showed me my misstep perfectly. I kept thinking I needed a deactivation of one of the variables rather than just having counter conditions inside the group like you showed. I'm not sure why I thought it needed to be different from the other group, I guess I was over-thinking things.

    I'm going to post the events of #1 for sharing soon, and I just figured out #2 as well and will post those events too.

    Thanks again!

  • I've made a simple soccer game with physics and pretty good AI and it works well... but that was the easy part, lol. However, I need to make some selection menus (without drop-downs or collision-based events). I've done menu's in Construct like the ones in the tutorial example thread many times before, but I want to do something a little different than those and I haven't been able to find an example that fits what I'm trying to do.

    I could very easily put each selection on its own screen and just send it all to separate global variables and it would work fine, but I really want to keep the number of layouts slim.

    I want to make 2 types of menus:

    1. This first one is common to most video games. I'm trying to make each setting field move independently of each other. So for example, if I pick 1:00pm for my time of day, I'd be able to press the down arrow and pick Snow (or something else) for my weather and cycling through my weather choices wouldn't make my time of day choices cycle at the same time like it's erroneously doing in my .cap (see .cap below).

    Then from there I'd be able to press down again and select my Game time (game time would be based on minutes like 1 minute, 5 minutes, 10 minutes, etc.), then press enter and go to the soccer field.

    What my basic problem with #1 is: I can't seem to move up and down between settings fields and make only one field cycle at a time. Right now when I cycle through, all of my fields cycle at the same time.

    My .cap: mediafire.com

    2. The second menu is common too. It's a 2-sided team selection screen. Like this: <img src="http://img11.imageshack.us/img11/9273/cricket0720110914121325.png" border="0" />

    I want to have 4 teams that can be selected, with both sides being able to select only 1 of the 4 available teams. So on the right you'd be able to cycle through all 4 teams available and pick a team, press enter to select that team. Then on the left you'd be able to cycle through all 4 teams available, pick a team, press enter and then of course you'd go to the next layout.

    Any would be greatly appreciated :)

  • ^^ No luck :(

  • ^^ Yep, I used the rectangle select tool in Gimp to select the area, right-clicked, selected "copy", and then tried to paste into Construct's picture editor, but no luck.

  • ^^ The computer I'm on right now has Vista. The test was done with a single layered pic, worked in MS Paint, failed in Gimp. Strange. I'm going to do some more testing with different programs and OS's and see what happens.

  • Works using MS Paint, so you're right Somebody, it must be a shortcoming of Gimp. Thanks for pointing that out.

  • And if you try the same in, say, Paint?

    I'm using PS and Paint.net and it work just fine. I suspect Gimp doesn't play nice with the standard Windows image copy/paste format.

    That could be it. I'll try it in another program and report back shortly.

  • When I do that it doesn't do anything. I right-click inside Gimp, then I select "copy" to copy the image. Then I open the Construct Picture editor, select the paste icon, and it does nothing.

  • Is it possible to copy an image from another image program like Gimp or Photoshop and then paste it into Construct somehow? I've tried this but it has never worked and I've just assumed it's not possible, but I want to make sure.

    I'm using Construct Classic 1.2, by the way.

  • Hmm, maybe make seperate parts for the car and then hinge them together. On collisions, remove hinges until the parts completely fall off the chasis.

    The physics object would go nicely with that.

  • Construct is better designed than MMF2 in so many ways. Subevents, for each loops, changing display resolution at runtime, better zooming, better bilinear support, better alpha channel support, event sheets can be included within another sheet, you can "read" events you're not just looking at check boxes, that's just some off the top of my head.

    Yeah, MMF2's clunky old event system is the one reason I just can't stick with it. I understand it, I just hate it, and I'd bet that this alone is the biggest roadblock to new users getting into and sticking with it.

    When Construct was built, the devs here had the right idea; create an event system that can be read and interpreted at-a-glance. It just makes perfect practical sense and should be--in my opinion--the standard for this type of dev tool. The other approaches (checkboxes, building blocks, pull-down menus) all look good visually, but in practice they lack that conversational-style translation that gives your events a smooth, organized flow.

    I agree that going to a competitor's site to do missionary work is not a good idea (not saying you were doing that bobwaite1, as I didn't see your post on the ClickTeam forum, I'm just speaking generally), at the same time you have to wonder what's behind Jeff's response with "Due to some issues with the developers behind construct". I just find a company saying that sort of thing outside of their offices as unprofessional. That part wasn't necessary and he should've kept that to himself.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Just curious, but couldn't a similar thing be done in Construct by using blank sprites for the limbs in Constructs bones animator, and then importing the filled sprites for each limb at runtime using Loop Index?