How can I make so that users have the ability to copy and paste images or something similar?

dondan89dondan89 Member Posts: 150
edited January 2012 in Working with GS (Mac)
Hello,


How can I make so that users have the ability to copy and paste images or something similar?


Thank you

Comments

  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
  • LeonardDeveloperLeonardDeveloper Member Posts: 4,630
    Use another sdk? You'll have to go into more details.
    Lol! I guess that means more business for GS lol!
  • LeonardDeveloperLeonardDeveloper Member Posts: 4,630
    edited January 2012
    Do you mean on the forums??
    As john said in a game you can't!..... well maybe by using the "spawn actor" behavior with attributes... but you'd have to really think! :)
  • dondan89dondan89 Member Posts: 150
    I mean on iphone apps/games how can I make that users can copy and paste


    thanks
  • CloudsClouds Member Posts: 1,599
    8-X
  • dondan89dondan89 Member Posts: 150
    edited January 2012
    Hello,

    OK thank you tshirtbooth for confirming that. And everybody else on forums for helping
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    edited January 2012
    Like said above we dont have built in copy and paste and cant store stuff to the built in ios clipboard but depending on what you wanna do you might be able to do something liek so if your trying to copy and paste inside the same game or app.

    have a attribute called selectedImage . Make a attribute called copy and make a attribute called paste. Set up the copy button, its hard to tell you to do that without being more specific. But you would change copy attribute to true when you do whatever you want to select that your copying the image(ex: when copy button is presssed or something like that) . Youll also want to have in each image actor a rule to change the selectedImage attribute to self.image when you do whatever it is your doing to trigger thats the image you want to copy. That will store the current image on the clipboard. Then for the paste whenevr you select that you want to paste(ex:touching paste button or whatever) change paste to true.Then have rules when paste is true and selectedImage = 1, spawn actor 1; when paste is true and selectedImage = 2, spawn actor 2 and so on.

    Now i havent tried this its just the result of some quick brainstorming but that might give you the idea.

    cheers
Sign In or Register to comment.