Author Topic: [XP] Berans' Interactive Drumkit script v1.11  (Read 15128 times)

Offline Berans

  • Awakened Visionist
  • **
  • Posts: 75
  • LV: 10
  • Gender: Male
  • Corn = win...it's yellow
    • View Profile
[XP] Berans' Interactive Drumkit script v1.11
« on: August 22, 2008, 04:18:16 AM »
Berans' Interactive Drumkit script
Authors: Berans, Sniper308
Version: 1.11
Type: Interactive music player
Key Term: Misc System

Introduction

Another unique script by me, inspired, and with graphics, by Sniper308. It's a little Drumkit which lets you pump out some beats ingame.

Features

  • Easy to set up
  • Can customize drum-sounds however you like
  • Graphics included
  • Fully lagfree

Screenshots

(click to show/hide)

Demo

Berans' Interactive Drumkit demo v1.00

Script


(click to show/hide)
Paste this script above main and under the other standard scripts.

Instructions

Instructions in script.
NOTE: Audiofiles and images can be obtained in the demo, this script won't function properly without them

Compatibility
This script does not rewrite any standard methods and does not make use of its own global variables. It should be compatible with anything out there, including the SDK

Credits and Thanks

  • Berans - Making the script
  • Sniper308 - Inspiring the script and providing the graphics

Author's Notes

Please credit me and sniper308 if you use this in your game. Other than that, have fun with it!
I'm always open for feedback.
Also, there are two ways to access the scene in the demo, both of which are hidden ;)
you'll be able to see them easily in the editor though :p
« Last Edit: July 26, 2009, 09:54:24 PM by Blizzard »

Offline Starrodkirby86

  • Kirby de Varita Estelar
  • Guardian of Chaos
  • ********
  • Posts: 3281
  • LV: 194
  • Gender: Male
  • ~!
    • View Profile
    • The Archive of Starrodkirby86
Re: [XP]Berans' Interactive Drumkit script v1.00
« Reply #1 on: August 22, 2008, 04:59:43 AM »
As being the rhythmatic person I am, I had some fun with the drum beats. Though this seems more like a fun gimmick to keep your mind off the game rather than a useful tool to continue on a game or something...Is there a way to script this to incorperate a secret code? And how creative, Rock Band Drums...

What's osu!? It's a rhythm game. Thought I should have a signature with a working rank. ;P It's now clickable!
Still Aqua's biggest fan (Or am I?).



Offline Ryex

  • Arctic Bird of Programming
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 5135
  • LV: 198
  • Gender: Female
  • Wants to write a compiler for fun
    • View Profile
Re: [XP]Berans' Interactive Drumkit script v1.00
« Reply #2 on: August 22, 2008, 05:07:50 AM »
cool!! though I don't see how it could be useful other than fun but there is nothing wrong with fun!

PS: i love Rock Band
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.

DropBox, the best free file syncing service there is.
(click to show/hide)

Offline Berans

  • Awakened Visionist
  • **
  • Posts: 75
  • LV: 10
  • Gender: Male
  • Corn = win...it's yellow
    • View Profile
Re: [XP]Berans' Interactive Drumkit script v1.00
« Reply #3 on: August 22, 2008, 05:10:01 AM »
This was never meant to be useful lol...I scripted this in under an hour. The thing that took the longest was positioning all the graphics right :P
I'll see if I can cook something up for a "rythm code" though, that could be fun. I'm not sure how easy it would be...hmmmm

Offline Fantasist

  • Lexima Warrior
  • *******
  • Posts: 2223
  • LV: 146
  • Gender: Male
    • View Profile
    • Blog
Re: [XP]Berans' Interactive Drumkit script v1.00
« Reply #4 on: August 22, 2008, 10:42:38 AM »
lol! Great work Berans :clap: *powers up*
I'm downloading it now.
Do you like ambient/electronic music? Then you should promote a talented artist! Help out here. (I'm serious. Just listen to his work at least!)

The best of freeware reviews: Gizmo's Freeware Reviews



Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20013
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP]Berans' Interactive Drumkit script v1.00
« Reply #5 on: August 22, 2008, 11:25:59 AM »
Hey Berans, apply the new template from now on. It has the "Key Term" in the header. :)
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Berans

  • Awakened Visionist
  • **
  • Posts: 75
  • LV: 10
  • Gender: Male
  • Corn = win...it's yellow
    • View Profile
Re: [XP]Berans' Interactive Drumkit script v1.00
« Reply #6 on: August 22, 2008, 11:39:21 AM »
Will do. Gotto keep up with the times I guess :P

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20013
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP]Berans' Interactive Drumkit script v1.00
« Reply #7 on: August 22, 2008, 11:45:58 AM »
3.

The Key Terms mentioned in the header of the topics are:

*LIST*

These Key Terms allow that your script is listed on the homepage appropriately. If you leave it out or don't use it at all, your script will not be listed in the script index. Do not edit any Key Term, they have to be written exactly as here. More than one term is not allowed.

You want that to happen, don't you? :naughty:

EDIT: BTW, have you though about making a Piano script using all keys? You can use my Custom Controls add-on from Tons of Add-ons for that. :)

EDIT: Oh, and use spoilers for images. xD
« Last Edit: August 22, 2008, 11:50:32 AM by Blizzard »
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Shadonking

  • Astral Trancist
  • *****
  • Posts: 756
  • LV: 16
  • Gender: Male
  • Your Worse Nghtmare
    • View Profile
Re: [XP]Berans' Interactive Drumkit script v1.00
« Reply #8 on: August 22, 2008, 01:25:55 PM »
im a fan of the drum kit and iv played it for some years so im defintly going to add it to my prodject just becuase i like it.

great script





Creator Of Music And Games
(click to show/hide)
(click to show/hide)

come here if you have a ps3
http://forum.chaos-project.com/index.php?topic=1952.0

Offline Berans

  • Awakened Visionist
  • **
  • Posts: 75
  • LV: 10
  • Gender: Male
  • Corn = win...it's yellow
    • View Profile
Re: [XP]Berans' Interactive Drumkit script v1.00
« Reply #9 on: August 22, 2008, 01:33:29 PM »
I HAVE thought about making a piano script actually...it won't be any harder than making this, I just need to figure out a relatively intuitive way to do it, which is challenging with a keyboard.
Who knows, within the next few days you might see one coming your way ;)

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20013
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP]Berans' Interactive Drumkit script v1.00
« Reply #10 on: August 22, 2008, 02:24:11 PM »
You could use each row of keys for one octave.

1. the number row
2. the qwerty row
3. the asdfgh row
4. he zxcvbn row

True, it would only have only 4 octaves, but it might still be better than just one octave on a more piano like keyboard (z-s-x-d-c-f-g-b-h-n-j-m letters as c-c#-d-d#-e-f-f#-g-g#-a-a#-h).
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Berans

  • Awakened Visionist
  • **
  • Posts: 75
  • LV: 10
  • Gender: Male
  • Corn = win...it's yellow
    • View Profile
Re: [XP] Berans' Interactive Drumkit script v1.00
« Reply #11 on: August 22, 2008, 04:00:50 PM »
That's not a bad idea at all. Gives a whole new meaning to the word "keyboard" when referring to an instrument lol...Who knows maybe it'll be the next instrument o.O
Quick question though, does your input module differentiate between the 2 separate shift keys? Because, including the black keys, an octave will have 12 keys.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20013
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Berans' Interactive Drumkit script v1.00
« Reply #12 on: August 22, 2008, 05:43:07 PM »
Yes, it does. One LShift is 160 and RShift 161 I think. Just check the key definitions.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Fantasist

  • Lexima Warrior
  • *******
  • Posts: 2223
  • LV: 146
  • Gender: Male
    • View Profile
    • Blog
Re: [XP] Berans' Interactive Drumkit script v1.00
« Reply #13 on: August 22, 2008, 05:59:08 PM »
I tried making this long ago and the game crashed -_-

But good luck Berans, I'd really like to see a Piano script, because I'm also a Pianist ;)
Do you like ambient/electronic music? Then you should promote a talented artist! Help out here. (I'm serious. Just listen to his work at least!)

The best of freeware reviews: Gizmo's Freeware Reviews



Offline Berans

  • Awakened Visionist
  • **
  • Posts: 75
  • LV: 10
  • Gender: Male
  • Corn = win...it's yellow
    • View Profile
Re: [XP] Berans' Interactive Drumkit script v1.00
« Reply #14 on: August 22, 2008, 06:02:23 PM »
Well waddaya know, so am I XD
I actually had a crash as well, because I tried to create a lot of bitmaps at once lol...for some reason the bug seems to have stopped now, but we'll see what happens when it's finished

Offline Fantasist

  • Lexima Warrior
  • *******
  • Posts: 2223
  • LV: 146
  • Gender: Male
    • View Profile
    • Blog
Re: [XP] Berans' Interactive Drumkit script v1.00
« Reply #15 on: August 22, 2008, 06:31:58 PM »
If I remember right, the game crashed because something was wrong with the Audio module. I think I tried to play too many keys at once, or... I don't know. btw, I checked out the demo, good job on it. Though:

1) The event is invisible, I talked to the guy first and had to search for the drumkit XD
2) Instead of the function keys, can you probably use the L, R, X, Y, Z keys? Or maybe just let the player decide it (through script config or even a scene if you feel like it).
Do you like ambient/electronic music? Then you should promote a talented artist! Help out here. (I'm serious. Just listen to his work at least!)

The best of freeware reviews: Gizmo's Freeware Reviews



Offline Berans

  • Awakened Visionist
  • **
  • Posts: 75
  • LV: 10
  • Gender: Male
  • Corn = win...it's yellow
    • View Profile
Re: [XP] Berans' Interactive Drumkit script v1.00
« Reply #16 on: August 22, 2008, 06:43:26 PM »
I know the event is invisible lol...I did it as something of a joke :P
He IS called "Invisible man" after all.
I thought the function keys were handy due to the fact that they're nicely positioned next to eachother. But I could probably add in  a simple module or something to allow the user to set it.
It shouldn't crash playing too many sounds at once though, because it's got a filter that's supposed to stop it from playing if too many sounds are played. Or maybe that's just if the same sound is played over and over very quickly...I can't quite remember. Either way, I'm not seemingly having any problems with that

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20013
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Berans' Interactive Drumkit script v1.00
« Reply #17 on: August 22, 2008, 06:47:40 PM »
@FTS: Did you use PKE back then? Then the crash makes perfect sense if you used a keyboard script.

@Berans: Were you trying to create a bitmap with width = 0 and/or height = 0? xD
« Last Edit: August 22, 2008, 06:48:26 PM by Blizzard »
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Fantasist

  • Lexima Warrior
  • *******
  • Posts: 2223
  • LV: 146
  • Gender: Male
    • View Profile
    • Blog
Re: [XP] Berans' Interactive Drumkit script v1.00
« Reply #18 on: August 22, 2008, 07:05:55 PM »
Quote
@FTS: Did you use PKE back then? Then the crash makes perfect sense if you used a keyboard script.
AHA! That must be it!

@Berans: Yeah, I DID chuckle a bit :D
Do you like ambient/electronic music? Then you should promote a talented artist! Help out here. (I'm serious. Just listen to his work at least!)

The best of freeware reviews: Gizmo's Freeware Reviews



Offline Berans

  • Awakened Visionist
  • **
  • Posts: 75
  • LV: 10
  • Gender: Male
  • Corn = win...it's yellow
    • View Profile
Re: [XP] Berans' Interactive Drumkit script v1.00
« Reply #19 on: August 23, 2008, 03:02:05 AM »
I'm not trying to create any such bitmaps, it was actually my graphics card that gave me an error o.O
It creates 48 bitmaps at once...which I probably shouldn't be doing. I just used the exact same system as the drums where it creates a bitmap for each separate lighting effect so that I can easily animate it. When I now open the "piano" and close it several times in quick succession, my computer has a great deal of trouble with things XD.
I'll probably have it only create the bitmaps when I actually need them.
UPDATED to version 1.11, now with "Rythm codes"
« Last Edit: August 24, 2008, 01:02:29 PM by Berans »