Page 1 of 1

Editor bugs

Posted: Sat Nov 29, 2008 2:08 am
by secret1
If you find anything buggy in the editor, post it here

For me I've found one BIG BUG! (and some others)

1. part no. added one digit each time you continue to editor your saved level

e.g. 1
12
127
1270
12708
127085
1270854


It'll go up endlessly

2. If you misinput the numbers for <-> and ^v, the core sometimes will be auto selected and changed, and the editor will then become unrespond.

I don't know if it was only ME who have encountered these problems

Please concern about them and fix it, please?

Re: Editor bugs

Posted: Sat Nov 29, 2008 7:57 am
by Mouzi
This is not really a problem with the editor, and I've already said this somewhere here, but the repeating triggers start to lag a lot over time.

Re: Editor bugs

Posted: Sat Nov 29, 2008 10:27 am
by MD
secret1 wrote:1. part no. added one digit each time you continue to editor your saved level
That is a weird bug, I dont know why it hasnt come up before. This also causes parts to be undeletable, once the part number becomes too big flash can't handle it. For now I'd recommend you open the Text Editor, find the troublesome part number, then remove that line of text (may want to copy/paste everything into a proper text editor so you can use searching functions and such).

~MD

Re: Editor bugs

Posted: Sun Nov 30, 2008 1:10 am
by secret1
Your method worked!

But when I tried to add a new part

It still cannot reset itself

That damn 7890823 still shows up

Even I've changed the part no. n text edit to e.g. 45

The part does turn into no. 45

But once a new part is added

It is not part 46

And there's 7890823 again!!

So

in order to finish my level

Is changing all 789082n to lower no. in text edit is the only way out???

P.S. Btw each time a new digit is added, there's always 7 at the leftmost side!!!

I wonder is there a problem in the flash coding of the no. 7??

Re: Editor bugs

Posted: Sun Nov 30, 2008 2:28 pm
by MD
secret1 wrote:P.S. Btw each time a new digit is added, there's always 7 at the leftmost side!!!
That's because flash (AS1, that is) implicitly determines the datatype of all variables and the + operator is overloaded to do both string concatenation and number addition.

i.e.: 1 + 2 = 12
the 7 is there cause you probably had 7 parts the first time you saved it, then when it went to add 1 it went 7 + 1 = 71, then it smartens up and everything after that is added as a number, so 72, 73, 74, etc until the next time you load the level.

This is why all the newer languages force type declaration. I'd love to port it over to Action Script 3..or Java...or even C++...but that'd be a lot of work so i dont see that happening any time soon.

oh and there is a fix i can do once i get around to it, just got to explicitly convert to an int...sorry you have to tolerate it for now

~MD

Re: Editor bugs

Posted: Sun Nov 30, 2008 6:20 pm
by secret1
O..........

Re: Editor bugs

Posted: Sun Nov 30, 2008 9:08 pm
by Mouzi
I always use variable*1 for JavaScript when it starts messing up integers and strings.

Re: Editor bugs

Posted: Mon Dec 01, 2008 1:39 am
by secret1
Finally I've finished my quantum base

But why I can't see it in the gallery even I've saved it as public?

ID: 8374

Re: Editor bugs

Posted: Mon Dec 01, 2008 2:06 am
by Mouzi
It's there, see? It's just on the next page.

Re: Editor bugs

Posted: Mon Dec 01, 2008 2:19 am
by secret1
O

Re: Editor bugs

Posted: Sun Nov 14, 2010 9:22 am
by asdasdg
I found another editor bug. I was trying to use the key combination of ctrl s to save my level but the key combination does not work.
Nothing big just little. It's something that I can live without but it is a bug.