U P D A T E S / D I S C O V E R I E S

Posted by ultim8p00 on July 19, 2006, 3:54 p.m.

Phew! After all the comments about Lucon being too restricted when it comes to resolution, I really HAD TO work on it. So after MANY MANY hours, I was finally able to implement a smooth resolution change system. I'm so proud of it because the system really blends in with the fade in and out menu and it is a seamless transition. The reason I spent so many hour was because after using the display_set_size(w,h) function, the screen was always completely black and I was trying to figure out why. It turns out that if you place your code like this:

window_set_fullscreen(true)

display_set_size(320,240)

there is a glitch and it makes your screen black and you cant see anything. The right way to do this is like this:

display_set_size(320,240)

window_set_fullscreen(true)

It DOES make a difference. Position really does matter when scripting.

So there it is. I have implemented resolution switching under the new options menu. You can now play Lucon in either fullscreen or windowed mode. Just to make sure it doesnt screw up icons, the game always starts in windowed mode so you can switch. THAT should make a bunch of people glad lol

I and my friends were bored so we got the metal detectors and went crazy. We found a bunch of interesting things including an almost intact but rusty bike, weird looking coins, a belt, weird looking spoons, a sack of 1 cent coins worth about 5 dollars and 37 cents, and a lighter.

Comments

melee-master 18 years, 4 months ago

You could always try refreshing the screen instead. Heh.

SirMixAlot 18 years, 4 months ago

Just wanted to say that your probably the only interesting blog maker I ever read :P. I added you to my favorite users :/ … Sorry.

Eternal 18 years, 4 months ago

Quote:

It DOES make a difference. Position really does matter when scripting.

Well, duh! If you do

variable = 5

variable = 4

it'll come out different thatn:

variable = 4

variable = 5

lol.

Also, I like how I always know when you are posting the blog, because there is a space between every letter.