jambo's Forum Posts

  • 11 posts
  • Thanks so much theubie, your a star!

    I'll take a look at your link, and if I don't have any luck figuring it out myself, I'll keep an eye open for your tutorial.

  • Does anyone know if this is possible. I've looked through the conditions but can't seem to find anything useful.

    I want to write something like this:

    sprite.colour = sprite.colour

    OR

    sprite.colour = "blue" & sprite.colour = "green"

        -> (sub event) enter while loop.

    Any ideas, thanks.

  • Hi All,

    I have a family of sprites with a local variable "colour". I wanted to compare this variable, so I'm currently using system condition "compare two variable", which is working well.

    So my current event looks like this:

    sprite.colour = sprite.colour

        -> (sub event) enter while loop.

    But now I to add a check against two specific colours in the family. Can anyone tell me how I could write my event to include this.

    So something like this:

    sprite.colour = sprite.colour

    OR

    sprite.colour = "blue" & sprite.colour = "green"

        -> (sub event) enter while loop.

    Thanks in advance for any advice you can offer.

  • Thanks for the advice grimwolf, I'll take a look into your suggestions.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello All,

    I was wondering if there's a way to make a realistic rolling rock, that acts as if it has physics but really does not?

    I'd like to make a rock roll forwards on a flat solid platform, and have found I can achieve this with the bullet behaviour. However, some of my platforms are inclined and I would like the rock to roll both forwards and down, following the layout of my platforms and simulating physics behaviour.

    I've decided not to use physics objects for this, as the project is for mobile devices, and I may have many rolling objects. All of the information I can find suggests that physics behaviour is very CPU intensive and so should probably be avoided on mobile devices.

    Thanks in advance for any help you can offer.

  • Thanks for the info <img src="smileys/smiley4.gif" border="0" align="middle" />

  • Hello C2'ers,

    This may seem like a dumb question, but I'm still quite new to all of this so my apologies if it is!

    I've been thinking about performance, and have learned that it is directly affected by the number of sprites you have on your layout.

    My question is a two-parter so here goes;

    1. Is it better for performance to have 10 sprites with 10 different images, or 1 sprite containing 10 images. Or does it make no difference whatsoever.

    &

    2. When people mention the number of sprites on screen do they mean individual sprites, or does it also include separate instances of the same sprite.

    My apologies again if this seems like a stupid question, but I'm still trying to understand the fundamentals, and I think a better understanding of sprites can help me.

    Thanks in advance for taking a look at this or commenting.

  • Thanks for the cool example I'll try implementing it into my game.

  • Hi All,

    I'm creating a maze game (big thanks to Yann for his excellent grid example). I'd like to find a way to have the player leave a line behind themselves as they move forward (so you could follow their progress from start to finish). I thought about anchoring a coloured sprite to the start point, and making it stretch to the location of the player object (which is fine for straight line movement). But as the player can turn at 90 degrees through the maze, I'm not sure this would work.

    I haven't had much luck finding an answer, so if someone could point me in the right direction to get me started, I'd be very grateful.

    Thanks.

  • Thanks wildmedia, I will try this out!

  • Hi all,

    I'm still new to construct 2, and so far I'm very impressed with it. I've worked through several of the many great tutorials the community has provided and now I'd like to make my own. I want to go with something simple initially, and though a shape matching game would be an easy one to start with. It will be like a baby's toy (you know the one, baby delights in bashing his/her block through the correct hole (e.g. circle, star square, triangle). Each shape will be able to rotate (perhaps using a button for this), allowing the user to turn shape the right way up for the hole it must go through.

    However I'm still a complete novice at construct and game development generally. So I was hoping that some of you might be kind enough to take a look at my questions below and point me in the right direction for some answers.

    1. I'm thinking it will be easier to program the shapes if they are in a collective group or family, so I've looked into using families within the project. However I've also noticed that other example use a different grouping technique, by having one sprite with several different images in (e.g. sprite would hold a frame for each shape). Can anyone tell me what would be the best way to do this?

    2. I'm not sure how to go about checking that the sprite is the right way up to go through the hole. I was thinking I could use a variable to indicate the right way up. This would be fine for shapes which only have one correct position. But what about shapes which have several correct positions, do I need to create a variable for each position?

    3. I was also thinking of adding a choice of different boards and shapes, to make things slightly more challenging. So I wanted to ask how I'd go about ensuring that the correct shapes from my shape group, would be displayed for the correct board. E.g. board one has circle star triangle and board 2 has hexagon, circle and rectangle, how can I make sure I select the correct shapes for each individual puzzle?

    Sorry if my message has been a little long-winded, but as I said, I have MANY questions, but for the majority of them I'm not sure where to begin to look for the answers, as I'm still not completely sure what I'm supposed to be looking for!

    Any help you kind constructors could offer would be really great

    THANK YOU ALL.

  • 11 posts