Paradox's Forum Posts

  • Put a "wait 0 seconds" above the actions in Event 2.

    The toggle happens, and the next event toggles it back off.

    The wait makes it toggle after the tick is over, which is after the second event.

    My preferred toggle is:

    If the frame = 0 the statement in parenthesis is true meaning it equals 1. 1 times 1 sets it to frame 1.

    if the statement is false, (=1) 1 times 0 sets it to frame 0.

  • Can you add "Trigger once while true" to the event?

    Or maybe check to see if that one is already targeted.

    The variable may be easiest to implement.

    (Another thing mine had in that game; they were bullets, so I was able to check distance traveled, which let me time them out when failing to catch the target.)

  • That sounds like it's just an error somewhere, since it works with one. But it's hard to find an error with just a description.

    Can you make a stripped down version of just those routines to upload? (you may find the problem when you are stripping it down. Which happens a lot.)

    My off the cuff plan of how I'd do it would be to:

    1. Have the player mark each of the enemy to target.

    2. Then "for each" on the marks, so it will cycle through each.

    3. spawn a missile and give it an instance variable to hold the UID of it's target.

    4. as the missile flies have it turn 1 to 3 degrees toward the target until it hits something.

    I did missiles like that in Orbital Bomb Bounder, and I believe I had a sine affecting the angle, so they wobbled a bit in flight.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Bear-o-meter (barometer) sounds like it should be for how wet the bear is.

    That is a beautiful (bearutiful?) game, can't believe you did that in 3 days. Congrats!

    My first platform game was going to be Scuba Steve, similar to this with less on land. (walking was going to be funny with flippers) I've never actually started other than a character and some particles though. Your's is much better than what I was planning.

  • In Photoshop if you convert to grayscale mode, them convert to Bitmap, it will let you set the threshold at what light shades turn white and what dark shades turn black. It defaults to 50%.

  • DatapawWolf

    You could also load the resulting PNG into a photo editor and reduce the color down to just one color.

  • Could you leave all the 2nd layout objects off the screen, or cover them with a "Loading" image until loading is mostly done?

    Use preload on sounds, and check for "Preload Complete" on sounds and music, then start the level.

    Construct2 isn't supposed to start the layout until all the images are loaded, so that shouldn't be it.

    (However if you have a long song that downloads slow, it could hang the game awhile. So you might have that check time out if the song doesn't load.)

  • I've found I am already logged in when I arrive, the last couple times. However I went to the arcade, and it said I wasn't logged in, so I click the login link and it takes me to the main site page, where I'm already logged in. Clicking Arcade again, it's not seeing it as logged in.

    Just noticed my avatar did appear in the recent players list, so it is registering on some level.

  • I haven't tried yet myself, but isn't the new pong example basically each player on their own half?

    That's how I would approach it. Now scrolling each separately might get tricky, there are some threads though..

    ninja'd

  • Great to hear! I should have thought about the speed scaling, I bet that looks good.

    It's always gets a lot more complicated once you squeeze it in what you are doing.

  • I simplified it as much as possible so that it was easier to understand and complicate back up to the actual situation.

    1/480 is quicker to comprehend you are dividing the screen into a fractional size that you use as the steps in size. Avoiding all the complications like parallax, window height, and fluctuating numbers that cause flickering when sitting still.

    (also why I left 0.5 out of the 1st example.)

    (ScreenHeight is actually a Browser expression: Retrieve the dimensions of the entire device screen. This is the complete display area available to the operating system.)

  • Try "Set Scale to (1/480)*sprite.Y"

    480 being the set screen height.

    Or "Set Scale to 0.5+(1/480)*sprite.Y"

    so that mid screen is scale 1, original size.

  • Heh, yeah you found a glitch there. I thought it limited the height to 800, apparently not.

    There is a new Arcade in the works, but I don't think there's a timeline set yet on it's completion. Apparently it was put on hold for the Forum upgrade, which I'm sure was required because of it's interactions with the User accounts.

    New Forum:

    http://www.scirra.com/forum/new-arcade_topic75147.html

    edit:

    Just noticed the graphics in that post didn't upgrade with the forum well. (at least not in my browser.)

    Drag the graphic and drop it in the address bar to view it as it's own page, and you can see the whole thing.

  • The only reason for this post is to get yourself alienated from this software too?

    Are you behind on a project and needing someone to blame, thus you hope to get thrown out?

    I can't find any other meaning.

    If you write something that takes 5 events, I bet you can ask in the forum, and get at least 3 ways to do it shorter. Many times in 1 event.

    And by the sound of your demo, perhaps no events at all.

  • katzin genbatzu

    You can also check which animation frame is set instead of using the variable. If it's set to frame 2, the next line switches it back to 0.

    Just make sure the animation speed is set to 0, or it will always change itself to the last frame.

    Actually here is the shortest method possible to toggle frames:

    However Sound can't be set that way, so it doesn't help much in this case.

    edit: If you don't know what that's doing, the formula in the parentheses is either true or false, 1 or 0, so 1 times the answer to our question.

    1 times 0 sets it to 0, 1 times 1 sets it to 1.