I found a bug's nest, small one...

Started by Ishmael, Mon 20/10/2003 19:58:27

Previous topic - Next topic

Ishmael

Okay, a list to go...



[ 1 ] The help has GetGlobalInt listed twice... above and below GetGameSpeed... This isn't a bug, but thought to let ya know... If you allready don't.



[ 2 ]

This meant to happen?
I had two lines in the object script script:
(the first line is run at the picture)
Code: ags
    DisplaySpeechAt(10,140,50,ROG,"(SQUEAK, SQUEAK)");
    DisplaySpeech(EGO,"It seems to be stuck...");

When I changet the first of those lines to
Code: ags
    DisplaySpeechAt(0,140,70,ROG,"(SQUEAK, SQUEAK)");

The problem was fixed.

It had worked before, with the script mentioned above in form
Code: ags
    DisplaySpeechAt(10,140,50,ROG,"\[SQUEAK, SQUEAK]");
    DisplaySpeech(EGO,"It seems to be stuck...");

But since the [ and ] don't have outlines, I changed them, and this wierd optical disorder appeared.



[ 3 ] In the room shown above, I have four walkable areas, that are turned on as the objects are turned off. The areas have common scaling, so you don't notice they are diffrent areas. All scale up from 100% to 120%

If I increase the game speed, trough my custom settings dialog, the character walk speed remains the same as before when moving the character around (ProcessClick(mouse.x,mouse.y,MODE_WALK) run), and when I interact an object (MoveCharacterBlocking run), the character moves fast, as it should with game speed at 120.

After the room chages, the speed of the character is normal, relative to game speed, and the other room has scaling walkable area from 100% to 130%.


I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

Pumaman

#1
Quote[ 1 ] The help has GetGlobalInt listed twice... above and below GetGameSpeed... This isn't a bug, but thought to let ya know... If you allready don't.

Hmm good point thanks, I'll get that fixed.

QuoteThis meant to happen?
I had two lines in the object script script:
(the first line is run at the picture)

If the width you specify to DisplaySpeechAt is less than the width of a single word, strange results can occur, as you noticed. Probably the reason it started happening was because ( is a slightly wider character than [, which just took the word over 50 pixels wide.

QuoteIf I increase the game speed, trough my custom settings dialog, the character walk speed remains the same as before when moving the character around

I'm not sure why this would happen - the game speed dictates how many times per second the character moves, so it should take effect immediately. Are you certain this is happening?

Does your custom settings dialog adjust the Game Speed, or the character's Walk Speed?

Ishmael

2: All righty :)

3: I set the game speed. It works perfecly in other rooms with scaling up or down. If I return to the room later, it still does that. just like if the game speed would be 40 every time the character is told to move, and the number set in the settings when interaction objects etc. I narrowed it down to just the walking.
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

Pumaman

Can you turn on the FPS display and check what actual speed you're getting? It could be that for some reason on that screen it happens to be that 40 fps is the top speed for some reason.

SMF spam blocked by CleanTalk