Drag+Drop and forgetting my name
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...
:-)
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...
:-)
Comments
Change the file name to .zip - then when it downloads, double click to unzip and voila! New game downloaded!
Hope that helps!
QS
Any help out there for the drag and drop prob please?
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.
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! :-)