The Maddog's Recent Forum Activity

  • Hi all, I have a Lighting layout which works based on a timer. However I would like to scrap the timer and replace it with something a bit more too advanced for my small head.

    I have attached an image of a sun and the planet that the player will be on.

    I am trying to make it so that when the planet is going behind the sun that the layout lighting will have its opacity changed based on this and vice versa for infront. Of course the Lighting layer opacity shouldn't at a click of a finger become night, I'd like a transition effect.

    Does anyone know the best way of achieving this please ?

    The Sun is a stationary sprite with a rotate behaviour (It has no path of direction) The planet moves based on the Sine horizontal movement method.

    The way I have the planet appearing in front and behind the sun is by using invisible objects. If the planet overlaps either of them, depending on what they are, the planet is either set at the back of the layer or infront.

    Here are some images.

    imgur.com/a/AQfUPs8

    imgur.com/a/tdSHPMS

    Thank you, I hope you can help.

  • Kriand, thank you for your help. Much appreciated, thanks to you I have fixed it.

  • With the Construct search function broken, I am unable to prowl the forums looking for a way to implement Edge Scrolling into my RTS game.

    The search function has been off since the new forum upgrade.

    Is there anyone here who can help me with implementing this feature into my game.

    I have however implemented it into my game using a scroll to sprite function which to be honest my game is better off not using this method as there is big delay in scrolling.

    I have also tried to use this tutorial but it has not worked, scrolling to the edge of my viewport does absolutely nothing at all..

    My RTS game is going to be designed for the Steam Platform.

    scirra.com/tutorials/267/edge-scrolling

    Thank you

  • No word of a lie it took several seconds. Turns out the problem never existed and it was just my eyes decieving me. However, much appreciate the regenerate region method. Thanks.

  • Thank you dop, you have cheered me up. It works, but takes a few seconds for it to regenerate..

    However instead of scanning the entire map for new obsticles each time the block is created, is there a much more efficient way and this is just silly to have to rescan every single cell in the layout each time a block is created :(

    In the mean time I'll find a way and look for answers.

    Thank you again you are my hero <3

  • Have a player with path finding behaviour. Double clicking on map will tell the player to find a path to the mouse.x & mouse.y It finds the path and avoids all solids and does not travel through solids on start of layout. Will find path around said solid (obstacle)

    My game is an RTS game. New object that is placed in

    game is in fact solid. However this is not updated and the player sticks to the old obsticle map. I have tried for the solid wall that OnCreate - Player - Regenerate Obsticle map.

    This does not work, I am sad. Player and wall are on same layers. I do not know what to do, I am pathetic...

  • I have tried both, but I'll try again. Thank you

  • I don't see any picture :(

  • Hi all,

    I have a Spotlight that doesn't want to point at the direction of my mouse. I have played around with both the SPotlight's & Players Image Points. I have tried setting the angle of the spotlight to point to the mouse.x & y and it still isn't working. Below I have supplied an image to try and give you an overview of what's going on.

    Any help is much appreciated. The players movement is 8 directional as well.

    Image upload isn't working so here's a link.

    imgur.com/a/NETkqa0

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Very colorful forum, I like it. Really fits the theme of Construct.

    Goodjob, looking forward to seeing more updates in the future.

  • zenox98 Invaluable, thank you. Reading now!

  • Hi Maham,

    Here is a tutorial on Youtube of how to become an expert of making cars in Construct2. It's 17 minutes long and it will give you all the knowledge needed to overcome your problem.

    youtube.com/watch

The Maddog's avatar

The Maddog

Member since 11 Feb, 2016

None one is following The Maddog yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies