Typing bug when reaching 10000 lines of code and severe slowdown if 100000 or 80000 lines reached
-
If you manage to reach 10000 lines of code the cursor will overlap the last digit, so when you type an a or b etc the first letter will overlap the last line number also if you were to try to make a large program exceeding ,line # 100000 the code editor starts to run very very slowly.
-
good to know... and ya, the 10k line overlap is kinda annoying...
-
We'll look into this, thank you @Rex9000
-
Given the line numbers are sequentially added one by one.. it's astounding how new this is and you've already discovered this limit :) WOW.
-
@Ancientspark said in Typing bug when reaching 10000 lines of code and severe slowdown if 100000 or 80000 lines reached:
Given the line numbers are sequentially added one by one.. it's astounding how new this is and you've already discovered this limit :) WOW
A lot of pasting and having a "what if" moment can demonstrated it quickly. :P
-
@Discostew lolz pretty much
-
I want to know if this is a legit bit of code or a silly test.
If it is legit code, PLEASE SEND IT TO ME!!! :) :) :)
-
@MikeDX It's not legit code I was just testing it to see how far I could go so I wrote like a command (1 or 2 lolz) copy and pasted and saw that at about 80,000 to 100,000 lines it had slowed down a lot. I'm just starting to try to learn this and I really don't code at all so you know i was just trying to improve Fuze by telling them about the editor slowing down and the 2048x2048 sprite issue where you can't draw on the whole image so it kinda limits sprite sheets sorta and the 10,000 line issue where the first letter overlaps the last zero in the number 10,000 and so on. I just figured they should know that's all.😅
-
@MikeDX
Im not sending my legit 10,893 lines of code...
But I can tell you it runs fine... menus get a little wonky, mostly bookmarks and keyboard sometimes distorting, i dont think help has any issues, but, at that point I didnt need that menu... -
@Alexander said in Typing bug when reaching 10000 lines of code and severe slowdown if 100000 or 80000 lines reached:
@MikeDX
Im not sending my legit 10,893 lines of code...
But I can tell you it runs fine... menus get a little wonky, mostly bookmarks and keyboard sometimes distorting, i dont think help has any issues, but, at that point I didnt need that menu...My pacman code is around 4000 lines. It's not without issues in the current release.
I think what really appeals to me about your code more than anything is that you haven't really reported any bugs! This is awesome.
-
@MikeDX
It's relatively solid in infrastructure...Im confused about drawing 3d objects... Im now thinking of the drawobjects as:
drawobjects ( insert objects to be drawn )
but then that confuses me because... Idk the syntax for that...
So if you could offer insight on the 3d drawing of objects in a not-so-basic ( coding for dummies ) way of understanding i would appreciate it...
Its easier for me to break down a harder idea into a simpler one and work with what i need...
I also want to draw several objects at once... as its own object... so....Once i figure out the math, I'll be able to make games like FEZ and the such...
I did have issues initially but, I will blame myself before the program and eventually fixed alot of the issues...
I seen alot of people complaining about problems but, their code is... well, their code is the problem...What is fun is perusing the forum and seeing how people have made several ways to display things...
Text to sprite for one is a neat concept... could use that in place of multiplayer games for an easy color swap...One issue I had, was with image drift... or trailing... so one image would be like 1 or 2 pixels from another one whilst it was moving... and I associated that with the distance between the two images... in code, but the code runs so fast I didnt really think of that being an issue... so, like i said before, It could be me not placing the objects close enough rather than the program itself, because when the image stopped moving it would be perfect.
I haven't programmed in like 3+ years but, its like a bike... I coded consistently for 6 and made the best UI in the community so when we would do gamejams that was usually my task, but... I also ended up bug fixing, and then fixing things they wanted but then having to revert them back because even if thats what they asked for, thats not what they wanted... also taking another persons code and transforming it to our needs... aswell as general creation... But, for other peoples projects I allowed them to make the art, 1. because it's easier to stick to their idea of a game, and 2. they appreciated it more... I just liked it working... Remade Metroid with a friend, transition was a hard concept in a 3d space, mostly because i had to physically destroy alot of the points, and use the code ive deemed mine because, well, frankly... it works and no one told me about it... another reason i dont care to share my code... You learn alot by struggling... I remember my first question on that forum... "How do I make a Start Screen" which at the time was crucial to me and now the idea of that is so trivial, I can understand why I recieved no response... Even my game with its 10,893 lines of code has no such screen but, i can probably get one in there rather quickly refreshing to a zero state.
I got 99 problems but FUZE aint one...
( except waiting for the update to obtain the ability to create a sprite sheet, not really a problem, just... It helps with using the code given to me )
It's probably why I havent delved into making a game with sprites, just background images... Im thinking of creating a seperate image for 1080 resolution... even though my tv runs at 720p, docking forces 1080 so, i just created a simple resolution switch... meh....Im telling you though, creating a 3d object editor would be awesome...
Look at magicavoxel for inspiration...
and uhhh, If you can explain the drawobjects thing i asked about, that would be highly appreciated... cause...
I want to make a specific 3d game....Also, save states? and uh.... compiling the game as a program to be put on a home screen would be a benefit... So i can just run it instead of loading the code and then pressing run.... my wants for the future...
-
@MikeDX
also, I crashed the game when using the 3d objects initially, I created too many 3d objects, something about exceeding memory limit...If you could tell me what is the object limitation that would also be a good foundation...
Ive read on other posts the limitation is your disk space, but obviously the game crashed because it just wouldnt stop... So i can assume aswell that if you ran that line of code where it just prints the same thing over and over and over and over it would also crash...
but thats a difference in kb to mb... and the intial lines of code are so small that the program is saved small but its the creation of all that information that is crashing through memory... thats my logic of the situation..