To be or not to be ... character does not appear. [disSOLVED]

Started by I<3Pindorama!, Tue 13/01/2015 19:41:25

Previous topic - Next topic

I<3Pindorama!

I would like to ask for a little help with the issue of characters.
When I use the command to animate and make the move does
not appear the VIEW selected but only the blue cup.

The command I'm using in the room is:

Code: ags
character[1].ChangeView(8);
cDgF.Animate(cDgF.Loop, 1, eRepeat, eNoBlock, eForwards);
cDgF.Walk(769, 314, eNoBlock, eAnywhere);  


Am I forgetting something?


Setting the character-not-player:



Thanks for any help!

Mandle

Hmmmm...At a guess I would say try it without the:

cDgF.Animate(cDgF.Loop, 1, eRepeat, eNoBlock, eForwards);

I say this because ChangeView should change the character's walking view and as your next line is a Walk command I think that should do the trick...

If not: Have you tried LockView instead of ChangeView? I remember having some issues with these commands and I ended up using LockView, but can't remember the exact details sorry...

I<3Pindorama!

#2
When we make a stupid question, any little help is golden.
And you were more than generous my friend Mandle. Thanks!

Shame on me ...

After that I will have
to return even my white belt.

I was so used (or addicted) to animate only objects that
I just ignored that in the case of characters was necessary
to place the animation sequence of images in each of the LOOP
directions (left, right, up, down, downleft, downright, upleft, upright).


LOOPS supplied with the sequences of images
now the friendly blue cannikin was replaced
by the image! Everything in peace now?
No ... :D



Cause when I put the following commands new questions appears:
which I hope to be less stupid than the first that i make

Try this command:

Code: ags
cDrgFly.LockView(8);
cDrgFly.Move(760, 360, ENOBLOCK, eAnywhere); 
cDrgFly.Animate(0, 1, eRepeat, eNoBlock);
cDrgFly.UnlockView();

MOVE or WALK

What I expect to happen:
That the non-player-character move animating to the area indicated.

What happen:
Nothing... :D

The non-player-character just stay stopped and inanimate.

And try this command:

Code: ags
cDrgFly.LockView(8);
cDrgFly.Move(760, 360, EBLOCK, eAnywhere); 
cDrgFly.Animate(0, 1, eRepeat, eNoBlock);
cDrgFly.UnlockView();

MOVE or WALK

What happen:
Now it's move...
But inanimate...:D


What I expect to happen:

And free... without "waits"... no blocks!

...

I'm not doing something fundamental,
just do not know exactly what it is ...



I<3Pindorama!

#3
Man... i wanna kill me with pain!!! :P



Now it's animating!

Code: ags
cDrgFly.LockView(8);
cDrgFly.Animate(0, 1, eRepeat, eNoBlock);
cDrgFly.Move(760, 360, eBlock, eAnywhere);
cDrgFly.UnlockView();


But if i use eNoBlock in the Move comand the character stay stopped.
I also tried to use the AddWaypoint command but did not get any effect with
there was no addition of a new movement.

And if I use Walk instead of Move the character moves but not animate
and AddWaypoint dont work.



Why??? Why??? Why???


I<3Pindorama!



Code: ags
cDrgFly.Animate(0, 1, eRepeat, eNoBlock);
cDrgFly.Move(760, 360, eNoBlock, eAnywhere);
cDrgFly.AddWaypoint(960, 360);



Man, what a relief ... orgasmic!

I<3Pindorama!


SMF spam blocked by CleanTalk