blacksuitfilms's Forum Posts

  • Hmm, nice idea but no dice. It just makes the player drift off in one direction.

    I'm constantly working on this to try and get an answer but still no closer to a sloution

    EDIT: I just switched the mouse x y move to behaviour for an 8 direction and even that messes up when rotating the layers.

  • Perhaps this is a better example:

    dl.dropbox.com/u/15490467/HTL.capx

    In the events the layer rotation is in the last group is labeled 'Gravity'.

    In this version you will see that travelling to each planet by double clicking works fine and gravity rights itself. But after walking round a planet then travelling to another the mouse x y movement is messed up.

    <img src="smileys/smiley19.gif" border="0" align="middle" />

  • Hi Squidster,

    Thanks for getting back to me. I'll have a look at the dt expressions.

    I found your gravzones tutorial first but had lots of trouble getting it to work. Then I saw the pin behaviour and have gotten much further with it and it really fits the style I have in mind. Plus this will be a very small game and am quite happy to continue with this method.

    Anyway the real problem is rotating the layers to keep the character right side up. I'm just not clear on a way to do this that won't ruin the mouse XY input movement between planets. All I need is a workable solution that will fits in with the way I have been building it so far.

    kindest regards,

  • Hi Everyone,

    So I have this game concept in mind and so far it's going well but i've hit a snag. I'm using layer rotation to simulate gravity shifts within the game. The player uses a Mouse XY input to travel from planet to planet then when arriving he can walk around their edge. This rotates the planets around him.

    Now straight off the bat i'm not using the system from 'AirScape'. Though slick, it's not right for the final style or feel of this game.

    So the problem arrises when rotating the layers to make sure the player is always right side up. It firstly knocks the sprite out of line and then when trying to travel to the next planet the Mouse X & Y are offset. Here is the .capx and the controls so far.

    left click to move around

    double click on a planet to land

    space to take off

    left and right buttons to move round a planet

    dl.dropbox.com/u/15490467/HTL.capx

    I would really appreciate a solution to this.

    Blacksuit <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Got It, thank you so much for all this. Plugin works really well.

  • There seems to be a problem downloading the plugin. When I click on the link It opens in notepad. Is this normal?

  • Thank you very much

  • That sounds interesting. With the plugin method will that affect publishing to any other platforms too? Also I like the catch idea, will that be difficult if there are itens on the platform while its moving?

  • Hi All,

    I've looked around at a lot of threads and I havent found a concrete answer to this question though in principal it should be immensely simple. I am just fiddling with construct 2 and don't have a game in mind yet.

    However I have an object and after a certain amount of collisions I want it to move to a specified x and y location on screen then stop there. Now i've tried set position although all it does is sortof 'teleport' there. I've also tried using custom movement where I could input the x and y coordinates but the object continued to fly off screen instead of stopping there. So I'm stumped.

    Can anyone give me the simplest method to achieve this? It doesn't sound like it should be complicated.

    All the best

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Gotcha! Here it is. dl.dropbox.com/u/15490467/Bank.capx

    So when you press the 'Embezzle' button the money will start to go down gradually but if you use the 'Gamble' button the money will jump up or down a bit. Thats when the gaps in the line graph become noticeable.

  • How do I do that?

  • Hi All,

    Using these forums a lot now, trying to get the basics down <img src="smileys/smiley1.gif" border="0" align="middle" />

    So I've managed to get this stock market style line graph sorted using a particle emitter object which is then driven by the amount of money the player has in the bank. But the problem is I'm using 'set position' to move the emitter, which works if the money changes gradually but if there is a sudden drop in money its effectively teleports (as the manual says) the object causing a major gap in the graph.

    Ids there a decent alternative to 'set position' which will help adjust the speed of the emitters movement...more like a 'move to position'?

    regards

  • Thank you all that has worked a charm, never knew about inverting.

  • Hello all,

    Just wondered what a good way to create a simple on off button would be?

    Regards

  • Thank you very much, that totally slipped my mind. Not great at maths but game design is forcing me to get better :) Is there anything I can do on these forums so people know I got the answer?