11 users online: Anas, DashGamer, Isikoro, JudithPrietht, Kimota, MDA2022, MrDeePay, Saela, scratch, UTF, Zavok - Guests: 51 - Bots: 92
Users: 56,222 (2,269 active)
Latest user: CR4K

Flashlight Effect

UberASM Repository → Flashlight Effect

Submission Details

Name: Flashlight Effect
Author: Incognito
Type: Level
Includes GFX: Yes
Includes Hijack: No
Featured: No
Description: With this code and the included GFX resources, you can create a spotlight effect that follows the player. GFX includes small and big spotlight circles.
Tags: dark effect lorom sa-1 spotlight
Comments: 11 (jump to comments)
5.0 (2 ratings)
No rating
Download 5.55 KiB | 987 downloads


Comments (11)

Doopliss Link
Beautiful. DEFINITELY using this one in my hack. #smw{:peace:}#smw{:TUP:}
 Donut Link
Quick fix: if you want the circle to stop following the player after death, just add
LDA $71
CMP #$09

under the "main:" label, before the "REP #$20"

(side note: this doesn't fix falling in a pit... if the player goes off-screen in any way it will still look weird. This, the pit situation, can be fixed by putting either munchers, or some kind of insta-kill block on the bottom row of tiles in the level.)
El Cuh Fermin Link
When the player dies, the circle follows and it stops
Romano338 Link
When the camera goes up as you go (for example, when you jump on a block), everything is fine. But when the camera doesn't follow (like, if you spin on an enemy and the circle gets off-screen), then the circle is cut. Going off-screen cuts the circle of view.
PedroHrodrigues Link
Originally posted by Haithius
Works for a split second and then stops working, any way to fix?
Did you put vertical and horizontal layer 2 scroll to "none"?
Koop the Koopa Link
realistic gfx
Haithius Link
Works for a split second and then stops working, any way to fix?
SmokyShroom Link
How would you make it a different shape? Do you mean that it would look like a beam gradually getting larger, starting from Mario?
Mr.Wiggles Link
Hi! this looks really cool, but I was wondering a few things, is there a way to make the light in a different shape? like to make it look like Mario is actually holding a flashlight? and would it point where Mario's looking? like left or right, up or maybe even crouching?
HeyItsKyeOfficial Link
That's awesome! but I never used ASM before so I'm new to Hacking I guess... I'd love to use this in a castle level!
 Blind Devil Link
Previously a generator, converted to UberASMTool code to avoid waste of sprite slots. Added screenshot, tags and SA-1 support.