Language…
8 users online: 7 up,  BeeKaay, ElectroWellyGames, Flaming Hot Toons, Hexagonaldonut,  Kevin, Kimota, NerDose - Guests: 43 - Bots: 112
Users: 56,222 (2,270 active)
Latest user: CR4K

+/- Time Clock

SMW Sprites → +/- Time Clock

Submission Details

Name: +/- Time Clock
Author: JamesD28
Added:
Tool: PIXI
Type: Standard
Dynamic: No
Disassembly: No
Includes GFX: Yes
Description: This is a Clock that can add to or subtract from the timer when collected, like in games such as Super Mario 3D Land/World. You can customize the number of timer seconds added/subtracted (from 1-255), the type of effect produced when collected, whether the Clock is solid, and more.
It also handles overflow and underflow - If adding to the timer would take it past 999, the timer is set to 999. If subtracting from it would take it below 0, the timer is set to 0 and the player is killed with a TIME UP!.

See the .asm file for customization options.

Requested by M. Yusuf Suleman.
Tags: clock lorom sa-1 time timer
Comments: 9 (jump to comments)
Rating:
5.0 (1 rating)
No rating
Download 6.13 KiB | 305 downloads

Screenshots

View all

Comments (9)

Galeth Link
This + the skull cart = a good approach to Haunted Hall
GlitchyR-01 Link
I've been waiting for something like this, is really cool! keep the good work#smrpg{y}
 RussianMan Link
Tested With:
-Lunar Magic 3.30
-PIXI 1.32
-bsnes v115
-SA-1 1.40

The submission has been updated to fix an oversight where if substraction results in exactly 0, the player is left with infinite time, and also made second timing for addition consistent. I didn't find any other issues, so accepted.
 JamesD28 Author Link
Originally posted by BlueToad
This could use a better name. How about Add/Remove Time Clocks?

Their original name in SM3DL/W is the "+ Clock" or "Plus Clock", so "+/- Time Clock" for adding and subtracting time seemed appropriate enough.
BlueToad Link
This could use a better name. How about Add/Remove Time Clocks?
crm0622 Link
Originally posted by Anas
Originally posted by crm0622
Would be neat too if you also can customize effect when you touched clock instead of just block breaking animation only.
Just saying! #tb{:)}


Uh, you can indeed with the second extra byte. The sprite's ASM says so.


Oh, that's cool. :o
Anas Link
Originally posted by crm0622
Would be neat too if you also can customize effect when you touched clock instead of just block breaking animation only.
Just saying! #tb{:)}


Uh, you can indeed with the second extra byte. The sprite's ASM says so.
JosephTheCube Link
What the world needed.
crm0622 Link
Would be neat too if you also can customize effect when you touched clock instead of just block breaking animation only.
Just saying! #tb{:)}