cvp's Recent Forum Activity

  • Yeah, look at Kyatric example.

    a quick comment. If you want the "zero" point to be somewhere else. you can just add or deduct a number each time you compare the touch.gamma/beta/alfa value

    something like(if 40 was your new zero point):

    system --> compare two values --> touch.beta >= 40

    --- whatever you want to do when the device is tilted forward

    system --> compare two values --> touch.beta< 40

    --- whatever you want to do when the device is tilted backward

    note... it might be the other way around(backward/forward), cant remember the beta numbers. But I hope you get the idea :-)

  • the Dragdrop enabled just mean that drag and drop is now possible for that module. Not that you will start dragging it.

    You will probably have to make your own drag and drop, but it is not that hard.

    just set module.x to mouse.x and module.y to mouse.y while dragging.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • As i said it should only be a question of math. if you look at my drawing again you just have to set the scale factor to just show the enemy who i furthest away.

  • On the touch object you can compare the orientation

    <img src="https://dl.dropboxusercontent.com/u/2560922/mobiledev/forum/deviceOrientation.png" border="0" />

  • Have you looked at the TMX importer rexrainbow has made?

  • I have not worked with webkit before so i have no clue :-)

    But Ashley responded to a post last month about external .xml file. I would think that would count as the same.

    He stated that it was not possible yet.

    See the thread here.

  • Hi Tobye

    Just made a quick example .capx

    This is basically how I would scale up and down.

    The thing you have to do on your project is to get the math right on the scale factor. It depends on the viewrange(in LOS) of your player and the original size of the view vindow(which is scale 1).

    I have tried to illustrate it:

    <img src="https://dl.dropboxusercontent.com/u/2560922/mobiledev/forum/lineOfSightScaleLayout.png" border="0">

    Hope it helped a bit.

  • Tom <img src="smileys/smiley2.gif" border="0" align="middle" />

    I am really missing this feature as well.

    When you have replied to someones post, to try and help them, you have to manually dig that thread up again to see if they responded.

    It would be nice to be able to "watch" a topic, so you would get a notification when someone wrote a comment in that topic.

  • Hi Ban333

    I am having a bit of trouble understanding what your problem is. Could you maybe draw a image or something which illustrates your problem.

    Or post a link to a .capx where your problem is.

  • could use link the capx aswell?

    Think it would be easier to help you if we could run the code and try to understand where the problem is.

  • You can use alfa and gamma as well.

    If you dont want the phone to be held falt at zero degrees you could just change where your "zero" is. e.g. have your zero at gamma = 80 or something.

    A lot of the games today which use accelerometer actually set the gamma zero point when the game starts, and then sets the zero point to the current gamma position.

  • You should really try to make something yourself first. Otherwise it wouldnt be something you have made <img src="smileys/smiley2.gif" border="0" align="middle" />

    If you then run in to issues there are a lot of people who are happy to help.

    At least speaking for myself i would be happy to try and help you with a specific issue. But I dont have the time to make the game for you.

cvp's avatar

cvp

Member since 23 Sep, 2012

None one is following cvp yet!

Connect with cvp

Trophy Case

  • 12-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

14/44
How to earn trophies