Drag Object & Save Position
I have 5 different objects which user can drag on the screen.
I have few questions in my mind.
1) When I use reset attributes I do not want to reset those 5 objects which user allready drag. How to do that?
2) Total 5 same Objects used in 40 levels. I want to save those object positions once user compelte the level. How to do that? I have to use simple 5 save attributes for that? or 40x5=200 going to use 200 attributes for all 40 levels? Please explain
I have few questions in my mind.
1) When I use reset attributes I do not want to reset those 5 objects which user allready drag. How to do that?
2) Total 5 same Objects used in 40 levels. I want to save those object positions once user compelte the level. How to do that? I have to use simple 5 save attributes for that? or 40x5=200 going to use 200 attributes for all 40 levels? Please explain
Comments
2) So do this
Attribute game.level over is true
Save Attribute postiton of block 1x and block 1y and so on
You will need to save the X and Y for each of the blocks so u will need 10 attributes total
Cheers, Weswog
Cheers, Weswog
Constrain Attribute self pos x/y to device.touches.count.touch1.x/y
Thats all you need.
Making the drag-able actor have the same force up as gravity. (using accelerate)
Making a simple reset scene just the scene (not the draga-able)
That way the drag-able actors will stay where they are.
This should save many attributes and load time I guess ?