andersonaraujodl's Forum Posts

  • 13 posts
  • I know this might be a very silly question and might be on the wrong place... I've got a problem while uploading my C2 game on my website.

    For some reason, I'm getting the export file right for desktop, although, when I put it online, looks like the sprites change position. I first thought it could be a problema with my scale, or how I used it on C2, but a friend of mine uploaded THE SAME FILE on his website and didn't have any problem.

    I was unable to attach the pic to this post, but the results are on the following link (check the poster on the wall and the door).

    Images here

    I created a folder (ilana) and uploaded everything inside.

    As I said: it's exactly the same file, the same game that was uploaded...

    Anyone now how to fix this?

    [I thought of posting it on the bug section but not sure it it's a bug or a problem with my webhost, although I've uploaded some other projects in the past without a problem...]

  • Hello,

    I'm trying to make a metrovania/platform game with several enemies of the same type. The problem is that they all shoot at the same time, and if I have one is looking for the right, all of them shoot in the same direction

    Right now I'm comparing the position of the enemy with the player's, and if I don't kill one of the enemies behind me, all others will shot to the wrong side...

    I've seen a lot of similar questions but none seemed to answer the question completely. already tried instance variable and for each, but they didn't work

  • Hello everyone,

    I'm Anderson from Brazil, Game Designer new to Construct, trying to make sume great stuff out of it!

  • I see... I'll try to create the functions and see how it goes.

    Thanks for your help!

  • I'm having problems with turning a group of audios off.

    The project i'm working on has SoundFX and Music, and in its settings menu you can turn each one of them off.

    The problem is, I don't have a way to group sounds like in a family or using multiple tags for it.

    Which should be an easy way to turn all my SoundFX off when the same is put off in the settings menu? Is it the only way choosing each one of them to my event?

  • This was not yet implemented? hahaha

    If not: too bad :'(

  • Not sure if everyone saw, but Construct is making a C3 game Jam on May with Newgrounds <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":-)" title="Smile"> https://www.scirra.com/blog/201/constru ... newgrounds

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • How about a separate, invisible object that follows the player around? Let's just call it FocalPoint. Put the Scroll to behaviour on that and restrict its Y movement when you're close to the underground path. You could do a simple coordinate check or you could have other invisible objects to fence off the FocalPoint object i.e. something like this:

    > <Event> On Player colliding with CameraWall_Vertical    |
                   Else                                      |       FocalPoint.Y = Player.Y
    [/code:2duasae8]
    When the player is overlapping one of these barriers the player moves freely but the FocalPoint, with the ScrollTo behaviour attached, doesn't. When the Player is no longer overlapping it, the FocalPoint starts following the Player again.
    

    Thanks! I did something very similar and worked!

  • Hello,

    I have a platform game in which I put the Scroll to Behavior in my main character. The thing is, I'm build a scenario with a underground path, but I want to limit my Scroll to Y to hide that, showing just the ground limit.

    Right now it puts my character in the center of the screen, showing half of the underground hidden path.

    Can someone help me with that? (Not sure if this is a duplicated topic, I couldn't find any help)

  • Follow the tutorial again, but remember:

    Always replace width by height, since you don't want to increase your loading bar's width, but its height.

    Also, remember that your TiledBackground has to be scalable upwards and not sideways, like a regular loading bar.

    I you still struggle, I will provide a .capx.

    Thanks for your reply. I really took care of the height stead of width. The problem is that the progress loads from the top to the bottom when I need it to load from the bottom to the top

  • Hey guys,

    I actually already made my loading bar following this tutorial here. Although it's teaching how to make a horizontal bar, I did a vertical bar for my project. The problem is: as all the solutions show that I should use Tiled Background, I was unable to make it progress from the bottom to the top.

    So what I really need to know is how to make a Tiled background "load" from the bottom to the top, once, by default it loads from the top to the bottom.

    Thanks.

  • You can do it a few ways. If you don't want to use physics you can make a tree falling animation and play it when your player A collides with the tree.

    OR you can set all your players and the tree and ground to physics and you will need to use physics for all objects the player interacts with.

    I would go with option A for a new designer. Physics has other uses you will learn as you go along.

    Cool! Thanks!

    Option A seems to be the best. Thanks for your help!

  • Hey everyone, I'm new to C2 and I tried to look for the answer (maybe in the wrong way) for my question on the forum but couldn't find it , so I'm sorry if it already exists something similar.

    I have a character A, who is controlled by AI. It has to knock a tree down to hit character B. I tried physics but didn't succeed

    Any help?

  • 13 posts