Lou Bagel's Recent Forum Activity

  • Just change the fall speed for tanooki.

    Overlapping for water, set the jump speed low, fall speed low, and add a on keyboard simulate jump for unlimited double jumps.

    Edit:

    Simulate won't work, use set vector x, and y according to mirrored, unmirrored.

    Was going to say 'ah, if you can have unlimited double jump then it should be much easier' but just saw your edit pop up. So no unlimited double jump?

  • **Note: First post is initially forethought to get some insights. Will try to post features as created or specific troubleshooting questions as I go so can be a reference post to others.

    I have been thinking of how some of the features from Mario 3 could be created in Construct. I am not remaking or cloning Mario but understanding how to create some of those features would help in implementing my own.

    Features I'm thinking of:

    • Sprinting/Turbo: probably not difficult: change movement speed and jump strength when button held. Only change if on ground though? Enabling turbo mid-air doesn't seem right. And I believe Mario you could run faster/jump farther if you got a small running start. So maybe start timer upon sprint start and increase speed and jump strength even further upon that timer.
    • Flying Racoon: Not sure if should switch from Platform to Physics or custom movement behavior. I don't see how with Platform behavior you can recreate the upward movement upon tail flick, unless you can reset the double jump every time.
    • Swimming: Similar to the flying but also have to detect when in water. Not sure the best way to do that without taking a lot of cpu with collision checks. Also need to detect when near the top so can change from swimming to the jump out of water

    That is probably enough to focus on now. I'll post an update when I get a chance to try it out.

  • You can take a look at this:

    https://www.scirra.com/manual/150/containers

    It is easy to setup—just click on an object and look for the container property in the property bar.

    Don't have a lot of experience with them but most importantly: (from the manual)

    Placing objects in a container has the following effects:

    If one object in a container is created, every other object in its container is also automatically created.

    If one object in a container is destroyed, every other associated object in its container is also destroyed.

    If a condition picks one object in a container, every other associated object in its container is also picked.

  • Easiest solution would be to add them to the same container—when one item in a container is destroyed all are destroyed.

    But you should also try to understand better how instances are picked, it will help you in the long run.

    if you do when player collides with enemy_1 then the player instance and enemy_1 instance will be picked. But you have not picked any enemyAnimations instances yet so all are picked. So if you destroy enemyAnimation then all of them will be destroyed.

  • Add action->select Rockets_image->Under the category 'Angle', which should be at the top, choose 'Set Angle'

    This should open up a dialogue box and you can enter 'The_Rocket.Angle'

  • I reread your first post and understand better.

    I would make an instance variable on the player called "sprint"

    On Double tap set sprint to true

    On any touch release set sprint to false

    If sprint is true set run speed to X

    If sprint is false set run speed to Y

  • I would use the built in double tap condition unless you absolutely require special customization.

  • Here is a simple one to start out on:

    https://www.scirra.com/tutorials/202/touch-controls-and-a-trick-to-detect-input-method

    You might eventually need to learn to track touchID and use 'is in touch' but sounds like you are needing the basics first.

  • Else is also great to add in a lot of situations because once it finds a true statement it will skip over the else.

    Example

    var Color = blue

    If color = blue

    --set color = red

    if color != blue

    --set color = purple

    The color would end up being purple. The first statement would change to red making the second statement true when reached. If that isn't what was intended you can add the else:

    If color = blue

    --set color = red

    Else

    --set color = purple

    This would result in the color being red. The first statement was true so the Else statement was skipped.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Here's what I would think initially.

    Pick closest instance to player.x player.y

    --spawn bullet

    --set angle to angle(player.x, player.y, instance.x, instance.y)

  • Just add to the same event:

    Set Angle to DifferentObject.Angle

  • On Key Press

    -If Layer0 is visible

    --Turn layer0 invisible

    -Else

    --Turn Layer0 visible

Lou Bagel's avatar

Lou Bagel

Member since 7 Sep, 2015

Twitter
Lou Bagel has 3 followers

Connect with Lou Bagel

Trophy Case

  • 9-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies