Does Behaviour Off not work instantly with duration Behaviours?
-
Lemme do some more testing, if I come up with something I’ll post a test project link.
-
@Thecheater887 Behaviour On, for Set Colour, doesn't seem to work even without having a wait behaviour anywhere in the mix. I have to turn it on, and then fire an Execute Behaviour to get it to work.
Making a lie out of this bit of the documentation:
"Behaviour On: Enable any disabled behaviour on your screen and cause it to execute immediately".
-
@Deeeds if you have “skip events” (I think that’s what the toggle is called) on, it will execute immediately.
-
@iTap-Development You surmise.
Not true.
-
@Aidan-Oxley said in Does Behaviour Off not work instantly with duration Behaviours?:
@Deeeds You could try putting all the spawned objects in a tag, then just whenever they disable themselves they trigger another object to enable the tag again (with restart behaviours turned off), shouldn’t make any difference to those already enabled.
I’m pretty sure turning on a behavior that’s already on will actually trigger it, just like an execute behavior.(as long as skip events is on, or it’s not connected under other behaviors)
-
@iTap-Development Read up a little...
Behaviour On, for Set Colour, doesn't seem to work even without having a wait behaviour anywhere in the mix. I have to turn it on, and then fire an Execute Behaviour to get it to work.
Making a lie out of this bit of the documentation:
"Behaviour On: Enable any disabled behaviour on your screen and cause it to execute immediately". -
Look at the screenshot at the start of this thread:
https://forum.hyperpad.com/topic/763/understanding-behaviour-priority
or it’s not connected under other behaviors
-
@Deeeds said in Does Behaviour Off not work instantly with duration Behaviours?:
Making a lie out of this bit of the documentation:
"Behaviour On: Enable any disabled behaviour on your screen and cause it to execute immediately".
In reply to this statement. http://bit.ly/2iFDIDv
Surmise? Surprise! -
@iTap-Development Have you read above? Stayed up on the thread this extends from?
-
@Deeeds I made the project because of this statement... “Making a lie out of this bit of the documentation:
"Behaviour On: Enable any disabled behaviour on your screen and cause it to execute immediately”.Have you played the project?
-
This looks like a bug. If you guys find more behaviours that don't turn off immediately, Make a new thread with a list of them and please just reply with another behaviour that doesn't turn off immediately.
-
@Hamed A holistic approach to this is that all behaviours be interruptible, from anywhere, anyhow, anytime, on any given object.
There's a better way than the current "restart on restart of same behaviour" approach, and that's an object specific and behaviour type consideration, that instantly overrides any behaviours of the same type on any object.
An example, so that this can make some sense:
A rollover, in a game, that scores when the player's character moves over it, and lights up, has four basic states
-
Untouched
-
Touched
-
Touching
-
TouchEnded
Due to the lack of states and a bunch of other issues (no referencing or addressability of objects), the best way (that I've found) is to communicate with the rollovers via Broadcast and Receive.
This is particularly true if spawning a dozen or more rollovers into positions within the game world.
A message is sent to the rollover, from the hero's contact filtering, to say the touch has ended, and the rollover begins an animation to show that it's no longer being touched. This animation might be made up of a scaling effect, a couple of Set Colour changes, maybe even a blend mode change, and a slight positional "hop" and other visual "effects", perhaps its own sound etc etc... All of which are created to get around the lack of spritesheets and bitmap fonts...
However, having left the rollover behind, the hero character could turn around and reTouch the rollover while the TouchEnded animations are still running. Meaning that all of these animations and events need to instantly stop so that the Touched Animations can state and be instantly entered, in their right initial states, visually correctly.
This, currently, can't be done because Set Colour, amongst others, aren't interruptible.
Similarly, the visual effects that mark the touching state need to be instantly torn down and interrupted when the player's character moves off the rollover, from touching to TouchEnded.
If a given type of behaviour is evoked on an object, anywhere, anyhow, anytime, all behaviours of the same type (on that object) instantly stop, and the new behaviour starts from there. This is the most basic sort of interruptibility, and what I'd assumed would happen.
Because there's a lack of states in hyperPad, this most basic type is the most egalitarian way to provide interruptibility.
-
-
@iTap-Development Don't be ridiculous. Stay in context. Please.
-
@Deeeds @iTap-Development Would you two bury the hatchet? I hate having to duck every time the two of you are in a thread together.
-
@Thecheater887 Sure. Just as soon as iTap stops private messaging me, and swinging at straw men.
-
I messaged asking if he would make a new topic in the general category if it he wants to go off topic(I will try to do the same) or if he would private message.
-
@iTap-Development Bullshit!
You insinuated I go off topic when I'm attempting to find ways to help you consider the context OF THE TOPIC. I do this foolishly, attempting to prevent you from wasting time on yet more straw men. I've come close to berating you for your continuous attempts at building straw men to swing at.
This is just a request to stop.
You posited another two in the most recent private message. And are now trying to insinuate you've good intentions... or something.
Please stop private messaging me, and positing and swinging at straw men you make up from whatever contextless miniature you glean from my posts.
I don't care what your motivations are.
-
@Deeeds besides the 3 messages I sent 20 days ago, I’ve only sent one. But I won’t message you, that’s fine.
-
This was the message to deeeds.
“If you’d like to go off topic about how I think(and many other things) in the future, can you just start a new topic in general? Or message me? No one else enjoys it.”
I’ll explain it....I sent the message because of his post in this thread about “how I think” https://forum.hyperpad.com/post/5270
I was just asking if he would create a new topic, or private message.
“And no one enjoys it”, because of @Thecheater887’s post about burying the hatchet. And the fact that the thread was locked. -
Oh. My. God.
You two need to cut the shit.
I don’t care who messaged who, or when how why you. This is a PROGRAMMING FORUM. There’s two keywords there.
PROGRAMMING, and FORUM.
First, let me cover PROGRAMMING. Programming is the act of commanding an electronic device to do your bidding.
Now, FORUM. A forum is an internet messaging board where people from around the globe can share ideas, debate opinions, and discuss issues.
In neither of those definitions is there room to fit “Flame”, “Banter”, or “Bash”.
Now, let’s go over how to use a FORUM.
First, somebody, or original poster, posts on a topic that they feel needs discussed or brought to light. Users then respond with additional information, resources, or ideas relating to the original post, until an agreement is reached, or all necessary information is collected.
Now, disagreements, miscommunications, and misunderstandings are inevitable. This is when, in an orderly fashion, the users have one of three choices.
- discuss the pros and cons until an agreement is reached
- dismiss the topic to prevent further turmoil
- go apeshit at each others necks like a bunch of baboons
Now, if they choose the first option, the most productivity is afoot. The discussion can properly move forward after the correct answer is determined.
Should they choose the second option, it raises the tension of everyone in the discussion, but prevents and needless shenaniganry.
Then there’s the third option. The option where “hi” turns into “I have a boyfriend”, and you swear you could hear a retro arcade machine if all the vulgarities were censored. That’s the option seen here. This option often requires moderator intervention, and always ends in a malicious magma mound. Everyone is so busy defending themselves, or striking back, lots of replies are used, the topic is discredited, the users despise each other. On top of all that, nobody remembers what the original topic or information was about, entirely defeating the purpose of the discussion.
The users that refuse to get involved in this senseless violence are often found ducking, dashing, sliding, and tiptoeing over and around mines, bullets, and grenades. Not only does it greatly distract them from the topic at hand, but should they get hit? The war has another combatant on the battlefield.
Now that I’ve explained that, I want to see more threads looking like goldmines of valuable information, and less like a solo match of PUBG :)