exedys's Recent Forum Activity

  • I am trying to follow the guide to integrate Google Play Services into my mobile game. However whenever I click the link to the API Console, I am unable to find Javascript Origins or APIs & Auth in my console. Has the API console been updated since the guide was published, or I am I just missing something?

  • I've got my game on the Play Store and itch.io. I have players who want to play on iOS, so I recommend playing through itch.io to them (it automatically detects platform, so allows mobile controls). Can I add a button to my game that when clicked on, adds a shortcut to the user's home screen to allow them to quickly get back to the game?

  • Post a screen of the events or share the C3 file

    http://prntscr.com/nsj7r2

  • If you use the event above running every tick then it should be setting position to the enemy constantly as it moves.

    Nope, I tried it but it only runs once. I have it running every tick but it still doesn't follow the enemy.

  • I have done this but I am trying to find a way to keep the black box on the enemy while it moves.

  • I would like for the player to be able to press a button and it would lock onto the closest enemy and stay locked on until the enemy dies, or the player selects a different enemy. I've got the initial locking on handled but can't figure out how to keep the player locked on. I'm indicating the lock-on at the moment with just a black box above their head. If anyone can help that would be great.

  • Thanks!

  • I'm making a top down shooter and the mobile controls are being quite finicky. Something I would like to try is having the player automatically aim at the closest enemy and make the player choose when to shoot. Can anyone help me in figuring out how to accomplish this?

  • I don't know why (or how) you are storing the level in a variable. It would be much easier to just use the built in save and load options in Construct. Concerning the issue with 'Load layout by name', that action only loads layouts and not variables. The purpose of it is to use expressions to try and find the layout needed at that time.

  • On completed is from the dungeon generator plugin I'm using made by rexrainbow

  • That's correct, let's see a screenshot of how you set it up. The order is on start of layout, sub event : pick random instance of marker > action : set player to marker.

    If you have the actual event set up correctly then the problem could be with a number of things, maybe the markers haven't been created yet when you go to pick one etc.

    i.imgur.com/CBkqoWB.jpg

    I don't think that it is because the markers aren't created because the game only knows its done generating after the markers have been created.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm trying to make a roguelike shooter and have the level generator implemented but can't spawn the player. I have red markers in the corners of each room and in the middle and want the player to start at a randomly chosen marker on the map. How do I randomly choose an instance and use it to spawn my player?

    I've tried this:

    On start of layout | Player > Set position to (Marker.X, Marker.Y)

    Pick a random Marker instance

    But it hasn't worked. I guess a better thing to ask would be how to reference the marker that was chosen?

exedys's avatar

exedys

Member since 26 Jul, 2017

None one is following exedys yet!

Trophy Case

  • 7-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

10/44
How to earn trophies