Load Actor into scene
harrywatson
Member Posts: 61
Simple question,
Well not simple. Lets begin with the stick.
You find the stick and the rules are: stick
interpolates to inventory. (gameX gameY).
saved in table cell value.
stick overlaps 'inventory slot' and 'item tray'.
saved in table.
'inventory slot' shifts along 'item tray' 'move > '
Next 'item' follows 'inventory slot' and all
the items fall in line just like they've been told.
You load actors 'items' by putting them in every
scene.
Problem is once my actor is saved in table it's
constrained across scenes. (which is just what I've
told it to do). Boo hoo! I can't save them in a hidden
place across scenes. The teddy bear is saved in a weird
position in the next scene. O help, might need to
restart all my code. But I want 'Teddy or stick'
to be hidden off scene until they are selected and
overlap or collide inventory slot or item tray.
Of course 'teddy or stick or ball' need to be visible
on the landing scene. Not in subsequent scenes.
but constrained to the item tray.
Actually I've tried self attributes etc.
Already there are many rules on each actor:
'if not stick - teddy' 'if not ball - teddy' & so on.
That's for selection to open door works nicely.
If someone gets interested in this problem I'd be
more than amazed. Might need to dropbox the code
for that. XXXX (happy face here)
Well not simple. Lets begin with the stick.
You find the stick and the rules are: stick
interpolates to inventory. (gameX gameY).
saved in table cell value.
stick overlaps 'inventory slot' and 'item tray'.
saved in table.
'inventory slot' shifts along 'item tray' 'move > '
Next 'item' follows 'inventory slot' and all
the items fall in line just like they've been told.
You load actors 'items' by putting them in every
scene.
Problem is once my actor is saved in table it's
constrained across scenes. (which is just what I've
told it to do). Boo hoo! I can't save them in a hidden
place across scenes. The teddy bear is saved in a weird
position in the next scene. O help, might need to
restart all my code. But I want 'Teddy or stick'
to be hidden off scene until they are selected and
overlap or collide inventory slot or item tray.
Of course 'teddy or stick or ball' need to be visible
on the landing scene. Not in subsequent scenes.
but constrained to the item tray.
Actually I've tried self attributes etc.
Already there are many rules on each actor:
'if not stick - teddy' 'if not ball - teddy' & so on.
That's for selection to open door works nicely.
If someone gets interested in this problem I'd be
more than amazed. Might need to dropbox the code
for that. XXXX (happy face here)
Comments
in the next scene my item isn't 'off screen' where I dragged it but is in exactly the spot
the table cell value is telling it to be. Zip File. >>
Sorry if it was not explained well enough. It was a difficult
one. Now, however I've almost completed my own point-click-game code.
I thought it might take a year.
Last job is to store my door values in a table (true = open false = shut I guess) Then when that's true, the player is able to click through to the next scene.
If anyone has any ideas, I'd be happy to hear them.
Meanwhile thanks to all those who had a look.
Happy Day
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User