• What are you working on? v15
    5,001 replies, posted
[QUOTE=Chandler;27464607]looks like it's time to get started on my scripting language :D! My garbage collector is finished, the documentation is done. Now all I have to do is make a self post on Proggit, and maybe HackerNews. I'm terrified. :ohdear:[/QUOTE] I've wanted to do that, but I can't write a parser.
[QUOTE=Chandler;27464607]looks like it's time to get started on my scripting language :D! My garbage collector is finished, the documentation is done. Now all I have to do is make a self post on Proggit, and maybe HackerNews. I'm terrified. :ohdear:[/QUOTE] Is it publicly available yet?
[QUOTE=supersnail11;27464635]I've wanted to do that, but I can't write a parser.[/QUOTE] That certainly is a swell title. When'd you get it?
[QUOTE=BlkDucky;27465068]That certainly is a swell title. When'd you get it?[/QUOTE] the title links to how he managed it :v:
[QUOTE=Richy19;27464745]Is it publicly available yet?[/QUOTE] [url=https://github.com/mnmlstc/bank]It has been for some time.[/url] [editline]16th January 2011[/editline] I posted to proggit, you can find the post [url=http://www.reddit.com/r/programming/comments/f3i4t/i_wrote_a_garbage_collector_in_and_for_c/]here[/url] so you can see the discussion (assuming there is one)
[img]http://gyazo.com/cfad3d3a0627eed1a42aea0dae968e41.png[/img] Need some fading tiles yes yes
I'm making an RPG. Currently, my art fails. [img]http://f.anyhub.net/1uYQ[/img] Here's what I have so far: [media]http://www.youtube.com/watch?v=Dkq6Cr2ulik[/media]
I've got map loading and saving. I'll add entity support and then add a gui to the editor. [img]http://localhostr.com/file/HSXkZKd/Capture3.PNG[/img] Note: I've replaced the default empty tile with a rock tile for testing. [editline]16th January 2011[/editline] Question: Should I use named entities (string name and hash) or ids?
I use names and ID's, adds a bit more flexibility for a bit of wasted memory.
[QUOTE=DevBug;27468633]I've got map loading and saving. I'll add entity support and then add a gui to the editor. [img_thumb]http://localhostr.com/file/HSXkZKd/Capture3.PNG[/img_thumb] Note: I've replaced the default empty tile with a rock tile for testing. [editline]16th January 2011[/editline] Question: Should I use named entities (string name and hash) or ids?[/QUOTE] Oh god. It hurts my eyes. At least when I look at it with my somewhat broken "wavey" monitor. Edit: It's fine on my main monitor, though.
You can try out my Mario clone thing hooray. [img_thumb]http://maurice.gmod.de/screenshot.png[/img_thumb] It is still missing much, but it has: Mario controls and animations (A, S, arrow keys) Physics Live editing (Mouse, mousebuttons) Saving and loading (save with k, load by restarting game (It saves to appdata/roaming/love/mario/map.txt, I cannot change that.) UI scrolling Cool stuff you probably won't even notice: Running fast = jumping higher You can run over 1 block gaps if fast enough You can do the stylish backwards jumping through the stage things not so working: enemies, pipes, flagpole, hitting blocks, the scrolling needs work, death, mushroom mushroom, sublevels If you feel like you're running too slowly that's because the scrolling in the real one kind of falls behind but I don't have that yet. [url]http://maurice.gmod.de/marioR5.zip[/url] Tell me what you think, especially about mario's physics. I have spent a long time on making them almost identical to the original ones. [editline]I am an idiot[/editline] I just realized that running left actually [I]subtracts[/I] from your jumppower because I forgot the math.abs. duh. Ignore that.. Also, apparently you can't accelerate to runspeed in air, so I limited it to walkspeed now. My netbook can't detect RIGHT, A and S at the same time :geno: remapped to x and c because that works. I always think to myself "Don't write so much in your posts people don't wanna read that shit" and then I end up writing way too much.
Mario seems to accelerate too slow after being stopped by an obstacle; everything else is great though i love it, it all feels fast and stable.
Turns out I'm an idiot. I guess I should have been calling my "garbage collector" a pool allocator. Oh well. :( EDIT: Even worse is that everything is not working right now. I don't even know what is wrong. Guess I'll just go back to writing shitty python scripts that don't do anything. :sigh:
What's this, Android doesn't have javax.vecmath.Vector2d? Roll your own after watching a few of PatrickJMT's videos and looking up the math behind it. Currently rewriting movement and scaling interpolation code to use vectors instead of a bunch of trig. It's surprisingly easy once you understand vectors. Next up will be a few odds and ends (checking if one entity is facing another), and finally rewriting our seperating axes theorem implementation using vectors. Also, we managed to get triggers working as seperate classes, Trigger, Cause, and Effect. It's very flexible because any Cause can work with any Effect, Trigger is just a medium between the two. Also, we have "logic gate" style Causes, so CauseOR(CauseButton, CauseEnemyCount), and it'll fire the output of the Effect if either cause is triggered. Surprisingly simple to implement after we thought out how it should work.
Finally made another app! :science: Made the app for a clients blog. My friend "helped" me with the designs. I think they're great! (read: shit) [media]http://f.anyhub.net/1vbS?/.png[/media] [media]http://f.anyhub.net/1vbT?/.png[/media] [media]http://f.anyhub.net/1vbU?/.png[/media] [media]http://f.anyhub.net/1vbV?/.png[/media] [media]http://f.anyhub.net/1vbW?/.png[/media] [media]http://f.anyhub.net/1vbX?/.png[/media] I might redesign it before I show the client the finished product.
[QUOTE=i300;27475170]Finally made another app! :science: Made the app for a clients blog. My friend "helped" me with the designs. I think they're great! (read: shit) [url]http://f.anyhub.net/1vbS[/url] [url]http://f.anyhub.net/1vbT[/url] [url]http://f.anyhub.net/1vbU[/url] [url]http://f.anyhub.net/1vbV[/url] [url]http://f.anyhub.net/1vbW[/url] [url]http://f.anyhub.net/1vbX[/url] (Sorry, the media tag isn't working for some reason...) I might redesign it before I show the client the finished product.[/QUOTE] It's because there's no extension. Try this: [media]http://f.anyhub.net/1vbS?/.png[/media]
[QUOTE=pro ruby dev;27475314]It's because there's no extension. Try this: [media]http://f.anyhub.net/1vbS?/.png[/media][/QUOTE] Thanks bro!
[QUOTE=iPope;27453925] The drawing is just something hacky I implemented to test it (that's why they are different sizes). The actual class just generates a list of colours. It can do more than one colour in theory but I need to rework the way I'm generating the colours to get it to stop being so damn weird.[/QUOTE] I imagine integer division could work quite well for creating a gradient with sharp steps between colours. You could calculate the height difference between start and endpoints, and the colour difference between the points. Then you could just do something like linecolor = startcolor + ((Δcolor * (lineheight/Δheight))//numsteps)*numsteps With // being integer division and assuming startpoint height is at 0. Just a little something off the top of my head.
It would be cool if someone wrote a program that renders a Minecraft map like this: [img_thumb]http://img685.imageshack.us/img685/227/sbcanyon0000.jpg[/img_thumb]
[QUOTE=Overv;27477380]It would be cool if someone wrote a program that renders a Minecraft map like this: [img_thumb]http://img685.imageshack.us/img685/227/sbcanyon0000.jpg[/img_thumb][/QUOTE] But how do you render cubes into realistic shapes?
[QUOTE=DrLuke;27477785]But how do you render cubes into realistic shapes?[/QUOTE] Interpolate between the cubes and add a bit of noise?
That is genius. Also to the guy who asked the space station game is like a mash-up of dwarf fortress and ss13 but not really and totally different.
[QUOTE=iPope;27477887]the space station game is like a mash-up of dwarf fortress and ss13 but not really and totally different.[/QUOTE] :confused:
I can't wait to get out of the shit hole that is my school. I'm potentially being suspended for "hacking" When in actual fact all I did was run a google search on a teacher to prove a point. For christ sake :saddowns: Surely if anything it's an invasion of privacy...
[QUOTE=Loli;27477984]I can't wait to get out of the shit hole that is my school. I'm potentially being suspended for "hacking" When in actual fact all I did was run a google search on a teacher to prove a point. For christ sake :saddowns: Surely if anything it's an invasion of privacy...[/QUOTE] Threaten legal action and make them pay for their idiocy. Oh and it's not even an invasion of privacy. Google is a public tool that you can search whatever you want on. As long as the material you look at isn't illegal then you aren't doing anything wrong. Unless you were doing it at school and you signed some kind of computer use agreement which is unlikely.
[QUOTE=Overv;27477380]It would be cool if someone wrote a program that renders a Minecraft map like this: [img_thumb]http://img685.imageshack.us/img685/227/sbcanyon0000.jpg[/img_thumb][/QUOTE] Can't the Biome Terrain Mod be configured to create landscapes like this? Even if it couldn't create this, it has some other beautiful landscapes that other people created ([url=http://www.minecraftforum.net/viewtopic.php?f=25&t=93573]here[/url]).
[QUOTE=The Inzuki;27478124]Can't the Biome Terrain Mod be configured to create landscapes like this? Even if it couldn't create this, it has some other beautiful landscapes that other people created ([url=http://www.minecraftforum.net/viewtopic.php?f=25&t=93573]here[/url]).[/QUOTE] Overv means draw a minecraft map as smooth stuff rather than blocks. But yeah biome mod can do stuff like that. It's pretty hard to configure.
We did sign a computer use agreement, but I thoroughly read it and scribbled out the bits I didn't agree to (such as them being allowed to use key loggers to trace my key strokes) . I was doing it at school, proving a point to my teacher, and the computer illiterate bitch got pissed when I found her post code and CV. I'm not going to push legal action as I don't have the money to pay for a lawyer, or the will power to. I intend on "doing a Garry" and opening up my own company one day anyway. Jallen, you're a pretty (insanely) good programmer, how would I go about encrypting my key strokes?
[QUOTE=Loli;27478174]We did sign a computer use agreement, but I thoroughly read it and scribbled out the bits I didn't agree to (such as them being allowed to use key loggers to trace my key strokes) . I was doing it at school, proving a point to my teacher, and the computer illiterate bitch got pissed when I found her post code and CV. I'm not going to push legal action as I don't have the money to pay for a lawyer, or the will power to. I intend on "doing a Garry" and opening up my own company one day anyway. Jallen, you're a pretty (insanely) good programmer, how would I go about encrypting my key strokes?[/QUOTE] If they aren't using a custom keyboard driver, you could detour GetAsyncKeyState.
[QUOTE=Overv;27477380]It would be cool if someone wrote a program that renders a Minecraft map like this[/QUOTE] Actually I'm working on something which renders surfaces like this: [media][URL]http://youtube.com/watch?v=WnpY6hA_dco[/URL][/media] [img_thumb]http://fortblox.dyndns.org/uploads/cave_wip/cave_14_01_11-2.png[/img_thumb] It's for a uni project, currently the surface is defined implicitly, but I am considering rendering from voxel data instead. I had a similar idea for a minecraft renderer like that too, but I doubt I'll have the time in this project.
Sorry, you need to Log In to post a reply to this thread.