-
2 Attachment(s)
Help me out.
Hello, I purchased the software a day ago and am already making progress on a simple level-based non-stop running platformer. Now, everything was fine until I got into this little problem.
Basically, I have a line that extends across the whole gamespace. When the line overlaps the blue block, it modifies its width not to go any further than that block. This works fine and dandy, except the line doesn't go back to its original width when it doesn't overlap the block anymore.
So, I created the same condition with a "negate" turned on. I looked in 'Help' and it looks like negate is "NOT". So, following simple logic, when the line is NOT touching a blue block it will go to its original value.
But, that's not what happens. What happens is the line begins to jitter, going to it's original value and back to the edited value really fast.
When I turn OFF the NEGATED condition - it works fine.
Attachment 11457
My Events:
Attachment 11458
Thanks.
-
Oh, just figured it out like 1 minute after writing this post. Always happens to me, I make a lot of posts and not post them because I figure it out when I start typing.
Basically what was happening is the blue line wasn't overlapping the blue block anymore when I changed its width - it was off by one pixel. I just had to +2 to the width of the blue line and now it was overlapping constantly, rather than overlapping one frame, and then not overlapping by one pixel the other frame.
-
If you get yourself away from thinking about how to fix something, you'll know the answer on how to fix it in like 5 minutes or so :)
So if you want to create a post (you're getting away from game making), you will soon know the answer to it.
-
haha this happens to me too.. I think part of it is, you spend time thinking of how to explain the problem for other people and then that sets off a more clear/logical understanding of the problem somewhere in the back of your mind.. and then you get that 'Aha!' moment.