fedca's Recent Forum Activity

  • Hey, take a look at the drawing canvas object.

    you can take a screenshot at the end of the level, load parts of that into four sprites and tween them to get that effect. (while hiding the real level)

  • you can use the browser object and open a browser tab of a google form (or different side) once the boolean is true. https://www.construct.net/en/make-games/manuals/construct-3/plugin-reference/browser see Open URL in new window

    I have used this to make players give feedback on a google form when they finished playing a demo.

    secondly you can use the AJAX object to send data to a server.https://www.construct.net/en/make-games/manuals/construct-3/plugin-reference/ajax

  • if player is on floor and player.platform.vectorX>0 and keyboard press left. Set animation to "skidding" wait 0.5 simulate platform pressing left.

    VectorX gives you the vertical speed of the platformer object. greater than 0 means right, less means left, maybe that helps? with this you even could do skidding only if the VectorX is faster than x.

  • Oh yea you are right, I mixed up which way the layoutScale value zooms in/out!

    glad I could help in some way.

  • how far it zooms out is the third value in the clamp(currentLayoutScale,minLayoutScale,maxLayoutScale)

    set the max value to something lower, like 1 for default for example.

    to reset the camera to the center of the layout when zoomed out you could do something like this:

    if layoutScale = maxLayoutScale set camera postion or scroll to

    x: lerp(self.x,layout.width/2,speedYouWant*dt)

    y: lerp(self.y,layout.height/2,speedYouWant*dt)

  • well, it would work with animations. Load Image from url replaces the current frame in the current animation, so If you have blank frames in placholder animations it would work.

    Defintily could get a bit messy depending on how many and different things you want to laod.

  • You could use an empty dummy object and load images into it on runtime.

  • np!

    You could solve the problem by actually having one large layout and just give the feeling of rooms with camera bounds you change on entering each room. Bacause in that case the enemy would never have to be teleported.

    Is there a specific reason you use different Layouts?

  • DiegoM

    sounds great, looking forward too see whats next!

    yea scrubbing is probably mostly useful for in-editor and not that much at runtime.

    I hope music playback in editor is coming soon :)

  • I would use a while loop

    while enemyPosition = lastEnemyPosition

    set enemy position to random(min,max)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • on layout change set float chaseDistance to distance(player.x,player.y,enemy.x.enemy.y)

    Every seconds if bool enemyNotSpawned = true subtract enemySpeed from chaseDistance

    if chaseDistance < 0 spawn Enemy

    This should work even with layout changes before the enemy spawned again.

    Or do you want to achive something like this:

    layoutA>layoutB>LayoutA Enemy is still in layoutA running to layoutB?

  • you could store the distance the enemy has to the player when changing the layout and delay the spawn of the enemy something like this:

    on start of layout, wait for: storedDistance/enemy.speed seconds

    spawn enemy

    Tbh I am not exactly sure if this works depending on the type of game you are going for.

fedca's avatar

fedca

Member since 6 Jul, 2017

Twitter
fedca has 63 followers

Trophy Case

  • 7-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • Viral Game One of your games has over 100,000 players
  • 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
  • x217
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x32
    Lightning Draw First person to up-vote a new Construct 3 release
  • x28
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

22/44
How to earn trophies