Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/colmeye/frog-alarms
A GameMaker asset that provides a simple and easy-to-use alternative to alarms.
https://github.com/colmeye/frog-alarms
alarms gamemaker gamemaker-studio-2 timer
Last synced: 2 months ago
JSON representation
A GameMaker asset that provides a simple and easy-to-use alternative to alarms.
- Host: GitHub
- URL: https://github.com/colmeye/frog-alarms
- Owner: colmeye
- Created: 2021-11-27T02:15:43.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-26T19:57:52.000Z (almost 3 years ago)
- Last Synced: 2024-05-21T13:38:14.130Z (8 months ago)
- Topics: alarms, gamemaker, gamemaker-studio-2, timer
- Language: Game Maker Language
- Homepage:
- Size: 1.02 MB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-gamemaker - FrogAlarm - Another easy alternative to GameMaker alarms. (Utilities / Recommendations)
README
![Frog Alarms Cover Image](cover.jpg?raw=true)
# FrogAlarms
FrogAlarms is a GameMaker Studio 2 asset that provides a simple and easy-to-use alternative to alarms.
## Why Use FrogAlarms?
Easily delay the execution of code wherever you need!
```js
// Create event
fa.create(
function() {
show_debug_message("Ribbit");
},
60
);// Outputs `Ribbit` after 60 frames.
```Add an index to an alarm to access it later and prevent it from restarting itself.
```js
// Create event
fa.create(
function() {
fa.pause("my_frog_alarm");
},
room_speed * 10
);// Step event
fa.create(
function() {
show_debug_message("Ribbit");
},
room_speed,
"my_frog_alarm"
);// Outputs `Ribbit` ONCE every second, until paused at ten seconds.
```## Documentation
Check out the [Wiki](https://github.com/colmeye/FrogAlarms/wiki/Documentation) for more details!## License
[MIT](https://choosealicense.com/licenses/mit/)