RattyMouser's Forum Posts

  • 11 posts
  • That works perfectly! Thank you!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm making an RPG and want to make it so that when the player's sprite is touching another sprite and presses a key (let's just say "A" for now) it opens a dialog box. For reference, this sort of thing can be seen in games like Legend of Zelda, Pokemon, Undertale, basically any RPG. I figured out how to program the second part, however I can't for the life of me figure out what to put in to make the sprite detect that it's touching another sprite. The closest thing I could figure out was collisions, and that's not what I want because you have to run into the person and be holding the A key to activate it. I want you to be able to stand still in front of them. Is there a value or command that I could use to detect when the sprites are touching, or at least how close they are?

  • zenox98 I opened Construct 2 to play the game again but when I looked for the file it was entirely gone, no trace of it ever having existed. I had uploaded a .capx on one of the attempts to upload it so I decided to go grab that since it could recover the work. After making two backups and fixing one thing I uploaded the game just to try and it actually worked. I have no clue what happened. Here's a link.

    https://www.scirra.com/arcade/strategy- ... tion-12860

    Not saying I'm upset, just very very confused.

  • *moved as the Arcade is a 'Website Issue' that is generally dealt with by

    What version of C2 are you using?

    Are you using the Arcade Export option? (need to ask, just in case)

    Have you checked the error console for errors?

    If it doesn't work with the latest C2, then you could try sending the Arcade exported .zip file to with as much detail as you can - versions/plugins/system etc - and hopefully someone will be able to investigate.

    Sorry, not sure if you saw, but I don't know what the error console is. I made sure to download the most recent version and I did make sure to use the arcade export option. I replied a few days ago but I guess you didn't see, sorry. '^w^

  • I downloaded the most recent version when it didn't load the first time, just to be sure that that wasn't the issue. Even with that it didn't work. I made sure to use the Arcade Export option. However I'm not sure how to check the error console or what the error console is. ':3 Sorry.

  • All I'm getting for all versions of the game is a black screen. The second upload worked for one day, then when I reuploaded the file to fix a bug it wouldn't work. Here are links to all of them.

    https://www.scirra.com/arcade/strategy- ... tion-12767

    https://www.scirra.com/arcade/strategy- ... ry-2-12768

    https://www.scirra.com/arcade/strategy- ... work-12859

    https://www.scirra.com/arcade/strategy- ... orry-12860

    I have tried them on both Chrome and Microsoft Edge and no, they won't still work. This is annoying the crud out of me because this is basically the demo version of the game and I don't even know if the official version will work when I upload it. If you solve this I will love you.

  • It's doing the exact same thing for me and it's irritating the crud outta me. If someone figures out how to fix it I would be forever grateful.

  • I know in my experience I've use a variable and a global variable and use invisible sprite to place the where about of places.

    I put a instance variable on the invisible sprite and name it location: and the variable as a text such as Route one and put in a function that every time you would overlap the the sprite make the global variable to that invisible sprite location and then on the next layout you would just use the same sprite with the same name.

    And pick the object that has that variable name and then move the character to that spot.

    Id would use this on start or a once trigger style so that it doesn't lock down on your move to object could result in infinite moving and you cant move the character. this might seem strange but there's a youtube video on this exact method.

    Cant remember who did it i think some apple guy that does beginner on layouts.

    I'm really sorry, I'm not exactly sure how you do a once trigger. Can you please help me out? ':/

  • signaljacker: I have actually removed the function and was going to return it later, but as far as I could tell it was. I did just figure out how to use layers in their most basic form though, so I wouldn't be able to tell for sure. Thank you though!

    Gearworkdragon: I'll have to check it out, thanks! I'll let you know if it works :3

    plinkie: I'm really sorry, I'm still fairly new to the whole forum thing (this is my first post thread thing) so I'm not really sure what a .capx would do. ':<

    As I have said, I removed the function so I could focus on the main gameplay, as it's not an absolutely necessary part of gameplay, or at least it's not as important as making the rest of the game work at the moment. I wasn't really planning to use the method I'd figured out since it didn't seem to work. I was mainly asking to see if someone else more experienced than me had figured out anything better. I'm still basically a toddler when it comes to using Construct 2, so I really appreciate everyone's help! Thank you all so much!

  • The sprite itself has the 8-direction enabled, and how I had it spawned in was I set a global variable for entry which is added to when you hit the entrance to go to the previous layout, and when it is equal to or greater than 1 it sets the spawn point in front of the exit you came from. It goes into the previous room to the correct spawn point, but it won't move.

  • So I'm making an RPG style game, and I wanted to add the ability to go from the first layout to the next one, then go back to the first layout through the exit you just came from while still being able to go through a different exit in the same room to go to a different layout. I figured out how to get the character on the previous screen alright, but when I tried to make it so you spawned in front of the exit instead of at the normal spawn point, the 8-direction behavior completely stopped working. Even when I clicked the page, since that's what has gotten it working when I first load the game, it remained completely still besides the animation. Does anyone out there know how I can get the player to be able to move when returning to a layout from the next room?

  • 11 posts