lionz's Forum Posts

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Yeah we can move this to PM as it will just be gaining assistance with instance variables.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Pick instance refers to picking instances of objects, so a specific Monster object. Instance variable is a variable of a particular instance.

  • Hi, there are some tutorials here :

    https://www.scirra.com/tutorials/348/in ... l-features

    https://www.scirra.com/tutorials/495/ho ... using-clay

    Looks like you need to use this third party Clay thing.

  • You shouldn't really need to differentiate if the logic is setup correctly, the events should trigger it for all objects that make it true. If you do want to label them though then you're probably looking for 'instance variables' instead of global variables. Instance variables are on the objects themselves and update individually kind of like stats for that one object. You could give it an ID that increments every time it is created. I see that you have done this with a text object display. Really you should be using instance variables for monster type objects so you have more control. You can give it a name, health, defense stats etc. Then you can use the text to display the variables that are stored on the monster object itself.

  • The way I did it was to generate random rooms of different sizes using the default grid. It keeps checking until it can place the room somewhere suitable.

    Check out http://plinkie.neocities.org/ and keep refreshing/reloading the game. It generates 3 little rooms each time in close quarters at random spots, with the 'boss' being inside a room and the 'player' being outside of the room spawning at a random location.

    I'm going to expand this to generate tinier rooms and then go on to spawn other enemies at random inside the rooms using enemy counts. Then onto the actual gameplay I guess...