Author Topic: So, I herd I have no social life (Read: Alphanumeric bullet functions)  (Read 5197 times)

Gc

  • youtu.be/pRZpjlrKM8A


Download

Also, as requested by Stuffman :


:V

Also, I don't have a social life.


Solais

  • Developer fairy
  • is working for a game developer now.
Re: So, I herd I have no social life (Read: Alphanumeric bullet functions)
« Reply #2 on: October 24, 2009, 11:42:24 PM »
FUCK YEAH!

Drake

  • *
Re: So, I herd I have no social life (Read: Alphanumeric bullet functions)
« Reply #3 on: October 24, 2009, 11:51:05 PM »
I was thinking of doing something like this for Ijiyatsu eventually. Inspired by dixq, obviously. Good job.

A Colorful Calculating Creative and Cuddly Crafty Callipygous Clever Commander
- original art by Aiけん | ウサホリ -

Lawence Codye

  • The Nine Tails of Subconscious...
  • Come & your desires shall all become reality...
Re: So, I herd I have no social life (Read: Alphanumeric bullet functions)
« Reply #4 on: October 25, 2009, 11:03:25 PM »
Those are fucking amazing...
I am the Nine Tails of Subconscious...

Come & your greatest desires will be reality...

Helepolis

  • Charisma!
  • *
  • O-ojousama!?
Re: So, I herd I have no social life (Read: Alphanumeric bullet functions)
« Reply #5 on: October 26, 2009, 06:52:56 AM »
Awesomescreen1.jpg

Awesomescreen2.jpg

Also, I don't have a social life.

None of us has a decent social life :V Don't worry about that. And good job on the functions!

Henry

  • The observer
  • Exploring to the new world of Danmaku
Re: So, I herd I have no social life (Read: Alphanumeric bullet functions)
« Reply #6 on: October 27, 2009, 11:06:51 AM »
**Old post deleted**

I had edited the script so that the letters can be displayed at an angle:

Edited script

(Welcome to check any bugs)
« Last Edit: October 27, 2009, 11:11:03 AM by Henry »
Old/Forgotten member.

Old Patchouli Project was outdated but new one is in progress.

Blargel

  • RAWR!
  • I'M AN ANGRY LOLI!
Re: So, I herd I have no social life (Read: Alphanumeric bullet functions)
« Reply #7 on: October 27, 2009, 11:51:42 AM »
I just tested this out. Epic.
I wonder if I can add a function to this to turn strings into function calls to call your stuff.

...I probably could, but wow I don't think I want to...
<WorkingKeine> when i get home i just go to the ps3 and beat people up in blazblue with a loli
<Azure> Keine: Danmakufu helper by day, violent loli by night.

Gc

  • youtu.be/pRZpjlrKM8A
Re: So, I herd I have no social life (Read: Alphanumeric bullet functions)
« Reply #8 on: October 27, 2009, 12:04:00 PM »
Inspired by dixq, obviously.
Why are you saying that ? The HWoG frame ?

I had edited the script so that the letters can be displayed at an angle:
I was planning to do it myself, but then I thought "GAH too many (a^2 + b^2)^1/2 * cos(WTFWTFWTF)" and gave up on the idea.

Read: Good job ! (though I can't test it right now *is at school*)

(Welcome to check any bugs)
Also, 1 pt fonts hurt me. Might be because of typography class... Make it human-readable !

I wonder if I can add a function to this to turn strings into function calls to call your stuff.
I just use a function calling all the letters I need one by one.
It's easier.

Also, thanks to everyone :D

Henry

  • The observer
  • Exploring to the new world of Danmaku
Re: So, I herd I have no social life (Read: Alphanumeric bullet functions)
« Reply #9 on: October 27, 2009, 12:16:55 PM »
I was planning to do it myself, but then I thought "GAH too many (a^2 + b^2)^1/2 * cos(WTFWTFWTF)" and gave up on the idea.
The main point is that I don't use pure radian measure.

Read: Good job ! (though I can't test it right now *is at school*)
You're welcome.  ;)
Also, 1 pt fonts hurt me. Might be because of typography class... Make it human-readable !
Quote my message to read it, lol

I just use a function calling all the letters I need one by one.
It's easier.
By the way, is a string a array of characters in danmakufu?

Also, thanks to everyone :D
Old/Forgotten member.

Old Patchouli Project was outdated but new one is in progress.

Blargel

  • RAWR!
  • I'M AN ANGRY LOLI!
Re: So, I herd I have no social life (Read: Alphanumeric bullet functions)
« Reply #10 on: October 27, 2009, 12:27:56 PM »
Quote
By the way, is a string a array of characters in danmakufu?
Yes... yes it is.

So if you have let s = "test", s[0] will give you "t". :D

NOW DO WHAT YOU MUST DO! FOR GREAT JUSTICE!
<WorkingKeine> when i get home i just go to the ps3 and beat people up in blazblue with a loli
<Azure> Keine: Danmakufu helper by day, violent loli by night.

Henry

  • The observer
  • Exploring to the new world of Danmaku
Re: So, I herd I have no social life (Read: Alphanumeric bullet functions)
« Reply #11 on: October 27, 2009, 01:59:30 PM »
These are the segments for inputting a string. (Sorry, I didn't make the (9) sign)

Code: [Select]
// Create the bullets
task bullet(let x1, let y1, let x2, let y2, let slant, let speed, let angle, let graphic, let delay) {
let count = 90;

let obj = Obj_Create(OBJ_SHOT);
Obj_SetPosition(obj, x1+x2*cos(slant)-y2*sin(slant), y1+x2*sin(slant)+y2*cos(slant));
Obj_SetAngle(obj, angle);
Obj_SetSpeed(obj, 0);

ObjShot_SetGraphic(obj, graphic);
ObjShot_SetDelay(obj, delay);
ObjShot_SetBombResist(obj, true);

while(Obj_BeDeleted(obj) == false) {
if(count == 0) {
Obj_SetSpeed(obj, speed);
ObjShot_SetBombResist(obj, false);
}
count --;
yield;
}
}

// Create letters (all caps)
function A(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,0,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-5,-10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-10,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,10,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-5,10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,20,slant,2,rand(0, 360),graphic, 30);
}

function B(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-15,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-5,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,-10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-5,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-5,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,20,slant,2,rand(0, 360),graphic, 30);
}

function C(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-5,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-5,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,20,slant,2,rand(0, 360),graphic, 30);
}

function D(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-15,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-5,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,-10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-5,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,20,slant,2,rand(0, 360),graphic, 30);
}

function E(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-15,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-5,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-5,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-5,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,20,slant,2,rand(0, 360),graphic, 30);
}

function F(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-15,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-5,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-5,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,20,slant,2,rand(0, 360),graphic, 30);
}

function G(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-5,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-5,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,20,slant,2,rand(0, 360),graphic, 30);
}

function H(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-15,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,-10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-5,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,20,slant,2,rand(0, 360),graphic, 30);
}

function I(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-10,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,0,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,10,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,0,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,0,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,0,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-10,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,0,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,10,20,slant,2,rand(0, 360),graphic, 30);
}

function J(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-5,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,15,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,15,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,15,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-5,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,20,slant,2,rand(0, 360),graphic, 30);
}

function K(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-15,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,-10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-5,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,20,slant,2,rand(0, 360),graphic, 30);
}

function L(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-15,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-5,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,20,slant,2,rand(0, 360),graphic, 30);
}

function M(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-20,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,20,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-20,-10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-10,-10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,10,-10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,20,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-20,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,0,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,20,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-20,10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,20,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-20,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,20,20,slant,2,rand(0, 360),graphic, 30);
}

function N(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-15,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,-10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-7.5,-10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,0,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,7.5,10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,20,slant,2,rand(0, 360),graphic, 30);
}

function O(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-5,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,-10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-5,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,20,slant,2,rand(0, 360),graphic, 30);
}

function P(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-15,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-5,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,-10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-5,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,20,slant,2,rand(0, 360),graphic, 30);
}

function Q(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-5,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,-10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-5,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,20,slant,2,rand(0, 360),graphic, 30);
}

function R(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-15,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-5,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,-10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-5,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,20,slant,2,rand(0, 360),graphic, 30);
}

function S(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-5,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-5,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,15,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-5,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,20,slant,2,rand(0, 360),graphic, 30);
}

function T(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-15,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-5,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,0,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,0,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,0,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,0,20,slant,2,rand(0, 360),graphic, 30);
}

function U(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-15,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,-10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-5,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,20,slant,2,rand(0, 360),graphic, 30);
}

function V(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-15,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,-10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-10,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,10,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-5,10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,0,20,slant,2,rand(0, 360),graphic, 30);
}

function W(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-20,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,20,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-20,-10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,0,-10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,20,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-20,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,0,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,20,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-20,10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-10,10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,10,10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,20,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-20,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,20,20,slant,2,rand(0, 360),graphic, 30);
}

function X(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-15,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-7.5,-10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,7.5,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,0,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-7.5,10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,7.5,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,20,slant,2,rand(0, 360),graphic, 30);
}

function Y(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-15,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-7.5,-10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,7.5,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,0,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,0,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,0,20,slant,2,rand(0, 360),graphic, 30);
}

function Z(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-15,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-5,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,7.5,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,0,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-7.5,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-5,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,20,slant,2,rand(0, 360),graphic, 30);
}

// Create numbers
function Zero(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-5,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,-10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-5,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,20,slant,2,rand(0, 360),graphic, 30);
}

function One(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,0,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-10,-10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,0,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,0,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,0,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-10,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,0,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,10,20,slant,2,rand(0, 360),graphic, 30);
}

function Two(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-5,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,-10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,5,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-5,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-5,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,20,slant,2,rand(0, 360),graphic, 30);
}

function Three(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-15,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-5,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,15,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-5,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,15,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-5,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,20,slant,2,rand(0, 360),graphic, 30);
}

function Four(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-15,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,-10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-5,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,15,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,15,20,slant,2,rand(0, 360),graphic, 30);
}

function Five(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-15,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-5,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-5,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,15,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-5,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,20,slant,2,rand(0, 360),graphic, 30);
}

function Six(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-5,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-5,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-5,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,20,slant,2,rand(0, 360),graphic, 30);
}

function Seven(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-15,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,-5,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,11.25,-10,slant,2,rand(0, 360),graphic, 30);

    bullet(x1,y1,7.5,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,3.25,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,0,20,slant,2,rand(0, 360),graphic, 30);
}

function Eight(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-5,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,-10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-5,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-5,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,20,slant,2,rand(0, 360),graphic, 30);
}

function Nine(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-5,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,-10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-5,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,15,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-5,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,20,slant,2,rand(0, 360),graphic, 30);
}

// Basic Punctuation
function Period(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,0,15,slant,2,rand(0, 360),graphic, 30);
}

function Comma(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,0,15,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,0,20,slant,2,rand(0, 360),graphic, 30);
}

function Apostrophe(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,0,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,0,-15,slant,2,rand(0, 360),graphic, 30);
}

function ExcMark(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,0,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,0,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,0,0,slant,2,rand(0, 360),graphic, 30);



bullet(x1,y1,0,20,slant,2,rand(0, 360),graphic, 30);
}

function IntMark(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,-5,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,-10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,5,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,0,20,slant,2,rand(0, 360),graphic, 30);
}

function Semicolon(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,0,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,0,15,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,0,20,slant,2,rand(0, 360),graphic, 30);
}

function Colon(let x1, let y1, let slant, let graphic) {
bullet(x1,y1,0,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,0,20,slant,2,rand(0, 360),graphic, 30);
}

// Required fandom joke
function NineBall(let x1, let y1, let slant, let graphic) {
let n = 0;
while(n < 16) {
bullet(x1,y1,40,0,slant+n*22.5,2,rand(0, 360),graphic, 30);
n ++;
}

bullet(x1,y1,-5,-20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,-20,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-15,-10,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,-10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-5,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,0,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,15,0,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,15,10,slant,2,rand(0, 360),graphic, 30);

bullet(x1,y1,-5,20,slant,2,rand(0, 360),graphic, 30);
bullet(x1,y1,5,20,slant,2,rand(0, 360),graphic, 30);
}
// Create Strings
function strbullet(let x, let y, let string, let slant, let graphic){
   let newx;
   let newy;
   ascent(i in 0..length(string)){
      newx=x+sin(slant)*(i-(length(string)-1)*0.5)*3200^0.5;
      newy=y+cos(slant)*(i-(length(string)-1)*0.5)*3200^0.5;
      alternative(ToString(string[i]))
      case("A","a"){A(newx, newy, slant, graphic);}
      case("B","b"){B(newx, newy, slant, graphic);}
      case("C","c"){C(newx, newy, slant, graphic);}
      case("D","d"){D(newx, newy, slant, graphic);}
      case("E","e"){E(newx, newy, slant, graphic);}
      case("F","f"){F(newx, newy, slant, graphic);}
      case("G","g"){G(newx, newy, slant, graphic);}
      case("H","h"){H(newx, newy, slant, graphic);}
      case("I","i"){I(newx, newy, slant, graphic);}
      case("J","j"){J(newx, newy, slant, graphic);}
      case("K","k"){K(newx, newy, slant, graphic);}
      case("L","l"){L(newx, newy, slant, graphic);}
      case("M","m"){M(newx, newy, slant, graphic);}
      case("N","n"){N(newx, newy, slant, graphic);}
      case("O","o"){O(newx, newy, slant, graphic);}
      case("P","p"){P(newx, newy, slant, graphic);}
      case("Q","q"){Q(newx, newy, slant, graphic);}
      case("R","r"){R(newx, newy, slant, graphic);}
      case("S","s"){S(newx, newy, slant, graphic);}
      case("T","t"){T(newx, newy, slant, graphic);}
      case("U","u"){U(newx, newy, slant, graphic);}
      case("V","v"){V(newx, newy, slant, graphic);}
      case("W","w"){W(newx, newy, slant, graphic);}
      case("X","x"){X(newx, newy, slant, graphic);}
      case("Y","y"){Y(newx, newy, slant, graphic);}
      case("Z","z"){Z(newx, newy, slant, graphic);}
      case("1"){One(newx, newy, slant, graphic);}
      case("2"){Two(newx, newy, slant, graphic);}
      case("3"){Three(newx, newy, slant, graphic);}
      case("4"){Four(newx, newy, slant, graphic);}
      case("5"){Five(newx, newy, slant, graphic);}
      case("6"){Six(newx, newy, slant, graphic);}
      case("7"){Seven(newx, newy, slant, graphic);}
      case("8"){Eight(newx, newy, slant, graphic);}
      case("9"){Nine(newx, newy, slant, graphic);}
      case("0"){Zero(newx, newy, slant, graphic);}
      case("."){Period(newx, newy, slant, graphic);}
      case(","){Comma(newx, newy, slant, graphic);}
      case("'"){Apostrophe(newx, newy, slant, graphic);}
      case("!"){ExcMark(newx, newy, slant, graphic);}
      case("?"){IntMark(newx, newy, slant, graphic);}
      case(";"){Semicolon(newx, newy, slant, graphic);}
      case(":"){Colon(newx, newy, slant, graphic);}
   }
}
« Last Edit: October 28, 2009, 12:04:12 PM by Henry »
Old/Forgotten member.

Old Patchouli Project was outdated but new one is in progress.