123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|434|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> JSE -> JSE - Notify and Graphic bug

Fri, 13 Dec 2024, 12:41
Dan

JSE - Notify and Graphic bug


Today i have discovered some new bugs ... first i wanted to display something in the console with the Debug On / Debug "" ...
But as it didn't worked i noticed this command: Notify.

Now i used Graphics 630,250,1

But the notify command didn't worked.
I tested the example code in the new window, and this did worked ...

So playing around a bit, i noticed that it does show up on different resolution.
I wrote a program to demonstrate it:

  --v

Press A to advance.

You may notice that, after going from 8xx,xxx to 630,250 the graphics does not Show up as it was at the 1st call of the Graphic command.
Fri, 13 Dec 2024, 13:03
Jayenkai
Oh yeah, seems to be notifying to the bottom of the screen instead of the bottom of the "screen" .. I think.
K, I'll tweak that after.

As for Debugging..
Debugmode On, then DebugLog "something" , and it shows up in the FPS display.

-=-=-
''Load, Next List!''
Sat, 14 Dec 2024, 02:15
Dan
Ah i see. Turning on the FPS display was the thing that i haven't done !
I was opening the google chrome "Developer Tools" because the Help page is saying:


"Switches Debug mode on or off. Anything sent using the command Debug will then end up in the browser's Console log.'"


and


Sends the requested string to the browser's console log.



Can you update the JSE command list to point out that the FPS button has to be turned On for the console to show up?
Sat, 14 Dec 2024, 02:26
Jayenkai
I can probably get it to debug to the console, too.
I chose to use the FPS display because mobile devices tend not to let you open DevTool

-=-=-
''Load, Next List!''
Sat, 14 Dec 2024, 02:32
Dan
I think the fps log is ok, its just that next time when i need it, i may forget that it's on the FPS button and if the help file does not mention it ...
Sat, 14 Dec 2024, 02:43
Jayenkai
Just be aware that JSE tends to clear out the console log (dev tools) a fair amount, so a lot of the time, what you'd want to be there, won't be. The FPS box is much more usable.

-=-=-
''Load, Next List!''
Sat, 14 Dec 2024, 03:24
Dan
The notify command adds to the Dev tools log, so it's ok.
Sat, 14 Dec 2024, 04:39
Jayenkai
JSE v.3ghz

Tweaked the Notify to (hopefully!!) fit on the screen, all the time.
Added Debug to DevTools consoleLog.

-=-=-
''Load, Next List!''
Sat, 14 Dec 2024, 08:56
Dan
I wont open a new Thread for this, but i have found another bug:

  --v

The 128 shr 0 should return 128 but JSE returns 0
Sat, 14 Dec 2024, 09:20
Jayenkai


LOL.. Such groundwork fail!!

That'll be these two lines, then..
That a<1 should be a<0.
*tsk*

OK, I *have* uploaded the fix, but you might need to close your browser and force a refresh before you see it, as it's still called v.3ghz
I'll leave a proper upload until I've managed to figure out how I'm doing the MP3-inside-the-zip thing.

-=-=-
''Load, Next List!''
Sat, 14 Dec 2024, 15:05
Dan
Ok Thanks !