How can I make a Rygar-type Sun Effect?

Woogz

Member
Kinda ran into a wall with this. By the sun effect, I mean this:

TwJ3Xmu.png


In Rygar, there's a nice little effect in the first level where the sun stays in the center of the background and stays there as the screen scrolls. I originally was able to mimic the effect by using the HUD, but it caused issues for levels with the HUD hidden, and of course I'd lose the option of having a HUD with health/score etc.

I recently switched over to Jorotroid and Mugi's code for a sprite based health bar, and abandoned the HUD altogether. With the sprite based health, the health bar stays placed at the bottom corner while the screen scrolls. It seemed to me that if I re purposed some of the code they've written, maybe I could possibly mimic the effect by making some type of sprite based sun effect? Thing is, I'd only want it in a specific level, and not for every screen in the game. Anyone know a way I could achieve such a thing?
 
Top Bottom