Drag+Drop and forgetting my name

gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
edited November -1 in Working with GS (Mac)
Hi to all my old friends if ya remember me, hope all's been well; hi to all the new guys and galls also! I've been skulking, or something. Looked at the new games on the store; terrific stuff happening!

I've not been using GS for quite a few months now. For interest, Boto and the Isms has been put on the backburner for a while; now trying other types of games first. I'll finish a game one day. Hopefully. Maybe. Probably.

OK: for the latest project I hope to start and finish involves Drag and Drop. I'm definitely out of practice with GS; can't work out what's going on:

Small test: two actors; first with rules:

When touch is pressed
Change Attribute: self.dandd to true
Constrain Attribute: self.position.X to game.Mouse.Position.X
else
Change attribute: self.dandd to false

Works fine, can drag actor left and right. However putting identical rules in actor 2, except changing X to Y, actor 2 can't be dragged. Any help appreciated what's going on here, thanks!

Oh yes: forgetting my name....not really! Made you look though, didn't it! But I have forgotten a basic aspect of GS though. When I download a project, I thought I remembered that the extention should be changed to .gameproj

Every time I do that and try to open it, GS bombs. Some'at ain't right...

:-)

""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

Comments

  • quantumsheepquantumsheep Member Posts: 8,188
    Hey mate, great to hear from you again!

    Change the file name to .zip - then when it downloads, double click to unzip and voila! New game downloaded!

    Hope that helps!

    QS :D

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    quantumsheep said:
    Hey mate, great to hear from you again!

    Hiya QS, thanks! Good to be back, as they say!
    quantumsheep said:
    Change the file name to .zip - then when it downloads, double click to unzip and voila! New game downloaded!

    Certainly does help, thank you. D'oh and double d'oh; how did I forget that? I'll be forgetting my own name next! Oh, done that one... ;-)

    Any help out there for the drag and drop prob please?

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • RHRH Member Posts: 1,079
    Weird, I was on your profile literally yesterday!

    As for the question: you sure you changed both the self.position.X and game.mouse.position.X? That's all I can think of, too late :(

    There are tons of drag and drop demos, I have some on my profile as well I think.
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    Hi RH, long time no hear also!
    RH said:
    Weird, I was on your profile literally yesterday!

    Spooky! Hehe!

    Thanks for your advice, appreciated; I've looked at a couple of demos but all the ones that would help are non-downloadable unfortunately...I'll plough on trying to find one that can solve it....unless someone else can advise...

    PS I'll check out your games, thank you; fingers crossed! :-)

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    Hi, for the record, I got it working by making all the objects instances of the one actor. I guess I'll work on this, changing the graphic as necessary in the Rules. Thanks. :-)

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

Sign In or Register to comment.