[QUOTE=RebelSlug;39182776]Cheers.[/QUOTE]
Did you have to upload a bitmap?
[QUOTE=danharibo;39183053]Did you have to upload a bitmap?[/QUOTE]
<3 the imgur chrome plugin, use this image instead RebelSlug: [url]http://i.imgur.com/Mamzu.png[/url]
Been a bit hectic with exams recently, but got a few days' break so I'm working on the new language for my computer again. It's called spoon, because the last one was called fork. Imaginative, I know!
Looks like this:
[code]
const pointer debugout = 0xc000;
const pointer debugin = 0xc001;
function main()
{
nfc(0xbfff, 0x0018);
nfc(0xbfff, debugin);
nfc(debugout, 0xbfff, 0x0000, 0x0000);
}[/code]
I was going to aim for something more python-like but my friends voted on the C++ish syntax, oh well :v:
Gonna have a linker and whatnot so I can create libraries more easily, should make writing the OS easier. That means I'll probably have header files as well, but for the minute there are just a few hardcoded function signature.
Current output:
[IMG]http://i.imgur.com/5P6cw.png[/IMG]
Scanning and parsing are done, and I've pretty much finished the first compiler parse, which involves sorting out scope and replacing local variable names with globally unique symbols, and I sub in any constants while I'm at it. Type checking and function signature checking are gonna be in the second pass, and then I'll pack it all up and send it to the linker.
Seems to be going well at the minute!
[QUOTE=RebelSlug;39182776]Cheers.
[img]https://dl.dropbox.com/u/38743341/FarmingGame%202013-01-29%2023-45-21-03.bmp[/img][/QUOTE]
I also want to make something with the free pixel project sprites :c
[editline]11th January 2013[/editline]
They just scream "MAKE A GAME FROM ME"
Has anyone ever made something with a Raspberry Pi and a LED matrix?
[QUOTE=anthonywolfe;39182349]
What the fuck. it seems somehow virtualalloc or the copy butchered my call addresses. I patched them up and just like magic it worked.
I guess the next step is figuring out why the calls got butchered.[/QUOTE]
Okay so it seems the Alloc and Copy have nothing to do with it. Seems in the BinaryWriter for writing the call address only the bits get flipped. ex 0x12345678 = 0x87563412 I know it gets reversed because of Endianess but it seems it's flipping it as a int and then flipping each byte. Odd thing is this is the Only place it occurs. Mov uses the same kind of write call and it's fine.... Guess this needs some more digging.
[editline]:|[/editline]
Oh fuck me calls get a special encoding...... Well atleast that's fixed now :suicide:
[editline]:|[/editline]
One time fix* turns out it won't a special "encoding" just the distance aka near call. There is no far calls in x86 asm as far as I can tell so I just write the near call op then store the current location and address in a dict then preform the math after the function is in memory.
[QUOTE=Darkwater124;39185652]Has anyone ever made something with a Raspberry Pi and a LED matrix?[/QUOTE]
everyone
[QUOTE=swift and shift;39186636]everyone[/QUOTE]
Not me. I still haven't used my Raspberry Pi.
[QUOTE=swift and shift;39186636]everyone[/QUOTE]
You're thinking of an Arduino.
[vid]http://dl.dropbox.com/u/78160842/terrario.webmhd.webm[/vid]
I call it TerrMario!
I've never done much gamedev outside of 2djava and gmod, but I really enjoy the benefit of being abstracted from a lot of the underlying graphics rendering and such like we have with gmod lua. Would moving to an engine like unity or unreal give a similar experience?
[QUOTE=Sean C;39187470]I've never done much gamedev outside of 2djava and gmod, but I really enjoy the benefit of being abstracted from a lot of the underlying graphics rendering and such like we have with gmod lua. Would moving to an engine like unity or unreal give a similar experience?[/QUOTE]
You'd be working a little lower level with unity, and perhaps a tad higher level with unreal.
is there a complete list of different types of noise out there? the closest I've found is this list
[url]http://www.neilblevins.com/cg_education/procedural_noise/procedural_noise.html[/url]
but it's missing a bunch of things like simplex
[url]https://github.com/Jookia/GettextTools[/url]
After a year in development, I hope it's been worth the weight.
Using what is probably the world's worst coding job, I managed to make this:
-snip-
Uses spotify's web API for track info, scrapes the open.spotify.com page for album covers, and uses spotify-websocket-api for MP3. It's not pretty by any means but it works.
[QUOTE=supersnail11;39188009]Using what is probably the world's worst coding job, I managed to make this:
[URL]http://spotify.cash4ads.biz/[/URL]
Uses spotify's web API for track info, scrapes the open.spotify.com page for album covers, and uses spotify-websocket-api for MP3. It's not pretty by any means but it works.[/QUOTE]
Gah, not cool. This is the kind of thing that's going to anger Spotify and make them try to block the API out, spoiling the fun for those writing legit apps/tools. If you want to write stuff like this, [b]please[/b] don't publish it.
I think in the end tools like this (and yes, I wrote one of them) were contributing factors in them pulling the plug on despotify. This is also why whilst SpotifyFS works really well, I can't publish it. It's just too risky.
As a side note, generated URLs are linkable to your account, so they might well ban you or try to take further action that route, too.
On a more constructive note, the API supports retrieval of track cover URLs, you don't actually need to scrape for those.
[QUOTE=Hexxeh;39188231]Gah, not cool. This is the kind of thing that's going to anger Spotify and make them try to block the API out, spoiling the fun for those writing legit apps/tools. If you want to write stuff like this, [b]please[/b] don't publish it.
I think in the end tools like this (and yes, I wrote one of them) were contributing factors in them pulling the plug on despotify...
As a side note, generated URLs are linkable to your account, so they might well ban you or try to take further action that route, too.
On a more constructive note, the API supports retrieval of track cover URLs, you don't actually need to scrape for those.[/QUOTE]
You're probably right. I'll take it down, I doubt many people would use it anyways.
Making some progress on my project, multiplayer works since yesterday, today i'm messing around with skyboxes, got this free one from the internet :v:
[img]http://puu.sh/1ML0i[/img]
[QUOTE=swift and shift;39186636]everyone[/QUOTE]
Then what matrix display did you use?
5 minutes into testing multiplayer with a few friends, dicks are already being built and the server crashed 3 times :v:
[img]http://puu.sh/1MLhU[/img]
[img]http://puu.sh/1MLhB[/img]
Working on diffuse lighting: [img]https://dl.dropbox.com/u/41041550/Coding/C%23/OGLFV/diffuse.PNG[/img]
working on some parser shit
currently translates:
[lua]test = "hi";
bloop = 1 + 2 + 3 + 4;
bloop = 1 + ((2 + 3) + 4);[/lua]
into:
[code]GET test
PUSH_STRING hi
SET -2
GET bloop
PUSH_NUMBER 1
PUSH_NUMBER 2
PUSH_NUMBER 3
PUSH_NUMBER 4
ADD -2
ADD -2
ADD -2
SET -2
GET bloop
PUSH_NUMBER 1
PUSH_NUMBER 2
PUSH_NUMBER 3
ADD -2
PUSH_NUMBER 4
ADD -2
ADD -2
SET -2[/code]
for some reason it's adding it in a weird order, but it keeps things in parenthesis correct.
eh, whatever.
I'm thinking about remaking it as a bottom-up parser just to get it to add in the correct order.
idk.
Trying my best at getting rid of shadow aliasing:
[img]https://dl.dropbox.com/u/41041550/Coding/C%23/OGLFV/progress.PNG[/img]
Now that's what I call a muzzle flash, p pleased with it.
[img]https://dl.dropbox.com/u/99765/fortblox/fortblox_120113_164606.png[/img]
I made a simple program that concatenates sound files.
[IMG]http://i.imgur.com/SDG0P.png[/IMG]
Simpy start cmd.exe and navigate to the program location. Type the program name and pass arguments. The last argument is the path where to save the combined sounds. All other arguments is just list of files that are combine one after another.
Here is a [URL="http://filesmelt.com/dl/SoundConcatiator.rar"]link[/URL] from where you can download it.
[QUOTE=Goz3rr;39191094]5 minutes into testing multiplayer with a few friends, dicks are already being built and the server crashed 3 times :v:
[img]http://puu.sh/1MLhU[/img]
[img]http://puu.sh/1MLhB[/img][/QUOTE]
What does that button do?
You know which one I am referring to.
[QUOTE=bobiniki;39192866]I made a simple program that concatenates sound files.
[IMG]http://i.imgur.com/SDG0P.png[/IMG]
Simpy start cmd.exe and navigate to the program location. Type the program name and pass arguments. The last argument is the path where to save the combined sounds. All other arguments is just list of files that are combine one after another.[/QUOTE]
You post a utility, how to use it, but no linkss to where to get it?
Sorry, you need to Log In to post a reply to this thread.