[img]http://i.imgur.com/eDcQHXY.png[/img]
You don't see these kinds of bugs often.
[QUOTE=Mega1mpact;48114944]
Not sure why that would be a good idea or really needed. You wrote software aimed at software developers. A side effect of writing german docs could be that people will start asking questions in german etc.[/QUOTE]
It's just a side-project of mine that I'm doing to improve my German. Even though my progress [I]is[/I] online, I'm not linking to it anywhere until I am significantly better at the language.
[QUOTE=Saccn;48111875]Recreating a game that was on a phone ages ago. Perhaps someone remembers it?
[vid]http://webm.host/a83db/vid.webm[/vid]
Still need to add enemies and stuff.[/QUOTE]
It's very familiar.
Anyone got suggestions for having multiple holdtypes in Unity?
Such as unarmed, with it's own looking animations, along with walking and running animations.
Then having other holdtypes for a melee weapon, a firearm, etc?
[QUOTE=Berkin;48115266]It's just a side-project of mine that I'm doing to improve my German. Even though my progress [I]is[/I] online, I'm not linking to it anywhere until I am significantly better at the language.[/QUOTE]
Seems like a really good excuse to practice your german.
[QUOTE=Mega1mpact;48116342]Seems like a really good excuse to practice your german.[/QUOTE]
It would be foolish of me to actually offer support in a language that I can't confidently speak.
Just added function support to ImageQuery. You can now define functions in C# and call them in the query language. Here's a quick script that generates random noise:
[code]
output out[300,300]
out: select crand(1) from [300,300]
[/code]
The argument to crand is the value of the alpha channel. If not specified, it will generate a random alpha as well.
This is a good summary of what I've been up to today:
[img]http://i.imgur.com/bwjhuVJ.png[/img]
Finally got Rant 2 working in Unity.
[img]http://i.imgur.com/odDvaXu.png[/img]
[editline]4th July 2015[/editline]
Also, I wish there was a better way to load arbitrary binary files into Unity than this bullshit:
[img]http://i.imgur.com/U2yAk0e.png[/img]
[QUOTE=Winner;48117830]hey berkin you're doing amazing work please never stop posting[/QUOTE]
Wow, thank you. I don't think I'll stop posting anytime soon, programming funny shit is basically my whole life.
Finally started putting all that stuff I've learnt about isomorphic Node.js websites into use.
[IMG]https://dl.dropboxusercontent.com/u/27714141/hacking.world.png[/IMG]
I'm planning real time multiplayer using [URL="http://socket.io/"]socket.io[/URL].
[QUOTE=Berkin;48116661]It would be foolish of me to actually offer support in a language that I can't confidently speak.[/QUOTE]
nein du bist farucht
[sp]ich kaniht sprache deutch [/sp]
[QUOTE=cartman300;48116284][video=youtube;cY2yeDTEE-I]http://www.youtube.com/watch?v=cY2yeDTEE-I[/video][/QUOTE]
Windows 10 console can show images?
[QUOTE=Darwin226;48118588]Windows 10 console can show images?[/QUOTE]
It can not.
I made red outlines. Also added support for an "else" clause in selections.
[code]
out: select {1,0,0} from in where (x > 0 and abs(magnitude(color[x-1]) - magnitude(color)) > 0.1) or (y > 0 and abs(magnitude(color[x,y-1]) - magnitude(color)) > 0.1) else color
[/code]
[t]http://i.imgur.com/5NEGswZ.png[/t]
[QUOTE=redx475;48118650]I made red outlines. Also added support for an "else" clause in selections.
[code]
out: select {1,0,0} from in where (x > 0 and abs(magnitude(color[x-1]) - magnitude(color)) > 0.1) or (y > 0 and abs(magnitude(color[x,y-1]) - magnitude(color)) > 0.1) else color
[/code]
[t]http://i.imgur.com/5NEGswZ.png[/t][/QUOTE]
That is some sexy "feature detection" right there.
Guys oh my god.
I found an old CD I have of royalty-free music/SFX, made in the 1990s.
[t]http://i.imgur.com/zb81AZD.jpg[/t]
I have found the soundtrack for my Rant-based game.
[QUOTE=cartman300;48118599]It can not.[/QUOTE]
Would I be then correct in saying that scrolling the window would mess it up?
[QUOTE=Darwin226;48119121]Would I be then correct in saying that scrolling the window would mess it up?[/QUOTE]
Yes.
[editline]4th July 2015[/editline]
It is possible to make the image persistent when scrolling the window, but i am lazy with experimenting with that sort of stuff.
[QUOTE=Berkin;48118998]Guys oh my god.
I found an old CD I have of royalty-free music/SFX, made in the 1990s.
[t]http://i.imgur.com/zb81AZD.jpg[/t]
I have found the soundtrack for my Rant-based game.[/QUOTE]
can you upload it :P? I am making some new game and I need funky 90s sounds.
[editline]4th July 2015[/editline]
In exchange, I give this code/formula to forum:
[code]
//Input must be -1,1
float GaussianToUniform(float t) {
return (1 + Mathf.Sign(t)*Mathf.Sqrt((1 - Mathf.Exp(-(2/Mathf.PI)*(Mathf.Pow(t*3.14f,2)))))) -1f;
}
[/code]
It transforms Gaussian Random distribution to uniform.
[IMG]http://i.imgur.com/wFNEG23.png[/IMG]
Turned out the algorithm was slower with the custom linked list, which I guess makes sense because even though I don't have an extra iteration to reverse a list I have to do extra book keeping with more pointers.
[video]https://youtu.be/p2ruhKL87Uw[/video]
Me and a friend have been working on a randomly generated platformer.
[QUOTE=Berkin;48117800]
Also, I wish there was a better way to load arbitrary binary files into Unity than this bullshit:
[img]http://i.imgur.com/U2yAk0e.png[/img][/QUOTE]
Woah...what's going on here?
[QUOTE=Trumple;48120542]Woah...what's going on here?[/QUOTE]
Unity.
[QUOTE=Funley;48120668]Unity.[/QUOTE]
When you're trying to maintain compatibility across [url=http://unity3d.com/unity/multiplatform]22 platforms[/url], you gotta do some dumb shit sometimes.
[QUOTE=Trumple;48120542]Woah...what's going on here?[/QUOTE]
To load raw binary files into Unity as an asset, you have to give them a .bytes extension and load them as a TextAsset. Then you have to access the binary data through the .bytes property.
I really wish I could extend Unity's asset pipeline with my own file formats to avoid stuff like this.
Decided to run my earlier query on the picture of flowers that ruarai is using for his compression stuff. Works way better when half the image isn't out of focus:
[t]http://i.imgur.com/JlmolYT.png[/t]
What happens if you run the filter for multiple iterations, say, 20?
Sorry, you need to Log In to post a reply to this thread.