brunopalermo's Recent Forum Activity

  • It should be possible to load from a dictionary key... Can't see why this is not working.

  • I don't think this is a matter for a poll. It does not depend on what people think of this, but, instead of what kind of experience you're trying to create for the player, what would work for YOUR GAME...

    Candy Crush, for instance, makes you beat a level before getting to the next. It even includes the gates every 10 levels, which are even more blocking. It's a success and both mechanics are partly responsible for that success. Mario 3, as Aphrodite mentioned, has a less linear approach, allowing alternative paths and it works great for it! There are successful games that even give you access to all levels, without linearity, and others that give access to groups of levels and demand that you beat all levels in a group (in no specific order) before granting access to the next.

    The approach you will use should be determined by what kind of experience you want to provide, not the opinion of the general public, since there's no RIGHT WAY, but ways that will work or not for YOUR GAME.

  • Hey awesmeraphi!

    Sorry, man... Never saw your reply. You can just go on and tag me when you need help, so I know.

    Problems

    1. You have a lot of code related to movement, they're overlapping and causing this. Also, I don't know what exactly you're trying to achieve with that Var_Y variable. Why don't you just use the normal controls?

    2. Regarding the animation stop, it happens because you're telling it to stop. Inside the event for shooting you tell the animation to stop before creating the PBullet object. Again, I'm not sure what you're trying to achieve here. Is the shooting direction really supposed to be independent of the facing direction?

  • Lordshiva1948 answers how you can easily get the real time at this thread:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • WOW! That's cool, Lordshiva1948! Didn't know about this action...

  • int(TextBox.Text)

  • Try this...

    [attachment=0:jipsm8f8][/attachment:jipsm8f8]

  • It wasn't moving before, because you never told it to move.

    Here you go...

    [attachment=0:1c25iyyw][/attachment:1c25iyyw]

  • You can always use lerp(currentX, Touch.X, 0.1) to smooth the swipes...

  • Here. Using Webstorage to make it persistent.

    [attachment=0:12smvpf5][/attachment:12smvpf5]

    This example only shows the textbox layout if name is not stored. You can reset the storage and refresh the page if you want to go back to the textbox layout.

  • Unnatural20 This approach is very similar to my version 2. But, for what wants, it won't work as a "single-event version", because you can't put a time loop inside a function. Both approaches would be single-event for a single-use situation as the one you've posted.

  • Just get the text in the textbox and set a variable (say playerName) to it. Whenever you want the player's name to show use this variable. If you want it to persist between sessions, use a Webstorage object.

brunopalermo's avatar

brunopalermo

Member since 7 Jun, 2013

Twitter
brunopalermo has 6 followers

Connect with brunopalermo

Trophy Case

  • 11-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies