• What are you working on? v15
    5,001 replies, posted
[QUOTE=xAustechx;27422156]Nice but, why hide the Windows button? Scared of us knowing you're using Windows 7? :P[/QUOTE] I got bored, and spray paint brush was fun... You can even recognize the icons through the spray paint
[QUOTE=Overv;27421086]CamStudio cried while recording this, but I started doing some real work on the GUI of Facepunch for Android. [img_thumb]http://dl.dropbox.com/u/2399384/Android%20fp%20gui%20test.gif[/img_thumb][/QUOTE] So pumped for an Android app, now that I own a phone
[QUOTE=Layley;27422125]thus loks really pretty I lijke it but 1 queston are you goin to ad the aiblity for ratings? sory about the spelin i h ad a few drinks[/QUOTE] yes it will have speling i mean ratings an those other cool aiblities
[QUOTE=mmavipc;27422104][media]http://i52.tinypic.com/3090v85.png[/media] Noise :D and as a bonus, COLOR :D[/QUOTE] How did you make the different colours?
[QUOTE=Benji;27422248]So pumped for an Android app, now that I own a phone[/QUOTE] What, you never owned a phone before?
Still messin' around in SFML. Found the LostFocus and GainedFocus events. Made a simple window play a song when it lost focus, and pause it when it gained it back. And the song was slightly annoying (but I like it, the artist is pretty good in my opinion). The song was this [media]http://www.youtube.com/watch?v=8N7-wRWg7FU[/media]
[img]http://i51.tinypic.com/2cfukur.jpg[/img] Ignore the terrible level design power button, both are just temporary. Currently working on movement at the moment, which is basically like Pac-Man but controlled by accelerometer. All of the movement is physics/gravity based, so as the player moves the enemies will naturally roll toward them. [editline]14th January 2011[/editline] Its going to be all 8bit design. The player is already animated. Just something I came up with.
[QUOTE=Richy19;27422541]How did you make the different colours?[/QUOTE] First it got a value 0-255 from the noise 0-50 is water 51-100 is sand and 101-255 is grass
Alright, it's working :v: [img]http://i53.tinypic.com/n224bm.png[/img]
[QUOTE=The Inzuki;27422590]What, you never owned a phone before?[/QUOTE] I never had a phone and I'm 16. My parents told me that they wont buy me a phone because I don't have enough real life friends, and I don't have the money to buy one on my own. :/
I have a monochrome phone. It's one of the old ones where you could run it over with geel's stupidity and still have it working. I barely use it, only to text my friend when I'm in the middle of town wondering where they are, only to find out later that they left their phone at home. [img]http://i54.tinypic.com/28hznua.png[/img]
[QUOTE=HiredK;27423980]Alright, it's working :v: [img_thumb]http://i53.tinypic.com/n224bm.png[/img_thumb][/QUOTE] Are you going to release that at any time?
[QUOTE=xAustechx;27423983]My parents told me that they wont buy me a phone because I don't have enough real life friends[/QUOTE] lmao
[QUOTE=HiredK;27423980]Alright, it's working :v: [img_thumb]http://i53.tinypic.com/n224bm.png[/img_thumb][/QUOTE] Got the polygon count attached to the bsp module and everything. Looks like it's going really well, keep it up.
[QUOTE=xAustechx;27423983]I never had a phone and I'm 16. My parents told me that they wont buy me a phone because I don't have enough real life friends[/QUOTE] Holy shit, your parents are cold
Just "finished" my garbage collector. All the code is where I want it to be, it seems to be working fine on my end. I just need to run a few more tests myself, but if you'd like to help, you can grab the code [url=https://github.com/mnmlstc/bank]here[/url]. You'll need CMake 2.8. So far I've tested it as working on OS X (64-bit) and Linux (32-bit). You'll need to have pthreads at the very least on a non windows system. Please help me out here. I need people to try and break it. You can see how to get some basic use out of it in the examples/bank-example.cpp file. It just uses a simple new/delete, so it doesn't actually kick in the collector looking for more memory. For that you'll need to use more than 16 MB of memory, or start the entire thing with less than that. Some basic (but as of right now uncompleted) documentation is available in the docs/* directory. Make sure you don't new and delete on an integral type, as the library does not override global new and delete. (reasons for this are placed within the documentation of bank.md in the docs directory) This version is EXTREMELY unoptimized, to the point that it will print debug info while you are using it. Any contributions to make any portion of it faster are appreciated. I've gone to some lengths to remove some C-isms (such as if(!some_void_ptr)) to help make the code more "reasonable" and to make my intent more apparent, rather than to attempt some bizarre optimizations. If you happen to have a freebsd box available, I'd also appreciate it if you could give it a go. It worked on mine, but it's always been a little screwy with whatever I write, so a second opinion would be wonderful. If you're running a [b]non[/b] Visual Studio 2010 (2005 or 2008) instance I'd also love to hear from you. Here's the link once more [url=https://github.com/mnmlstc/bank.git]click me[/url] Here's to hoping this works great :)
[img]http://i.imgur.com/UJ32V.png[/img] Tired.
[QUOTE=xAustechx;27423983]I never had a phone and I'm 16. My parents told me that they wont buy me a phone because I don't have enough real life friends, and I don't have the money to buy one on my own. :/[/QUOTE] That must really suck :ohdear:. Have a heart.
Working on rewriting Kari in C, and it's going fairly well. I'm implementing ref-counting on kari_values as a form of crappy GC which works fairly well except there's a few spots that I've forgotten to add a call to kari_value_release(). Screenshot to stop people scrolling: [img]http://f.anyhub.net/1tOV[/img] I'm also running into some insane Heisenberg effect, where [i]sometimes[/i] doing something will cause a double-free, and then when I run it under gdb or valgrind, it works perfectly. :argh: Otherwise, it's going well. [editline]15th January 2011[/editline] I feel like I should explain the output when I just type 'quit'. I'm loading up a C function that'll execute another called 'oneshot' into the global context, and binding the 'quit' identifier to a native function value that calls oneshot() with state being the address of the exit function from the standard library. All native functions have a state that gets sent along to the function itself as a parameter: [cpp] kari_value_t* oneshot(void* state, kari_value_t* arg) { ((void(*)())state)(); } void kari_open_corelib(linkedstack_t* stack) { // @todo table_set((table_t*)stack->data, "quit", make_ref(new_kari_native_function_value(oneshot, exit))); } [/cpp] Then when the VM encounters a native-function, this piece of code is responsible for calling that C function. [cpp] kari_value_t* ret = NULL; if(fn->base.type == NATIVE_FUNCTION_VALUE) { ret = ((kari_native_function_value_t*)fn)->ptr( ((kari_native_function_value_t*)fn)->state, last_value); } [/cpp]
[QUOTE=xAustechx;27423983]I never had a phone and I'm 16. My parents told me that they wont buy me a phone because I don't have enough real life friends, and I don't have the money to buy one on my own. :/[/QUOTE] Whoa, do you ever leave your house? Because, if I don't answer my phone when my parents call me, they instantly think I've been robbed/mugged/stabbed and thrown in a river in a body bag. It's really annoying. You gotta go for a weekend trip some hundred km away and promise to come back on Sunday, but actually make plans to come back on Monday. They'll shit their pants and buy you a phone.
I don't even have a mobile, I just e-mail everyone - it's faster.
I also experimented with implementing something similar to P/Invoke in C (with the Linux API, obviously I'll have to write some dirty WinAPI shit when I port this to Windows) [cpp] #include <stdio.h> #include <stdlib.h> #include "pinvoke.h" int main() { int i; void* fact = pinvoke("./fact.so", "fact"); long args[1]; for(i = 0; i < 10; i++) { args[0] = i; printf("fact(%d) = %d\n", i, (int)call(fact, args, 1)); } } [/cpp] Basically, you grab a 'handle' to your pinvoke'd function and then use the call() function with an array of arguments to call it. This all works with the long data-type, so theoretically it should work on both 32 and 64 bit as long as you don't use long long on 32 bit. Here's that sample program in action: [img]http://ahb.me/1tPE[/img] [editline]15th January 2011[/editline] automerge :(
[QUOTE=CarlBooth;27426919]I don't even have a mobile, I just e-mail everyone - it's faster.[/QUOTE] Some times you have to that insist that they want to call, just like to stupid ones you need to fax (and in the end you find out even they don't own one.).
[QUOTE=CarlBooth;27426919]I don't even have a mobile, I just e-mail everyone - it's faster.[/QUOTE] But with a smartphone you can e-mail everyone while you are away. :v:
Finally made Perlin noise: [img]http://i53.tinypic.com/2dwdpq1.png[/img]
[QUOTE=Richy19;27422541]How did you make the different colours?[/QUOTE] -Snip- code tags are failing me [editline]15th January 2011[/editline] I went with this [cpp] for(int x=0; x<600; x++) { for(int y=0; y<600; y++) { R.x=x, R.y=y; if(Array[x][y]*255>200) { SDL_FillRect(Screen.Img, &R, SDL_MapRGB(Screen.Img->format, Array[x][y]*255, Array[x][y]*255, Array[x][y]*255)); } else if(Array[x][y]*255>165) { SDL_FillRect(Screen.Img, &R, SDL_MapRGB(Screen.Img->format, Array[x][y]*50, Array[x][y]*200, Array[x][y]*50)); } else if(Array[x][y]*255>0) { SDL_FillRect(Screen.Img, &R, SDL_MapRGB(Screen.Img->format, Array[x][y]*20, Array[x][y]*20, Array[x][y]*255)); } } } [/cpp] Does anyone else find cpp tags screw up after editing, then fix with a refresh?
[QUOTE=Spoco;27426894]Whoa, do you ever leave your house? Because, if I don't answer my phone when my parents call me, they instantly think I've been robbed/mugged/stabbed and thrown in a river in a body bag. It's really annoying. You gotta go for a weekend trip some hundred km away and promise to come back on Sunday, but actually make plans to come back on Monday. They'll shit their pants and buy you a phone.[/QUOTE] But...I'd have no friends to go on a trip with. [b]edit:[/b] Ugh, dammit. Sorry for going of topic with my posts.
[QUOTE=xAustechx;27423983]My parents told me that they wont buy me a phone because I don't have enough real life friends[/QUOTE] [QUOTE=deloc;27424362]lmao[/QUOTE] Yet, im sure he has more than you.
[QUOTE=xAustechx;27428959]But...I'd have no friends to go on a trip with. [b]edit:[/b] Ugh, dammit. Sorry for going of topic with my posts.[/QUOTE] I'll be your friend :smith:
Wild map appears [img_thumb]http://img138.imageshack.us/img138/2756/sfdfq.png[/img_thumb] Now i just need to find a use for it
Sorry, you need to Log In to post a reply to this thread.