Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - yoplalala

Pages: 1 ... 95 96 97 98 99
1441
Resolved Questions / Re: What is a weak listener ?
« on: December 10, 2014, 11:58:41 am »
Thanks.


Edit : In  fact it works ! It was indeed that.
Thank you every one !


1442
Resolved Questions / Re: What is a weak listener ?
« on: December 10, 2014, 07:52:04 am »
Thanks for the reply. But it wasn't that. I found where is the problem. I think it's is a bug but I 'm not sure.

In fact my AnimationNumber is an item in a  game list  attribute where all items are set by default to 0, so it appears like this  [0.0,0.0,0.0,0.0]

When I set my animationnumber to animationNumber +1

In flash, it is equal to 1
In deskstop, it is equal to 0.01 (So obviously he doesn't find the animation)

Do you think I should post it in the bug section of this forum ?

1443
Ask a Question / Re: Ninja Ki need Help
« on: December 08, 2014, 03:32:44 am »
Sorry.
Like letmethink said, I didn't understand your problem.
I cannot help you so much as I haven't had the need to use joints yet.

But for the code you posted.  Shouldn't you put :
When the mouse is pressed on actor instead of when the mouse is pressed block ?

You also put between a distance joint between "self" and "self" . Shouldn't you put it between the actor and the block ?

Your actor event is it an actor event for the ninja or for the block ?

1444
Resolved Questions / Re: What is a weak listener ?
« on: December 08, 2014, 03:26:47 am »
So it has nothing to do with my problem ?

The switch animation doesn't work in native windows when it works in flash.

In the two prints, it tells me the animation is animation 0

Is it a bug ?

1445
Ask a Question / Re: My Games That I made are not working
« on: December 07, 2014, 01:02:35 pm »
Humm. You can export your game and then import it. Sometimes it works :)

1446
Ask a Question / Re: How to switch to scene with custom name?
« on: December 07, 2014, 07:39:42 am »
Put a print block. You can find it in the palette/Flow/Debug
Copy the block which in you switch block ( scene with name ......) into it.
What is printed ? Is it same as your scene name ?

1447
Ask a Question / Re: Ninja Ki need Help
« on: December 07, 2014, 05:59:55 am »
Non I don't mean that.
I meant you have to decompose your character (no to this extreme, but maybe in three : legs, torso arms)


There is two tutorial on joints on youtube. It 's not used as in the case you want, but it still helps to understand.
https://www.youtube.com/watch?v=N17umSSHYQQ
https://www.youtube.com/watch?v=rfaX4FAa1uc

Do you have the animation for your climbing character or your gliding character ?

1448
Ask a Question / Re: Ninja Ki need Help
« on: December 07, 2014, 05:06:37 am »
What is the movement of swinging ?
To have the swinging motion,  the legs should be able to move separately from the torso and the arms .
This is why you can't have "one actor" for you ninja, you'll need at least three.
The joints will be used to attach the legs to the torso to the arms

1449
Ask a Question / Re: Ninja Ki need Help
« on: December 07, 2014, 04:33:45 am »
Hmm. I don't know abourt distance joints and anything. But to to use it, shouldn't your ninja actor be divided in multiple actors ( leg actor+arm actor+whatever you need for your movement). Is it the case ?

1450
Resolved Questions / [Solved] What is a weak listener ?
« on: December 07, 2014, 04:18:03 am »
I'm trying to compile to native and I have this error :

EventDispatcher.hx:28: WARNING: Weak listener not supported for native (using hard reference)

Do somebody know what it means ?

1451
Ask a Question / Re: Multiline Text Box
« on: December 05, 2014, 02:59:46 am »
I don't know. But maybe you could try the dialog extension http://www.stencyl.com/developers/market/ ?

1452
Yes there is. There some code blocks in the palette /flow/Advanced.
There is also dashboad/logic/code if you want to write entirely in code and not use blocks.

1453
Ask a Question / Re: Point weapons in same direction as character
« on: December 03, 2014, 09:56:54 am »
You could create an attribute which will indicate if the animation of the player  is left or right that you will chznge everytime you change direction.
Then in your always block. You could put some conditionals
If the animation of the player is left then set to x   with this animations
Else .....................

1454
Ask a Question / Re: Behaviour for Animation not work
« on: December 01, 2014, 10:12:29 am »
If you want the frames to go 0-1-2-3-0-1-2-3-...  check looping? in the animation properties
or you want to do 0-1-2-3 only once, I don't know.

1455
Ask a Question / Re: Collision of Square (Block Stuck)
« on: November 30, 2014, 01:57:36 am »
Do you need collision ? Can't you do everything by algorithm?

I mean you image looks like a 2D list.
You could have a list withs lists inside.

The algorithm will do some thing like this.

[[b,b,0][b,b,0][b,0,0][b,b,0]]
so if you want to put your block in th third row.
you look the third []  [b,0,0]
and see that there is a 0 and replace with b.
Because it's a second item, you will make it make fall for only a 100 px.

You can use one of the 2D list extension. With it it will be more simple to do I think

Pages: 1 ... 95 96 97 98 99