You can already learn how to use calls and jumps by referring to these other tutorials.
The "Foxy" CPU.
The "Foxy" CPU - Part 2
Hey drunkie, this is just a request but, could you explain how to use calls with the GPU, like for example when I press a button I want to draw a square but ONLY if I press a button.
Last edited by ryland; 11-29-2009 at 01:12 PM.
"I like pie"-Jat Goodwin
<Azrael-> ryland: LOL is such a noobish thing to say.
<ryland> LOL
<Fox682> LOLLOL
<Fox682> LOL
<ryland> LOL
You can already learn how to use calls and jumps by referring to these other tutorials.
The "Foxy" CPU.
The "Foxy" CPU - Part 2
Alpha works in colors. I moved it because this is where tutorials go
Ah, okay thanks
Last edited by Drunkie; 11-29-2009 at 02:32 PM.
"I like pie"-Jat Goodwin
<Azrael-> ryland: LOL is such a noobish thing to say.
<ryland> LOL
<Fox682> LOLLOL
<Fox682> LOL
<ryland> LOL
Last edited by ryland; 11-29-2009 at 01:45 PM.
"I like pie"-Jat Goodwin
<Azrael-> ryland: LOL is such a noobish thing to say.
<ryland> LOL
<Fox682> LOLLOL
<Fox682> LOL
<ryland> LOL
Damn, Drunkie, thank you so much. I always thought I knew almost everything of the simple things like data types and such but I could learn even there something^^
And the E2-connecting thing is just purely epic!!!
Thank you again for this great tutorial. I hope this will increase the number of GPU-coders out here.
Could you explain how to get a color into the GPU via wirelink?
I failed at that today and i have no idea how to do that.
E2:
Writing works.Code:@name @inputs GPU:wirelink Keyboard @outputs @persist String:string Color:array @trigger Keyboard if(first()) { for(T=1,3) { GPU[T]=255 } } if(Keyboard!=127&Keyboard!=154) { String+=toChar(Keyboard) } else { String=String:left(String:length()-1) } if(String:sub(1,6)=="!color"&Keyboard==13) { Color=String:explode(" ") GPU[1]=Color[2,string]:toNumber() GPU[2]=Color[3,string]:toNumber() GPU[3]=Color[4,string]:toNumber() String="" } GPU:writeString(63488,String) GPU[0]=GPU[0]
GPU:
Code:dcvxpipe 3; mov color1.r,#63485; mov color1.g,#63486; mov color1.b,#63487; dcolor color1; dsetsize 16; dwrite pos,63488; dexit; vec2f pos,-1,-0.05; color color1,255,255,255;
seriously getting serious
Bookmarks