cvp's Forum Posts

  • 50 MB sound like alot. Do you have big sprites in the game?

    Which exporter are you using for the mobile/which mobile platform is it?

    Can you post a .capx. Then we might be able to help you.

  • A simple solution could be to just move the sprite on top of the ball every tick.

    Dont know if thats the solution you are looking for.

    I have made a small example to illustrate. (its a fast mockup. so alignment is not completely correct)

    .capx

  • Thanks for the example yogert96

    I hadnt really though about using the bullet behavior for this.

    I made a small example.

    It works... ok i would say. it still does not feel like i am dragging the object. it more the object moving towards the touch.

    So i would still be interested if there was another example which would be more drag&drop ish... if you know what i mean.

    Another thing. when i use the bullet behavior it seems to bounce alot on the walls, which makes it flikker alot.

    .capx

  • Hi

    I am trying to develop a labyrinth game for touch devices. I have searched they forum alot and havent been able to find the help i am looking for.

    I found a great example by Yann where a circle limits anothers circles movement.

    That is the closest i have found. (Yann's example)

    I would like to be able to drag a sprite through the labyrinth. i have made a small image to help illustrate.

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

    The problem is that i cant get my head around how to block the sprite from stopping at the wall, but still going along the wall as the circle does in yann's example.

    And make sure the sprite does not "jump" over the wall.

    Hope you can help me.

  • Savvy

    Yeah, you are right. it needs a string with the file name.

    That could be another feature request for the plugin then ;-) To be able to iterate over the content of a dropbox folder.

  • Savvy

    Yet another problem discovered then :-)

    I assumed that you could traverse a folder for its files and that you did not need to know the file name itself.

    NRABrazil

    No i havent looked at the FileReader plugin. I will give it a look in the next days.

  • NRABrazil

    Ill try and give Savvy a bit of a hand here. I might be able to help you with an answer.

    1. The app can be located anywhere, does not need to be in dropbox.

    2. Depending on the option you choose in the dropbox plugin you are either prompted on startup of the app or when you call the login function. You are then rerouted to a site hosted by dropbox which will ask the user if they want to allow the app to connect to there dropbox.

    If you do not have a dropbox account the site you are rerouted to will tell you how to create one.

    3. As for information about the user needing a dropbox account it is up to youself how you want to display it. But they will diffidently notice once they are asked to log in to there dropbox account :-)

    Hope that clarifies your question.

    Ragards

    CVP

  • Yeah i also think its a dead end for now.

    There are more options actually.

    1. The user could copy images into the app folder in dropbox

    2. or you could set the access to "all dropbox" instead of app folder and then access the photos folder in the users dropbox.

  • NRABrazil

    Thanks for the suggestion, but that wouldnt work either.

    I know i wrote "my dropbox" but i meant the users dropbox. So creating an mobile app which can display images from the users own dropbox account and not my own.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sorry if i did not make myself clear.

    I want to e.g. display 4 random fotos from my dropbox photo folder inside my app (a photo i took with my camera and uploaded to dropbox).

    I do not need to manipulate them(maybe in size though when displaying) but just to display them.

  • Savvy001

    yeah... that was what i was afraid of.

    I was hoping to build an app which used the images which is already present in dropbox.

    And since its supposed to be a mobile app the drag and drop zone thing is not a valid option. Then again it would not be my intention that the user would have to drag all the images into the app to be able to use them.

  • Thanks for the example Savvy

    Very well commented and easy to understand I might add :-)

    One question though. I might have misunderstood it, so feel free to correct me if I am wrong :-)

    The example you are giving here stores a text file in the dropbox folder.

    And the image comes from the client side.

    Is it possible to load an image which is already in the dropbox. One which is not necessarily "created" by the client, but one which already resides in the dropbox.

    So basically what i am asking, if i have a picture in the dropbox folder already. Can I display it in my app? (maybe I should just have started with that question :-)

    Something like extracting the base64 from the dropbox image. or whatever would make it work.

  • septeven i was thinking exactly the same :-)

    Savvy001

    That sounds great. I will see if i can make it work. But as septeven said. If you have the time, an example capx would be very much appreciated.

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

    OK.

    I would be an awesome feature if the plugin could do that.

  • I had totally missed the Dropbox plugin. Just what i needed... thx Kyatric