SexyBabyJesusZ's Forum Posts

  • 9 posts
  • Ok, thanks

  • For my 2d platformer, whenever I use the animations (from sprite sheet) when the animation is done, it will reset and go into the air. then fall down, do the animation, and reset again. (repeats forever) It doesn't do this without the animation, and I can't figure it out. (there's nothing wrong with the animation itself)

  • I have a huge map horizontally, I want the player to be able to go beyond just the normal limits: example:

    I need the camera to scroll throughout the entire world, wherever the player goes.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm starting a new 2d platformer project, and before I do that, I want to make it so when the character progresses it scrolls through the map to keep him in the middle of the screen.

  • It is, but it doesn't show up in game for some reason

  • Ok, I got it working. But then I added a new background, and I can see it in the layout screen, but when I play it it's not on screen,

  • As for the layer, and the Image point, what should those values be? And, I can't seem to find a way to keep the health bar at the top right corner wherever the player moves.

  • Welp, can't post screenshots because of the stupid rule they have in place.

    I'll write everything here:

    System - Every tick - Player - Set angle toward (Mouse.X("game"),Mouse.Y("game")

    Mouse - Left button is down - Player - Spawn Bullet on layer "game:(image point "shootpoint"

    Bullet - On collision with enemy - Enemy - subtract 10 health

    - Bullet - Destroy

    Enemy - Health < 0 - Enemy - Destroy

    ...Just some movement for player...

    Enemy - Has LOS to Player - Enemy set angle toward Player.X, Player.Y)

    - Enemy - Set Bullet speed to 100

    Enemy - X has LOS to palyer

    Player - On collision with Bullet2 0 Player - Subtract 10 from health

    Sprite (Health bar) - Set width to Player.Health

    Sprite - is on screen

    Player - Health = 0 - Player - set opacity to 0

    System - Go to layout 2 (Death screen)

    Bullet 2 - on collision with player - Player - subtract 20 health

    sprite - set width to Player.Health

    Enemy - Has LOS to player - Bullet 2 - set angle towards Player.X,Player.Y

    Bullet 2 - Set Bullet speed to 100

    Bullet 2 - set bullet enabled

  • How can I make enemies try to shoot at the player, than just try to follow him? I can't seem to get the bullet sprite to spawn in, and it wont shoot.

    Screenshot of the event sheet:

  • 9 posts