LittleStain's Recent Forum Activity

  • Works for me?

    Ok this wasn't on drag start..

    But you could ofcourse use on touch start instead..

    Combine on touch start with is dragging, maybe?

    Yep - touch start is dragging works..

  • In-game screenshot.

    Still working on getting the graphics feeling like I want to, but getting there!

    <img src="https://dl.dropboxusercontent.com/u/48563442/stretchy-screenshot1.jpg" border="0" />

    I'm trying to get a modern version of the merry-melodies-dancing-trees-and-flowers kinda feel.

  • There is a very simple explenation for this:

    touch.x and touch.y only have a value while touching. If your finger is not touching the screen the value will be 0

    Mouse.x and mouse.y however always have the value of where the mouse-pointer is regardless of if the button is clicked.

    So when making something for a touch device, you should always be aware that there is only input while touching.

  • irina

    That is possible using lerp. In the frequently asked questions thread's opening post there are links to some topics with explenation about lerp.

  • There is also the possibility to use the coordinates of the bounding box of the base if that would suit your needs.

  • Tylairus

    Your link doesn't work for me. Probably your file isn't in a public folder or the link you've provided isn't a public link.

    Without the capx though, maybe I can give some advise. You could give the base multiple imagepoints and compare the distance the zombie is from them and make them go to the nearest one. Also you could choose to use invisible sprites instead of imagepoints.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Often people use the scrollto behavior on a sprite, but if you are already doing it through events that's perfect.

    In the event sheet you can change the system scrollto action to your liking.

    You can do this in many ways. You could give the player a variable EnterNextRoom and check if this variable is true in the event sheet and change the system expression to scrollto somewhere else in case the variable is true..

  • Just some game-art:

    <img src="https://dl.dropboxusercontent.com/u/48563442/game-art.jpg" border="0" />

    on the left the main characters from a game I'm working on.

    Underneath a mechanic thingamawhat for a science fiction game.

    And on the right a screenshot from my gambling game I never finished.

    The chips also belong to that game..

  • pablolink23

    I would suggest before opening another topic you think about what it is you want to ask.

    If you ask the right question you will get the right answer.

    You have opened a lot of topics in the last few days.

    In the "detect collisions?" topic I tried to explain how some of the things you wanted to know can be done. If I wasn't clear about them or if you didn't understand you could have just asked me there.

    I gave you an example in the last topic I answered of making detection sprites, to see if another person is in that spot. (overlapping first spot in the row).

    Thre are many other ways to do it, but this could be a good start.

  • To send capx put it in the dropbox public folder and right click on it to copy public link. than you can paste the link in your reply.

    Sounds to me you want a maximum length for the row, so sprites only get in line when there is a space for them.

  • Hi,

    I couldn't reproduce your problem, but I did notice you set the bullet direction according to player.x,player.y, which is it's origin. The origin of the player however is in the middle of the player sprite and not at his feet where the defib-radius is.. So maybe if you calculate the angle from the imagepoint at the center of the defib-radius you'd get better results?

    I don't know if this is the right answer to your problem, but it would seem more logical to me than using the middle of the player sprite..

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