Not really
Interesting thing I think you may wish to know(this info is collected with GM6)
[content]
When using game_restart(), it does not reset some variables(alpha and colors, for example)
This means that draw_set_alpha(.1) is used and if on the starting of the game before the alpha has been tinkered draw_get_alpha() is used, it will return .1
This allows one to store a value over from when the game restarted. A value of 1 would obviously mean the game has just begun
Sadly though, draw_set_alpha(2) will save it as 1, so division must be used in those cases(or draw_set_color() and the like)
[/content]
Anyways, I found interesting thing out when I restarted Kibosh without resetting the alpha. Nice half transparent menu got me looking about and indeed I've used this to my advantage in storing, such as the chapter and difficulty so that I can use game_restart and still have the player continue on without menu flipping when they get a GameOver
Ya, I'm in a rant mood. I should almost front this. Almost 300words. Meh, why not?
So…I've made it long and all what next to make this last? Ah yes, a not very exciting image. Click it if you want to see a more danmaku proving image
That's the final foe of Ch1. It doesn't look all that great, but in motion you'll be lasting waves of bullets, striking at snakes and then dodging homing missiles(or catching them, if you can switch polarity in time). I'm almost half way done Ch2. I'm trying to make sure to make easy mode easy and hard mode hard. Ch2 right now needs to be toned down, I think I've made Ch1 hard enough on hard mode and easy enough on easy mode
So ya, I figure that should be able to avoid the dreaded tag of short blog I've come to write
I do
However, in this case, I set the alpha in the GameEnd event and use it to my advantageHeh, I noticed the same problem with an old game of mine.
game_restart doesn't reset a lot of stuff:
-dlls aren't freed, surfaces (and lists) aren't destroyed and a lot more.. (basically it only resets stuff that a save game would save!)I never noticed that… and I used game_restart(); a lot. Oh well.
Serprex has a full sized game with colors!?
AAAAAAAAND a front paged blog!:OYes, GM has some really stupid issues sometimes. <_<
@Drone=You're catching on too quick. We'll have to dispose of you sooner if you continue on. Oh well, the game only has 2sprites if you don't include the 1x1mask and the garbage sprite waiting to be used
@Kilin=Yes, and this one has a plus. Otherwise I'd have to do file creating and deleting and it'd be even more messyKibosh needs way more bullets. Moar.
The worst one is that particles aren't destroyed. Gah. You could just execute a new exe though. In the game start event, you could use dlls to close any existing programs.
Why dont you use GM7?