Hexxiss's Recent Forum Activity

  • Currently in my layout I have the Camera lerping with the character based on what zone he is in. This is creating a problem however.

    I want the character to be able to enter a house, but if I use the "set position" event to move him to another part of the layout for the houses interior the camera then scrolls to that area, which I do not want.

    So, I decided to make the house interior on its own layout, and simply have it so when the Character hits the house door it sends him to the House interior layout.

    But, when he leaves and comes back to the layout, the character then goes back to the original start position of the original layout.

    My brain is fried, does anyone have any ideas to either get rid of the scrolling camera issue, or set the position of the character to outside of the house when he returns to the original layout?

  • I'm using custom 0-9 sprites to display my score currently.

    I have a global variable for my main collectible item, and for the most part it works correctly.

    When the player collides with the item, it adds 1 to the global variable, but only as long as there is only 2 display sprites on the screen. As long as there is only 2 display sprites on the screen, it will add 1 each time with no issues.

    However, the moment I add a 3rd display sprite (as I want the player to be able to earn up to 300) 1 now adds 100, instead of just 1.

    The value for the display sprite currently is:

    int(mid(str(zeropad(MarbleScore, ScoreSpriteMarbles.count)), loopindex, 1))

    Can anyone help me get this figured out?

  • Hey thanks!

    It's funny, I looked at the Layers page a little while ago, and must have totally missed the Parallax portion, and allowing things to not scroll. Thanks for bringing that to my attention.

    Sorry for posting something I could have easily found.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have a rather large layout for my platforming game, and I want to be able to use Scroll to to have the Camera follow my character.

    However, I have a top UI menu, and also a slide in menu that slides in from the top when you hit a keyboard key.

    How could I made the Camera follow the Character, and have the UI and Slide in menu also follow, and have the Slide in Menu still work?

    I've searched all over the forums and google, and haven't been able to figure out a good solution for this.

    Thanks again everyone!

  • Awesome! You sir, are magic. And thank you for taking the time to explain it all, it definitely helps! Thank you again!

  • I want to be able to pick up certain items and add to the score when they are picked up.

    I also want the score to be able to be at least 3 characters long.

    I've found some things on the forums about using sprites to display scores (usually numbers 0 through 9)

    But none of them really explain things too well to help me understand what to do.

    Does anyone know how to change the score when its picked up, and also change each of the 3 sprites that's being used, as the score increases, or know of a good tutorial that explains it well?

    Any help is always appreciated, this has been kicking my butt for two days.

  • Yeah I was using a different method, and changed it to 8 directions and found the 4. It seems to be working pretty well now. Thanks guys!

  • I get what you're saying. If you have an example already that wouldn't be too hard for you to show, I'd really appreciate it!

  • I have a spaceship here that I want to be able to move left, right, up and down.

    However, if you press the up and right arrow, it of course goes diagonal up and to the right.

    Is there a way to limit the movement of the ship, so it can no longer travel in a diagonal direction?

    I can find plenty of tutorials for movement and different ways to achieve the same thing, but all of them seem to still allow my character to move diagonally.

  • I couldn't seem to find a tutorial or a bit in the manual to help with this.

    Basically I have an item that I want the player to be able to pick up and place in his inventory.

    However I have different levels in different layouts currently.

    Is there a way for the variable that's attached to the item to persist through to other layouts the player may travel to, or is there some other way to do that?

    Thanks in advance!

  • I was able to find a Legend of Zelda style movement tutorial here:

    scirra.com/tutorials/297/zelda-style-moviment/page-1

    Which also includes the downloadable for the tutorial but I really have a hard time understanding it.

    I have a couple different questions about it currently.

    Is there any reason why the creator would add all of the different objects he uses on the outside of the layout? Is that so the other sprites can use them, or does that help with loading?

    And, when you capture the key in the downloadable, and travel through the door, it essentially moves you to another part of the layout, since each and every room is within that layout. How do you do that?

    I'm not able to understand the tutorial provided unfortunately, and really can't seem to find a tutorial online anywhere.

    Thanks for any help!

  • when you create a new layout in the properties panel on the left hand side, it will give you the option to select which Event Sheet that should be used to control that Layout.

    You can also right click in any event sheet to tell it to include another Event sheet along with the one it's using, so you can better organize things like player movement, enemy AI etc

Hexxiss's avatar

Hexxiss

Member since 1 Jan, 2013

None one is following Hexxiss yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies