LittleStain's Recent Forum Activity

  • Once you're sure how to do that it's easier to answer your question.

    But if in your current layout your character starts in the left of the screen if you create a new layout for your new area it should work the same.

    If you want to have more control, you should use the action "system scrollto" instead of the scrollto behaviour and use events to change the scroll to during game-play.

  • Simple workaround, but probably not the best:

    Make sprites just outside the viewport pinned to the camera sprite and on overlap destroy player.

  • Hi Pablo,

    If I'm correct you are still working on your grocery-store project.

    Instead of asking many questions on how different events work, maybe it's easier to first think of what you would like to achieve and break that down into little pieces so you can figure out how to program them.

    The first thing you said was that if the price is right and the weather is good and etcetera.

    This would mean making variables which you can compare to see if these conditions are met.

    If these conditions are met you want to have a line form at the counter.

    That would mean that if the conditions are met you'd either want sprites to move to the counter or have sprites created at the counter.

    To make a line you could make invisible sprites and set directions to them. If first sprite in line is overlapped set the next sprite to got to the second sprite in line. If first sprite in line isn't occupied, but second sprite is, set the sprite overlapping the second sprite to go to the first sprite in line.

    but how to get the first sprite in line to leave?

    You could do this by setting the sprite to wait for an specified amount of time and then set direction and movement away from the counter.

    If you don't understand this explenation, be sure to read the manual again and follow some tutorials to get the hang of programming within C2.

    Programming is always slicing things up into small pieces. And making events that trigger when certain conditions are met.

    [stupid example]

    If you would tell a computer to go to the table and sit down. It would just sit down. If you would tell it to go to the table and after arriving there to sit down. It would sit down on the floor next to the table after walking there. If you would tell a computer to go to the table and after arriving grab a chair and sit down. It would be sitting on the floor next to the table holding a chair. So You should tell the computer to go to the table and after arriving grab a chair, pull it out so it is possible to sit on it and if it is pulled out sit down on it. Then maybe at the end you would have your computer sitting at the table on a chair, if you haven't confused him too much with other things to do. Be sure there is a table to go to and to tell the computer which table and that at the table is a chair and that you've explained to the computer what sitting is and you've told him in how he should get to the table, etcetera..[/stupid example]

  • I'll give you a for instance, using bullet-behavior

    set bullet angle towards mouse.x,mouse.y (if you are using touch, remember that touch.x and touch.y only have values while touching, so in that case it's easier to work with a sprite set to touch.x, touch.y (only while touching) and set angle towards that)

    set bullet speed to whatever..

  • There are many ways to do this..

    One important question is ofcourse, what kind of movement do you want?

    platform, 8-ways or something totally different?

    You shouldn't set the player position, but the direction of the movement of the player towards mouse.x, mouse.y

  • [forget this]Do you use the scroll to behaviour or manually set the scroll to? This sometimes makes a difference..[/forget]

    never mind.. glad you got it working..

  • The way I'm reading this is that you don't want positional audio at all?

    If you just use the play sound without specifying a position, won't it be at dead center?

  • Something like this?

    click sprites from left to right to tell them to buy..

  • Just a small teaser for my new game that is currently in production:

    <font size="6">Stretchy saves da Bombs!</font>

    <img src="https://dl.dropboxusercontent.com/u/48563442/message-big-facebook.jpg" border="0" />

  • Couldn't you just add another condition to the money spending?

    if contMelancia_global=0 don't deduct money?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • All you have to do is add the condition is visible:

    -Is touching

    -Dicebuttons is visible

    -System trigger once

  • I guess I should make myself seen now I have a thread in the Help Wanted section.

    <img src="https://dl.dropboxusercontent.com/u/48563442/Ik-op-fiets.jpg" border="0" />

    For those who read the thread and were expecting to see a person with a handicap, you are looking at one. Yes that is a specially made bike and yes that is my walking cane in the back.

LittleStain's avatar

LittleStain

Member since 26 Apr, 2011

Twitter
LittleStain has 4 followers

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies