Game Maker's Garage Forum
Game Creation => GameMaker => Topic started by: Al Staffieri on July 11, 2008, 05:36:59 AM
-
Here's the list of bugs reported and fixed (or being fixed). If anyone knows of any others, please let me know. I haven't been able to make the click areas bug happen, so it's not listed here.
7/11/08 - Creating a string with a$ = "hello" will add the ending quote to the string if there is more than one space character on either side of the = sign. Workaround: If this happens, check the line of code to make sure there is only one space character on each side of the = sign. Status: Working on a fix.
7/11/08 - Erroneous "String exceeds 255 characters" bug when adding strings together in compiled games. Status: Fixed for the next update.
07/01/08 - Line of code after END REPEAT is not being run unless the REPEAT loop is inside an ON event structure. Work Around: If your REPEAT/END REPEAT loop is not inside an ON MOUSEDOWN, ON MOUSEUP, ON TIMER, ON KEYDOWN structure, then leave a blank line of code after the END REPEAT line. Status: Fixed for the next update.
06/17/08 - Using a semi-colon at the end of a PRINT command can make text on the card disappear. This happens only in compiled games. Status: Fixed for the next update.
06/17/08 - REFRESH TEXT does not refresh the card text if the card did not have any text showing to begin with. This happens only in compiled games. Work Around: Use CLEAR TEXT if you want to erase all card text. Status: Fixed for the next update.
03/12/08 - Attempting to display sprites numbered from 10 to 20 may not work in compiled games. Status: Fixed for the next update.
-
What do I call the next update? I'm at 3.9.9 so I ran out of numbers. I'm thinking 3.9.9a. Any other ideas?
-
How about 4.0 lol
-
3.991, or what alias said 4.0
-
I like 3.9.9a.
-
I got a question, Since gamemaker 3.9.9a is gonna be able to have 20 sprites will it load sprites faster and not cause a serious slow down?
-
Actually, I think it will fractionally slow down sprite manipulation.
-
What do I call the next update? I'm at 3.9.9 so I ran out of numbers. I'm thinking 3.9.9a. Any other ideas?
You could call it v3.9.10 or 3.10. There isn't really any limit.
-
Actually, I think it will fractionally slow down sprite manipulation.
So your saying that it will slow down the sprites?
-
So your saying that it will slow down the sprites?
I assume so, but only marginally. I could be completely wrong though.
-
Well we shouldn't worry assumably GM 4 will be able to handle lots of sprites perfectly.
-
The speed difference is so minor that I couldn't even notice a difference even when timing it.
-
How can you time it?
-
I'm releasing an update tomorrow. It will be version 3.9.91
-
Well we shouldn't worry assumably GM 4 will be able to handle lots of sprites perfectly.
GameMaker 4.0 will have unlimited sprites.
-
How bad would it get if i had say 50 sprites?
-
How bad would it get if i had say 50 sprites?
I'm coding sprites differently for v4.0. You'll be able to use as many sprites as you like (well there might be a really high limit like 1000 or something) and it should be a little faster than the current sprite system unless you are using a lot of sprites. But if you need a lot of sprites in the window you may not need much speed if they are used for things like items, characters, etc.
-
What will the code limit be, and will we have SUBFUNCTIONs?
Also can you implement masked sprite collisions instead of just rectangular ones???
-
What's a subfunction?
-
their also known as functions, or procedures and even subrouteins.
they work like this
SUBFUNCTION (name)
code
ENDSUB
the code isnt activated untill you use a DOSUB(name) command, or somthing along those lines.
-
Oh, so like methods that you can actually write in the game? Sounds useful, but regular methods are enough for me.
-
GM has methods?? lol
They are also known as methods btw, i dont know how GM or SC does it but usually they are declared within the code. In C++, C, BASIC its usually like that.
But i guess it works the same way anyways.
-
I'm working on methods.
-
So is 3.9.91 ready yet? I really need it for labyrinth.
EDIT: You said it would be ready tomorrow and when you said tomorrow it was July 17th therefore July 18th is tomorrow which is today.
-
OK. Try this out and let me know if there's any problems before i officially release it everywhere.
http://users.aol.com/macgamemaker/GMUpdate340_3991.zip
-
[size=24]DON'T RELEASE IT YET.[/size] I can't get labyrinth to work with it. It keeps on saying nested repeat not allowed. Didn't you fix that bug? I can get it to work with 399 but not 3991 so you need to figure out what went wrong.
EDIT: Also a feature I would like is that you can hide sprite with variables like this SPRITE -number 5 5 wall6.gif instead of Number = Number * -1 SPRITE number 5 5 wall6.gif That way I can do so much more.
-
Won't "SPRITE -var" work?
-
No you have to make the value of var = to a negative value
-
Number = Number * -1
"var = -var" works as well. It's undocumented.
-
Wow, GM really needs a huge manual. There are so many neat things and undocumented code snippets, that games previously unachievable can now be made. Cool! 8)
-
[size=24]DON'T RELEASE IT YET.[/size] I can't get labyrinth to work with it. It keeps on saying nested repeat not allowed. Didn't you fix that bug? I can get it to work with 399 but not 3991 so you need to figure out what went wrong.
Can you send me a sample that doesn't work?
EDIT: Email it to me. My email address is in my profile.
-
Wow, GM really needs a huge manual. There are so many neat things and undocumented code snippets, that games previously unachievable can now be made. Cool! 8)
Yeah, personally I love the thrill of experimenting in the hopes of discovering an undocumented command or property. So far I've only ever found 2: The ";" PRINT command property and the "var = -var". Still, one day I'll strike gold by discovering the syntax of the MAKEAWESOMEGAME command Al's been holding back from us! ;D
-
I'd love to see the MAKEAWESOMEGAME command. I haven't been able to duplicate the Repeat glitch I have only found it in the labyrinth source code. I don't know why. In fact some of the repeats work but just these two repeats don't.
-
Can you post or email me the entire script that has problems?
-
IF their is any ON EVENT structure within a REPEAT I think it takes place.
-
IF their is any ON EVENT structure within a REPEAT I think it takes place.
OK. I see this. Thanks. It happens with ON MOUSEDOWN, ON MOUSEUP, and ON TIMER, but it doesn't happen with ON KEYDOWN. I'll try to get this fixed.
Question: Why do you have a ON event in a REPEAT loop? The ON event will continue to execute and doesn't need to be used more than once. You should try putting it before the REPEAT loop and see what happens.
-
It was accidental but I found the glitch in the process.
EDIT: It doesn't work, I just checked.
-
It doesn't work, I just checked.
I'd really love to see your code.
-
It was quite simple
ON MOUSEUP EXIT REPEAT
ON MOUSEDOWN
REPEAT
x = x + 1
IF x = 35000 THEN x = -35000
END REPEAT
END MOUSEDOWN
ALERT $x$
EDIT: The REPEAT has to finish before it does the other code.
-
It's both polite and customary when reporting a glitch to include a code sample capable of recreating it. I even send source files if a reported glitch proves difficult to recreate in a controlled environment.
-
It was quite simple
ON MOUSEUP EXIT REPEAT
ON MOUSEDOWN
REPEAT
x = x + 1
IF x = 35000 THEN x = -35000
END REPEAT
END MOUSEDOWN
ALERT $x$
EDIT: The REPEAT has to finish before it does the other code.
Yeah. That code won't work. You can't have both a MOUSEDOWN and a MOUSEUP working at the same time. That's something I want to change for GM 4 if I can. I added a mouseDown built in variable to solve that problem. Try something like this:
ON MOUSEDOWN
REPEAT
x = x + 1
IF x > 32000 THEN x = -32000
CLEAR TEXT
PRINT $X$
IF mouseDown = 0 THEN
ALERT $x$
EXIT REPEAT
END IF
END REPEAT
END MOUSEDOWN
-
That works. Now that I think of it I could use this for a gambling Machine. HE HE HE
-
I began a gambling board game awhile back. I had allot done, (though only 1 out of 3 gambling games) so I should really get back to work on it sometime. I remember there being allot of messy code though, as it was a 4 player game.
-
4 players? was it a hot seat game?
-
Anyway, hows work coming along on the update Al?
-
Have you fixed the repeat glitch yet? I really want to release Labyrinth.
P.S. Sorry for triple posting.
-
Have you fixed the repeat glitch yet? I really want to release Labyrinth.
I been working on it, but I haven't figured it out.
-
I found another glitch.
SPRITE SCALE 200 3 159 159 HiddenTile.gif
ON KEYDOWN
x = x + 1
SPRITE 2 x y Adventurer Avatar.gif
END KEYDOWN
Whenever you press a key the SPRITE keeps on getting bigger. Until Its so big that it disappears.
EDIT A nice feature of the sprite scale command would be a sprite x scale and a sprite y scale so you could make long and tall sprites.
-
Hey Al, would it be possible to have a SWAP var1$ var2$ command in the next update? Or does the SWAP var1 var2 command work with string variables anyway?
-
Ya SWAP works with both string and numerical variables.
-
Have you fixed the repeat glitch yet? I really want to release Labyrinth.
OMG!! I think I finally got it fixed!! I'll send you a version to try out later today.
EDIT: Nope. Still a minor problem with it, but it's working better. I'm very close to solving this.
EDIT 2: Ha. Think I got it this time. An update will be out later today.