Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - MeToo

Pages: 1 2 3 ... 12
1
Ask a Question / Re: Do when actor of type is clicked?
« on: February 10, 2021, 09:51:24 pm »
Thanks!

2
Ask a Question / Do when actor of type is clicked?
« on: February 09, 2021, 05:31:01 pm »
I have seen the option to do when a selected actor is clicked or an actor attribute is clicked but not actor of type what can I do when I need this done?

3
It works! Thank you!

4
I am a little confused by the phrase "loop through all actors of its type". Are you talking about using actual loop blocks? If so I'm not quite sure what that phrase means or how I would apply it. Or did you mean that this code should be applied to all actors of this type as they are created? I tried something like what you were saying or least what I thought you were saying but with the collision event. So far it's not working. But here's what I have. I'm surprised that it doesn't work, but I'll gladly use your exact method if you would please clarify a little.

5
Ask a Question / Re: How create actor in any random location off screen
« on: January 31, 2021, 06:16:17 pm »
It works! Thank you so much. I used the importing method with the possibility of multiple backgrounds in the future. Thanks again, buddy!

6
Ask a Question / Re: How create actor in any random location off screen
« on: January 29, 2021, 11:28:39 am »
Thank you very much, Max. Those are both fun games you made: one about moving ever upward while horizontally dodging incoming astroids. And another in which the goal seems to be taking out asteroids that are coming at you from every direction.

My game is one where the ship is moving through an asteroid field with motionless asteroids.

 I will message the two of you with a bit more of the details so that you can understand what I'm trying to do. I know that generally the etiquette is to keep it in the forum posts in case it can help other people, but I don't want to make the details of the game I plan to make super public.

7
Ask a Question / Re: How create actor in any random location off screen
« on: January 28, 2021, 04:46:56 pm »
Thank you both very much for your help. Max's code spawns asteroids randomly at three out of four cardinal directions. It should be easy to see what he did and copy it for the fourth. I used your custom code Luryen and I was very excited because it seemed to be working, but if I move left or up the background goes away and it's just blackness. Whereas when I move down or right there is indeed infinite distance and infinite background. If I could use this infinite scene it would make the rest of my programming much easier, including being able to use a lot of native Stencyl behaviors for the rest of my game. Is there some alteration I can make to the custom code so that the backgrounds don't go away when I'm moving up or left?

8
Ask a Question / Re: How create actor in any random location off screen
« on: January 28, 2021, 01:27:30 pm »
Thank you, Luyren. The astroids are not just visuals, colliding with them is part of the game. I am currently away from my computer but I am eager to try that bit of code you supplied for the limitless scene. I will also give a go at your math again going from zero. Thanks. I'll let you know what happens.

9
Ask a Question / Re: How create actor in any random location off screen
« on: January 28, 2021, 12:31:02 pm »
Thank you for your help Max. I would say that you did an excellent job of setting up an asteroid field for a different game than the type of game I'm trying to make. What I am trying to do is set up a game where the ship is always in the middle of the screen and eventually also program it so that's always facing the direction that the astroids are coming from, and all astroids are always moving in the same direction, all of this is to create the illusion that the ship is traveling through an asteroid field where the astroids aren't moving, and the ship will never run out of the scene. and I'm not trying to have all of them be on a collision course with the ship, though I want all of them to pass through the screen.  It's going to be a little tricky, frankly I still don't see why the Luyren's solution didn't work, it doesn't quite make sense to me. Again it was very nice of you to set up a viable asteroid field for a stranger and his game. But it's not compatible with the kind of game I'm trying to make. Do you understand what I'm going for?

10
Ask a Question / Re: How create actor in any random location off screen
« on: January 27, 2021, 02:07:53 pm »
Hello Luyren. Thank you again for your advice. I tried to implement your instructions as I understood them, except towards the end when you said "width/height of scene" I think you must have meant screen?

I'm still getting asteroids spawning in the top left quadrant. It's confusing. Here is my code and the save file:

11
Ask a Question / Re: How create actor in any random location off screen
« on: January 26, 2021, 02:36:42 pm »
Thank you for your advice, however I'm still for the most part experiencing the same problem. My asteroids are set to all share a random trajectory.  Sometimes all of them spawn in that same top left region, sometimes most but not all of them do. I've attached the game file, hoping that someone can help me solve this.

12
Ask a Question / How create actor in any random location off screen
« on: January 25, 2021, 08:19:08 pm »
Here is what I've tried, but it just keeps creating them in the same spot towards the top left of the screen.

13
I'm having a little trouble with this, when I want it to happen instead: a pre-existing instance disappears and nothing appears in its place .

14
Ask a Question / Re: Camera Follow not working
« on: January 20, 2021, 05:26:38 pm »
Oh. thank you very much!

15
Ask a Question / Camera Follow not working
« on: January 20, 2021, 04:25:56 pm »
I'm starting on a space game, I need the camera to follow my ship. I'm using the Camera Follow behavior that comes with Stencyl and it isn't working. I've attached the game file.

Pages: 1 2 3 ... 12