Skip to content

More Platform types #96

Open
Open

Description

@Jontpan

We should add at least a couple more platform types, four feels very little

Activity

  1. self-assigned this
    on May 21, 2017
  2. Jontpan commented on May 23, 2017

    @Jontpan
    CollaboratorAuthor

    I'm currently working on a platform which makes the next four be invisible until you jump on them.
    Are there any other that we should have? I'm also thinking of adding moving trampoline, and one that disappears after you jump on it. @AxlLind

  3. AxlLind commented on May 23, 2017

    @AxlLind
    Owner

    Sounds good. Moving platforms could be changed to be a property of all platforms? As in a boolean 'moving' on the standard platformScript.

    Would we have to make sure that the platforms that are invisible aren't moving? Otherwise it sound very, very difficult.

  4. Jontpan commented on May 23, 2017

    @Jontpan
    CollaboratorAuthor

    Yeah they would not be moving. It is very difficult, yes, but it could probably be made easier if in testing it turns out too difficult.

    Having a boolean moving would make some things easier, but since the platformspawner just spawns the prefabs it makes more sense to have moving trampoline as a prefab.
    Otherwise on awake the platform would have to decide for itself if its moving or not, rather than have those percentages on platformspawner. It would kinda mess things up.

  5. AxlLind commented on May 23, 2017

    @AxlLind
    Owner

    Yes, you could do it in the awake but I think we want the chance for it to be moving to increase with y-pos so it might make more sense in the platformSpawner. Since the spawn prefab function returns the gameobject you could just access the platform script component and set a public variable moving to true?

  6. Jontpan commented on May 23, 2017

    @Jontpan
    CollaboratorAuthor

    Well, what I mean is, we would have percentages in multiple places. The percentages for a specific prefab to be chosen and then in a separate function the percentage for that platform to be moving? It's not hard to just make a separate prefab for the moving ones.

  7. Jontpan commented on May 31, 2017

    @Jontpan
    CollaboratorAuthor

    I'm also gonna change some logic in platformspawner, to make use of a queue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions