dop2000's Recent Forum Activity

  • So what exactly is the problem? You can start Intro and Main music at the same time, immediately pause Main music and when Intro ends, unpause Main.

    Audio Play "Intro" with tag "Intro"
    Audio Play "Main" with tag "Main" (looping)
    Audio pause tag "Main" 
    
    Audio on "Intro" ended -> Resume "Main"
    
  • Use Timer behavior on the spawner sprites. When an enemy is spawned, set isBusy=true and start the Timer "MakeAvialable".

    Spawner On Timer "MakeAvialable" -> Spawner set isBusy=false

    See this example I made for another post some time ago:

    dropbox.com/s/0jptlam49u7ugse/spawningDemo.capx

  • No, you don't have to activate "Set angle"

    Look at my code, it checks MovingAngle, not sprite.angle

  • There is nothing difficult about it.

    Make an invisible sprite PlayerBox with platform behavior.

    Make another sprite PlayerSkin with all player animations and Pin behavior.

    Pin PlayerSkin to PlayerBox on start of layout.

    Use PlayerBox in all events related to Platform.

    Use PlayerSkin to control character appearance.

    For example:

    PlayerBox On Jump -> PlayerSkin set animation to "Jump"
    On Left key pressed -> PlayerSkin set Mirrored
    etc.
    

    I'm sure you can find many examples in Tutorials section:

    scirra.com/tutorials/all

  • I don't understand your problem..

    Are you saying that "28,F" should come before "248,H" in sorted array?

    This is happening because you are sorting string values.

    If you want to sort by numbers, I suggest you make a 2D array, put numbers at Y:0 and letters at Y:1, then just use the Array Sort action.

    Note, that in this case numbers and letters will be stored in different array elements. If you need to combine them, you'll have to do this:

    Array.At(x,0) & "," & Array.At(x,1)

  • Have no idea what pixel rounding has to do with grid movement, but ok :)

    Add different frames or animations for character facing left/right/up/down and then use something like this:

    Sprite Is moving
     System-> Is between angles -> Sprite.8Direction.MovingAngle between -45 and 45 : Sprite set animation frame 0
     System-> Is between angles -> Sprite.8Direction.MovingAngle between 45 and 135 : Sprite set animation frame 1
    
    etc.
    
  • MoveTo addon is the easiest way to move on the grid. Find it here:

    c2rexplugins.weebly.com/map.html

    On pressed key determine screen coordinates of the destination tile and use MoveTo to move your character there.

    There is also rex_grid_move plugin, but I don't know how it works.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Issues 1 and 2 are from incorrectly positioned Origin point and wrong collision polygons in frames.

    Ideally Origin point and collision polygon should be identical for all frames in all animations.

    A very common approach is to use an invisible sprite (simple box) with Platform behavior for controlling the character. And pin your character sprite with all animations to that sprite. Then you will not have all these issues.

    Question 3 - here is a good example of managing animations in platformer:

  • What do you mean you can't find jump?

    Press Up key and the character will jump. If you are using custom controls, use "Platform Simulate Control: Jump" action.

  • WackyToaster

    Could you recommend a good reliable server to get the time from? And how do you do this - with some JS script?

  • I'm not a fun of the new design either, hope it will get improved or customization options will be added.

    But the design doesn't bother me as much as the fact that lots of old posts are now unreadable. Thousands of code examples, links to projects and different resources, tutorials, screenshots - tons of very useful information collected over almost 10 years - all this is now lost??!

  • Have you tried "Set angle towards position Mouse.X, Mouse.Y"?

    The image in your spotlight sprite should be facing right with Origin point at its left end.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 269 followers

Connect with dop2000

Trophy Case

  • 9-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
  • x14
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

29/44
How to earn trophies