don't care what your skill level is- organize and document [I]everything[/I].
Wrote up a 3-4 paragraph help request on a problem I had regarding behavior issues on multiple enemies of the same type, just to independently find out that a single, simple event line didn't acknowledge the idea that there would be more than one enemy of the same type.
Click, delete, problem solved.
[I]4 hours[/I]
[QUOTE=proboardslol;47565627]Finished the first version of my modem program. Very special thanks to Fourier (the fellow facepuncher and mathematician; not the dead mathematician) for his help with the math involved with finding the frequency of waves!
Heres a video.
This is a demo of 2 programs I made. the first ("modulate") modulates binary files into signed 16 bit pcm 44100 sample rate wav files. Each 0 is converted into a 1200hz tone, and each 1 into a 2400hz tone. The second program demodulates the wave file back into a binary file, getting the frequency of 74-sample audio clips (2 periods of a 1200hz tone, or 4 periods 2400hz tone) and converting each bit back into a binary file. This is built off of the kansas city standard ( [url]http://en.wikipedia.org/wiki/Kansas_C[/url]... ) which originally was 300 baud, and was later improved to 1200 baud. 1200 baud is possible, but harder to implement with cassette tapes as a low quality tape deck (like mine) can decrease accuracy considerably if the reels do not spin at a consistent rate (like mine).
I'm super excited about this! This is a project I've been wanting to do for about a year but was unsure of how to accomplish it. So I started learning C as hard as I could and now I finally did it! It's a measure of how much I've learned in a year, and it's the first real project I've finished AND added to github!
Thank you facepunch! I've never seen such an active and personal community of developers and programmers who really know their stuff, and I feel like I've really learned a lot being here! That's why I chose the facepunch logo to be first file I tested it on
available at [url]https://github.com/proboardslol/modem[/url][/QUOTE]
That's pretty neat man. Good job.
Despite still not having any contact with the artist, I went back and added some enemies to my Zombie Game. The graphics for them was already made from when this was originally going to be a flash game. Most of the logic for them was already figured out as well so I didn't have to do them from scratch.
[video=youtube;tYhHyxjXmH8]http://www.youtube.com/watch?v=tYhHyxjXmH8[/video]
The Machete Slinger still needs some more work. I’m thinking it might be cool if he could reflect projectiles with his machete and it takes him a second or two to turn around. You will then have to leap/roll past him and quickly shoot him in the back to deal damage. That would require a couple new animations though.
[QUOTE=proboardslol;47565627]Finished the first version of my modem program. Very special thanks to Fourier (the fellow facepuncher and mathematician; not the dead mathematician) for his help with the math involved with finding the frequency of waves!
Heres a video.
[media]http://www.youtube.com/watch?v=DcLVlhXZb3U[/media]
This is a demo of 2 programs I made. the first ("modulate") modulates binary files into signed 16 bit pcm 44100 sample rate wav files. Each 0 is converted into a 1200hz tone, and each 1 into a 2400hz tone. The second program demodulates the wave file back into a binary file, getting the frequency of 74-sample audio clips (2 periods of a 1200hz tone, or 4 periods 2400hz tone) and converting each bit back into a binary file. This is built off of the kansas city standard ( [url]http://en.wikipedia.org/wiki/Kansas_C[/url]... ) which originally was 300 baud, and was later improved to 1200 baud. 1200 baud is possible, but harder to implement with cassette tapes as a low quality tape deck (like mine) can decrease accuracy considerably if the reels do not spin at a consistent rate (like mine).
I'm super excited about this! This is a project I've been wanting to do for about a year but was unsure of how to accomplish it. So I started learning C as hard as I could and now I finally did it! It's a measure of how much I've learned in a year, and it's the first real project I've finished AND added to github!
Thank you facepunch! I've never seen such an active and personal community of developers and programmers who really know their stuff, and I feel like I've really learned a lot being here! That's why I chose the facepunch logo to be first file I tested it on
available at [url]https://github.com/proboardslol/modem[/url][/QUOTE]
[URL="https://en.wikipedia.org/wiki/Kansas_City_standard"]The standard[/URL] (your link was broken) seems to specify sine waves instead of square ones.
With the current implementation you get a lot of distortion which may affect hardware implementations.
What happens if you shift the input a bit so there's some silence first or an offset that's not a multiple of the bit or phase length?
[QUOTE=No_0ne;47568619][img]http://i.imgur.com/CNhxtmL.gif[/img]
skeleton maaaaaaannnn[/QUOTE]
the skeleton reminds me of mario for super nintendo :v
[QUOTE=MeepDarknessM;47568803]the skeleton reminds me of mario for super nintendo :v[/QUOTE]
C-castle...vania?
[QUOTE=andrewmcwatters;47568869]C-castle...vania?[/QUOTE]
I've actually never heard of that.
I heard I can compile my shit to linux with the 2015 CTP, is this true?
[QUOTE=eirexe;47568956]I heard I can compile my shit to linux with the 2015 CTP, is this true?[/QUOTE]
Let us know how it works out if you try. I havent ever had any success getting anything from Windows to work on Linux natively.
[QUOTE=No_0ne;47568619][img]http://i.imgur.com/CNhxtmL.gif[/img]
skeleton maaaaaaannnn[/QUOTE]
these kinds of games never get old for me
3 Danes in a row, baby, yeah!
Just posting because of Danes
I made this game for a Game Jam last-last weekend. We are 4 people in a team to make a game with the theme 'Fix Your Old Project'
We decided to make a successor to my very first Ludum Dare game [URL="http://ludumdare.com/compo/ludum-dare-26/?action=preview&uid=6866"]Cutato[/URL].
[IMG]http://jalict.net/images/cutato3d-hero.jpg[/IMG]
It's Potato peeling game :v:
Can be found here [URL]http://jalict.net/#work[/URL]
[QUOTE=mastersrp;47569491]Let us know how it works out if you try. I havent ever had any success getting anything from Windows to work on Linux natively.[/QUOTE]
Well I mean, the .net source code at github says that they have linux and mac support, so I guessed it would work.
Also more shit.
Ignore the button placement.
[t]http://i.imgur.com/V6wYASs.png[/t]
[QUOTE=eirexe;47570591]Well I mean, the .net source code at github says that they have linux and mac support, so I guessed it would work.[/QUOTE]
.NET always worked on linux and mac.
[editline]21st April 2015[/editline]
With Mono, that is. I don't think Core CLR supports linux and mac yet.
[editline]21st April 2015[/editline]
Oh wait, it says it builds for both linux and mac! Woo!
[QUOTE=No_0ne;47568619][img]http://i.imgur.com/CNhxtmL.gif[/img]
skeleton maaaaaaannnn[/QUOTE]
Strange how your style hasn't changed from certain principles over the years.
Even in 2009 you were making [url=http://i.cubeupload.com/H2Cdlf.png]bulky blue things[/url] which you should totally have made your game about.
I figured, why stop at just countries? How about all major cities too :)
[img]http://imgur.com/1xM66Ez.png[/img]
So I redid the demodulation algorithm; previously it would grab 74 samples (2 periods of a 1200hz wave or 4 periods of a 2400hz wav) and try to ascertain the frequency by getting the number of times it crosses the x axis.
This was a bad design because tape decks rely on mechanical sturctures to play audio back so I can't assume a perfect 74 samples per bit. So I was researching data correction algorithms when I decided I would just fundamentally change the demodulation algorithm instead.
So now, it reads 1 sample at a time. The algorithm goes like this:
[code]
1. Read a single sample
2. Check if the current sample and the last sample have different signs (one is positive, one is negative) or if the current sample == 0. if so:
a. check if the number of samples taken before the signs switched is between 3 and 14 (this mean that it is 2400hz). add one to the 2400hz half-period counter
b. check if the number of samples taken before the signs switched is between 14 and 24 (this means that is is 1200hz). add one to the 1200hz half-period counter
c. reset the number of samples counter
3. check if the 2400hz half-period counter == 8. if so:
a. add one bit to the output byte
b. reset the half-period counters (both 1200 and 2400hz)
4. check if the 1200hz half-period counter == 4. if so:
a. add 0 bit (do nothing) to the output byte
b. reset the half-period counters (both 1200 and 2400hz)
5. check if all bits in the byte have been written. if so:
a. write the output byte.
b. reset output byte data to 0.
6. set the current sample to the last sample.
7. repeat until EOF
[/code]
I was having trouble getting the correct output. it turns out that my tape deck was skipping entire periods of 1200hz waves; not just messing them up, but outright skipping ahead a few seconds. So my tapedeck was not good enough for data transfer. This is okay, because I have another tapedeck, and the one I was using was 30$ at radioshack anyways so I didn't expect it to be very high quality.
However, my other tape deck doesn't have a microphone jack. only an external microphone
At first, I tried just putting the microphone up to the speakers and playing the transmission. However, for a myriad of reasons (noise, mostly), I couldn't get an accurate recording.
So, I know that I have an old stereo which records tapes and plays CDs. So I burnt the wave file to a CD, and played it over the stereo while recording to the tape. Then, I played the tape on my better tape deck to audacity, cut some of the extra shit down manually, and then demodulated that.
and it worked
Now, I understand the CD method is a little roundabout method, but I think that anybody interested in cassette culture who would want to partake in this as a hobby would have better recording equipment than I.
Plus, the cd->cassette method had comparable quality to the original cassette recorder, just with better accuracy, so I'm sure than anyone with a better cassette player (like mine, but with a microphone jack) would be able to transfer data easily.
I'm showing this off tomorrow at a STEM fair, and I'm going to talk a bit about the algorithms employed in both modulation and demodulation and talk a little bit about the history of data communication as well.
Sorry for the wall of text, but I am super excited that I got this to work! everything is available on my [url=http://github.com/proboardslol/modem/]github[/url], and available under GNU GPL v3, so feel free to do what you wish with the code.
Ahh I'm so excited.
So I decided to make a imperial-to-metric chrome plugin.
Currently it only supports weights but I'll add more units later.
I have no idea how many other plugins like this there are :v:
[IMG]http://i.imgur.com/s43hTHFm.png[/IMG]
[IMG]http://i.imgur.com/PljLhIPm.png[/IMG]
[I]This was totally not a product of a very biased opinion[/I]
[URL="https://github.com/Syntox32/MetricFTW"]It's on GitHubbb[/URL]
[media]http://www.youtube.com/watch?v=WrDbnvUK76s[/media]
Here's a demo!
[QUOTE=Syntox;47571087]So I decided to make a imperial-to-metric chrome plugin.
Currently it only supports weights but I'll add more units later.
I have no idea how many other plugins like this there are :v:
[I]This was totally not a product of a very biased opinion[/I]
[URL="https://github.com/Syntox32/MetricFTW"]It's on GitHubbb[/URL][/QUOTE]
i enjoy US customary units just for the sake of its existence irritating my friends in other nations
also some cultural attachment to the units exist, particularly with americans' soft spot of food: there's something about "5 dollar foot longs" sounding nicer than "5 dollar 30 cm" and so on
[t]http://i.imgur.com/CfMqMG4.png[/t]
I really just wanted an excuse to use a shitty derivative of material design.
[QUOTE=Torrunt;47568213]Despite still not having any contact with the artist, I went back and added some enemies to my Zombie Game. The graphics for them was already made from when this was originally going to be a flash game. Most of the logic for them was already figured out as well so I didn't have to do them from scratch.
[video=youtube;tYhHyxjXmH8]http://www.youtube.com/watch?v=tYhHyxjXmH8[/video]
The Machete Slinger still needs some more work. I’m thinking it might be cool if he could reflect projectiles with his machete and it takes him a second or two to turn around. You will then have to leap/roll past him and quickly shoot him in the back to deal damage. That would require a couple new animations though.[/QUOTE]
Infected Mushroom <3
[img]http://i.imgur.com/JfiAwkk.png[/img]
suddenly pugs
I also finally [url=https://github.com/DaaOtt/block/commit/bcb976fbdcefc3c0f7f0dff206328d788fcb9f59]fixed[/url] collisions, it's so awesome when shit works frst time.
[QUOTE=proboardslol;47571199][media]http://www.youtube.com/watch?v=WrDbnvUK76s[/media]
Here's a demo![/QUOTE]
I'm curious about the reverse: could you take a sound clip, format it into a visual rgb output, print it, scan, and modulate that back into an audio clip again?
There obviously would be a loss of quality, but I'm interested in how much of a loss, and how long an audio clip could be used per size of printed paper.
[QUOTE=Karmah;47573062]I'm curious about the reverse: could you take a sound clip, format it into a visual rgb output, print it, scan, and modulate that back into an audio clip again?
There obviously would be a loss of quality, but I'm interested in how much of a loss, and how long an audio clip could be used per size of printed paper.[/QUOTE]
you can do that without loss
Does anyone else ever have times where you implement a tiny feature in your code, then get an overwhelming, inexplicable itch to over-engineer the hell out of it?
I ask because I was just writing a simple boolean property for one of Rant's classes when the devil himself jumped onto my shoulder and whispered into my ear, "[I]Too basic. Make EIGHT values instead of two![/I]"
[img]http://i.imgur.com/9ZsNL0p.png[/img]
I find that there's something really fun about creating extremely elaborate solutions for relatively small tasks.
[t]http://i.imgur.com/sH6HaBn.jpg[/t]
[url]https://github.com/LordOfGears2/DewritoLauncher[/url]
Made a server browser for a launcher for the leaked Halo Online game
I know it's not much, especially since 95% of the launcher was FishPhd and Coolranch (the networking bit) was shane/stgn.
Still, at least people have something that's not a shitty LAN client now :D
-snip found it, Freesound.org-
Playing around with image manipulation in C++. Some of the weirder results:
[img]http://i.imgur.com/zDuwBwf.png[/img]
[img]http://i.imgur.com/fFxoQO4.png[/img]
Sorry, you need to Log In to post a reply to this thread.