Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411576 Posts in 69386 Topics- by 58444 Members - Latest Member: darkcitien

May 05, 2024, 06:30:21 AM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsDeveloperTechnical (Moderator: ThemsAllTook)circle room transition
Pages: [1]
Print
Author Topic: circle room transition  (Read 1425 times)
Codestar
Level 1
*

One man, one game


View Profile WWW
« on: August 24, 2009, 06:53:34 PM »

Hi, I'm trying to make a room transition like the one in super mario bros. 3's mapscreen where it has a circle shaped viewing area shrinking down to the player's x and y then going to the next area with the rest of the screen being blacked out. The thing is I have no idea how I would even begin to tackle doing this. any suggestions gentlemen? Gentleman

I'm using gamemaker 6.1 btw.
Logged



Check out my current game project:
Mine to the sky
JasonPickering
Level 10
*****



View Profile WWW
« Reply #1 on: August 25, 2009, 03:08:29 PM »

you could just create a circle object and once its animation is finished go tot he next room.

also another way (although i dont know how to do it) would be cover the screen in black except for a circle and then have that circle shrink. goign to the next room when its done.

its the same way some people do lighting in gamemaker.
Logged

Codestar
Level 1
*

One man, one game


View Profile WWW
« Reply #2 on: August 25, 2009, 03:22:16 PM »

also another way (although i dont know how to do it) would be cover the screen in black except for a circle and then have that circle shrink. goign to the next room when its done.

umm dude... that was the question i was asking in the first post...
Logged



Check out my current game project:
Mine to the sky
Afinostux
Level 2
**

Forgotten Beats


View Profile
« Reply #3 on: August 25, 2009, 05:23:59 PM »

You're going to need surfaces for this. Specifically, one that is black, with a white circle drawn on it at the position of your player, and with the radius shrinking as you want it to. Once you've built the surface, draw your room normally, then set the blend mode to multiply, and draw the surface overtop of the screen. This page may help with the blend mode madness.
Logged

JasonPickering
Level 10
*****



View Profile WWW
« Reply #4 on: August 25, 2009, 05:48:51 PM »

sorry I thought you meant it had to be a room transition.
Logged

Codestar
Level 1
*

One man, one game


View Profile WWW
« Reply #5 on: August 25, 2009, 07:45:44 PM »

I got it now. thanks guys.
Logged



Check out my current game project:
Mine to the sky
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic