evillair's Recent Forum Activity

  • Hi Pulstar, I'm still getting islands with your latest one...

    Perhaps because I'm using too low number of nodes? I only need 10-15 max.

    Perhaps I broke something

  • Thanks Pulstar for some good ideas!

    Yeah, I learned quick to use naming strings for layer selecting

    Thanks again, it's appreciated.

  • Here you go, a close button: https://www.dropbox.com/s/s69f2qxvh3nlt ... .capx?dl=0

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Have you tried using containers?

    Add all of the sprite that go together in 1 container. That way when you spawn one of those they all come along. You'll need to set the locations for each separately though.

  • Pulstar, that's cool! Nice work!

    99Instances2Go, yeah, that looks a lot easier! When I enter 10 for the variable How_Many_NODes I never get 10, I get a random amount under 10, am I missing something?

    A second question, how do I make this static once it's generated?

    For example, in a run of the game I would need to generate 10 of these on the start of the game and I would need access to these during the game.

  • Here's a tutorial for a pause button: https://www.scirra.com/tutorials/646/ad ... me-pausing

  • Oh nice!

    Would there be an easy way to limit the space between nodes? For example it would be nice to not have nodes close together.

    I guess you could just offset them if the distance of a line is too short?

    A second question, how do I make this static once it's generated?

    For example, in a run I would need to generate 10-15 of of these on the start of the game and I would need access to these during the game.

    I thought taking an image of them but that wouldn't work since I need the nodes to be clickable to select the map/mission etc.

    Example:http://www.blazinggriffin.com/wp-content/uploads/2015/02/Galaxy-910x512.jpg

    Each one of those nodes would be a generated map like you made.

    Thanks

  • 99Instances2Go, holy wow, nice!

    A clinic in functions!

    You're using a lot of things I haven't seen yet, I'll be studying this also! Thanks!!

  • wow thank you!

    That's quite complicated, I'll look at it and try and learn as much as I can.

    No wonder I couldn't figure it out

    For problem 2 I have a solution for it that I used before.

    Thanks again, I have a lot to digest!

  • I created a simple way of generating nodes, but I can't figure out a way to connect them in a logical way.

    Here's the capx of what I have for the nodes: https://www.dropbox.com/s/on1krbh60y58u ... .capx?dl=0

    I'm going to use the first node as my start and the furthest away as my exit later on.

    I want to get something like this:

  • Awesome, thanks TwinBlazar!

    Yeah, the Mouse.AbsoluteX, Mouse.AbsoluteY worked.

    You're right, It was because the first time I was clicking on the minimap I was on the screen area but the second tiime I wasn't.

    edit: I also changed the mouse click to left button is down so I can drag on the minimap and the camera scrolls.

  • Hi TwinBlazar,

    I almost got the mouse.x - minimap.X part!

    It works good, but only the first time I click on the minimap. After that the camera goes to the bottom right corner of my layout.

    I'm using a camera sprite (with a Scroll to) for the camera movement since I'm using 3 differtent types of camera styles.

    I'm looking into maybe I have something in my event sheet that is messing it up.

evillair's avatar

evillair

Member since 13 Feb, 2014

Twitter
evillair has 1 followers

Trophy Case

  • 10-Year Club
  • x2
    Popular Game One of your games has over 1,000 players
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies