dop2000's Recent Forum Activity

  • You need to pick 1 instance of the line, pick 1 instance of the ship, pin line to the ship. Then repeat with the next pair.

    How you do this depends on your code.

    If lines are spawned from the ship sprite, simply pin them in the same event, for example:

    On Space key pressed -> Ship spawn Laser; Laser pin to Ship

  • https://www.dropbox.com/s/2v0a6lxqsqi0p ... .capx?dl=0

    1) fixed, see the event sheet.

    2) I don't know why this is happening. I'm guessing if the wall is located in this exact position, then the Solid behavior stops character sprite before collision event is registered..

    Anyway, the easiest way to fix it is to slightly alter the collision polygon of the wall sprite.

  • You mean like this?

    https://www.dropbox.com/s/rqe6p4yfvvhrw ... .capx?dl=0

    Instead of the second "reference" sprite, you can use a variable that simply increases with every tick (newAngle=newAngle+dt).

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • BDPNGUINS

    Add Physics behavior to your sprite, then add this action:

    Sprite-> Physics Apply Impulse

    The original question was about the Platform behavior.

    If character is on the ground, simply use "Platform Simulate Jump"

    If character is not on the ground, you can do something like "Platform Set Vector Y to (Self.Platform.VectorY-500)"

  • See capx file from this comment:

    This is a popular question, try searching the forum for the word "laser", there may be lots of other solutions.

  • Sorry, I don't understand. I thought your main problem is to detect when the status bar is visible on the screen.

    And then you can display a hint to the player to swipe the screen and get rid of the status bar.

  • Here is a post from FAQ that can be useful:

  • omerslash

    Regarding your seconds issue - have you tried "Browser Is Fullscreen" event?

    If it doesn't help, you can try comparing if Browser.ScreenHeight=Browser.WindowInnerHeight

    In mobile app, this might work. However, when I'm testing in different browsers, I'm getting inconsistent results...

    I suggest you make a test version of the mobile app with a big text debug field where you print the following expressions:

    Browser.ScreenHeight & newline & 
    Browser.WindowInnerHeight & newline & 
    browser.WindowOuterHeight & newline & 
    browser.DevicePixelRatio & newline & 
    WindowHeight[/code:35rod17j]
    
    Try running this test app with and without the status bar, see how these values change. 
    You may be able to figure out how to use them to check if the device is in fullscreen.
  • It's hard to guess what's going on with just those screenshots. Consider posting your capx.

  • I don't understand your data structure... If there are many different dictionaries, how do you expect to get only one dictionary in the end?

    Anyway, here is a demo I made, maybe it will help. It first wraps 5 dictionary instances into other dictionaries several times, then restores them.

    https://www.dropbox.com/s/oc4i65d0wqm13 ... .capx?dl=0

  • Привет, kop9000

    That plugin does a simple typewriter effect (with a few variations). There are plenty of examples how to do this with events, google "Construct 2 typewriter". Here are a couple of links:

    viewtopic.php?t=63552

    https://www.dropbox.com/s/d4396pwak0oh7 ... .capx?dl=0

  • I would do this the other way around:

    Why do you need this array anyway? You have a bunch of text instances, create an instance variable and fill it with random values.

    I'm saying this in every post - arrays in C2/C3 are overrated. Most tasks that people are trying to do with arrays, can be done easier with instance variables.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 257 followers

Connect with dop2000

Trophy Case

  • 8-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • x5
    Popular Game One of your games has over 1,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x13
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

28/44
How to earn trophies