• What are you working on? v16
    5,004 replies, posted
[url=http://www.facepunch.com/member.php?username=nipa]Nipa[/url] said that at the rate I'm working on my OS, I'll be loading programs by the end of the week. Well, it's Friday (friday, friday...) and lookie what I have here: [img]http://i.imgur.com/urdkP.png[/img] [img]http://i.imgur.com/9iqDz.png[/img] :toot: [editline]-[/editline] Those tasks are running in ring3 as well, in completely isolated virtual address spaces (paging ftw) [editline]-[/editline] And here's an example of a usermode process written in Assembly: [code] org 0x10000000 use32 syscall: mov eax, 0xdeadbeef int 0x80 jmp syscall [/code]
[QUOTE=Samuka97;29051167]Find free font fixed width no easy. Me taking long replace font.[/QUOTE] Use a normal font then. Easier to read.
[QUOTE=Xera;29051423]Use a normal font then. Easier to read.[/QUOTE] Just to clarify, do you guys mean "readable" as "make it bigger" or readable as "get a font that doesn't cut off letters and that has lines bigger than 1 pixel"? [editline]8th April 2011[/editline] besides I'd like a fixedwidth font because of the quickadd thing on the top, it's a bitch to limit the characters when every letter has a different width
Currently brushing up on my quantum mechanics, since I'd like to make a quantum computer simulator. Edit: Of course, not ever having taken a course of quantum mechanics, I highly doubt I'll have enough self-taught knowledge to compete with the PhD students, but I can try! Edit 2: Irtimid, I also made it to ECOO regionals, so I guess I'll see you there :D
[QUOTE=Samuka97;29051491]Just to clarify, do you guys mean "readable" as "make it bigger" or readable as "get a font that doesn't cut off letters and that has lines bigger than 1 pixel"? [editline]8th April 2011[/editline] besides I'd like a fixedwidth font because of the quickadd thing on the top, it's a bitch to limit the characters when every letter has a different width[/QUOTE] It's really contrasting on the eyes and its not that legible. I think you should have more of a text shadow effect to make it easier on the eyes.
[QUOTE=Samuka97;29051491]Just to clarify, do you guys mean "readable" as "make it bigger" or readable as "get a font that doesn't cut off letters and that has lines bigger than 1 pixel"? [editline]8th April 2011[/editline] besides I'd like a fixedwidth font because of the quickadd thing on the top, it's a bitch to limit the characters when every letter has a different width[/QUOTE] Another font, try something else with mono-spacing. There's plenty of free good mono-spaced fonts.
Just out the idea of boredom and the fact it is 3:30am here i just made a really simple LED Matrix Simulator Class [img]http://localhostr.com/files/nygGeEb/LED%20Matrix%20Simulator.png[/img]
OpenGL, yay! :D [img]http://dl.dropbox.com/u/23989104/windowmanager.png[/img]
[QUOTE=Shanethe13;29052066]Currently brushing up on my quantum mechanics, since I'd like to make a quantum computer simulator. Edit: Of course, not ever having taken a course of quantum mechanics, I highly doubt I'll have enough self-taught knowledge to compete with the PhD students, but I can try! Edit 2: Irtimid, I also made it to ECOO regionals, so I guess I'll see you there :D[/QUOTE] How physical do you intend to get? I don't know a thing about QM and even I can make a nondeterministic computer simulator.
[QUOTE=ThePuska;29052467]How physical do you intend to get? I don't know a thing about QM and even I can make a nondeterministic computer simulator.[/QUOTE] Representing data as quantum state vectors, and manipulating it with quantum gates. Right now I'm using dirac notation to represent everything, so for example: [code] main = putStrLn∘show $ Ket 0 *> Ket 1 *> Ket 1[/code] Currently outputs: [code]|0; 1; 1>[/code] The tensor product of the three vector spaces defined by the kets |0>, |1>, and |1>. Edit: This is my main reference paper at the moment: [url]http://arxiv.org/PS_cache/quant-ph/pdf/0011/0011013v1.pdf[/url] Honestly, it shouldn't be too complex of a project to get working. The main issue will be optimization, once you run into the huge numbers of permutations that are possible as the number of qubits increases. At the moment, I believe we have 12-qubit quantum computers, but most simulators only go up to 10 or so, before there is simply too much data to efficiently work with. I guess I didn't really answer your question though. Most of the manipulation will be purely mathematical. I won't be attempting to simulate decoherence or anything, although superposition and such are easy to represent with some matrix operations. Edit 2: Actually, here is an example of creating a superposition of states. [code] main = putStrLn∘show $ (Ket 0 +> Ket 1) *> (Ket 0 +> Ket 1) *> (Ket 0 +> Ket 1) [/code] Returning: [code] 1.0 |0; 0; 0> + 1.0 |0; 0; 1> + 1.0 |0; 1; 0> + 1.0 |0; 1; 1> + 1.0 |1; 0; 0> + 1.0 |1; 0; 1> + 1.0 |1; 1; 0> + 1.0 |1; 1; 1> [/code] Which are all of the possible states which could result from that operation.
[QUOTE=Samuka97;29051167]Find free font fixed width no easy. Me taking long replace font.[/QUOTE] You.. youwhat?
I'm finally getting used to programmable pipeline in OpenTK. I'm still trying to wrap my head around matrices, the OpenTK examples don't really help, since they use deprecated functions for them. I'd appreciate non-deprecated examples of a 3D camera in OpenTK, if anyone happens to have some :shobon: It's all in [url=https://bitbucket.org/pollyzoid/opengl-sandbox]my BitBucket[/url] if anyone is interested.
[QUOTE=Tangara;29051251][img_thumb]http://i.imgur.com/urdkP.png[/img_thumb][/QUOTE] Heh, I'm still working on process synchronization, inter-process message passing and a better scheduler (so I don't have to spinlock everywhere). Good job.
[QUOTE=Samuka97;29051167]Find free font fixed width no easy. Me taking long replace font.[/QUOTE] [url=https://fedorahosted.org/liberation-fonts/]Liberation Mono[/url] looks pretty good IMHO.
[QUOTE=Epic Sandwich;29041188]Been working on a simple iPhone game for the past few days, essentially a dodge-the-falling-balls kind of thing. [media]http://dl.dropbox.com/u/1426380/Screenshot%202011.04.07%2022.28.00.png,[url]http://dl.dropbox.com/u/1426380/Screenshot%202011.04.07%2022.28.51.png,http://dl.dropbox.com/u/1426380/Screenshot%202011.04.07%2022.28.55.png[/url][/media] Essentially, your score is the big-ass number in the background. Picking up the blue balls gives you three bullets (number of bullets is the little number below the score) which you can use to destroy the falling balls and get more points. Or simply letting the balls fall off the screen nets you a point. Got quite a bit left to do yet (alot of art stuff, especially the texture for the bullets), but I'm just glad I've actually got content for once :unsmith: Question time. What's the best way for checking collision between a square and a circle? At the moment I'm treating the player as a circle with a radius just over the width of the player, but the system's a bit trippy (as in, it collides when it's not really touching, however you can cut the corner on the player and the game doesn't think you've collided).[/QUOTE] What the hell, why would an iphone screen need that resolution D:
[QUOTE=Jallen;29053155]What the hell, why would an iphone screen need that resolution D:[/QUOTE] 640x960 is the native iPhone 4 resolution.
[QUOTE=Samuka97;29051491]Just to clarify, do you guys mean "readable" as "make it bigger" or readable as "get a font that doesn't cut off letters and that has lines bigger than 1 pixel"? [editline]8th April 2011[/editline] besides I'd like a fixedwidth font because of the quickadd thing on the top, it's a bitch to limit the characters when every letter has a different width[/QUOTE] Muthafuckin [url=http://en.wikipedia.org/wiki/Bitstream_Vera]Bitstream Vera Sans Mono[/url]! Best free monospaced font, hands down.
[QUOTE=Samuka97;29051167]Find free font fixed width no easy. Me taking long replace font.[/QUOTE] [url=http://www.ms-studio.com/FontSales/anonymouspro.html]Anonymous Pro[/url] is my favorite Fixed-width font, if you're looking for suggestions.
[QUOTE=Samuka97;29051124][img_thumb]http://i225.photobucket.com/albums/dd159/samuka97/RemindMeBeta.png[/img_thumb] Coming along pretty nicely.[/QUOTE] [IMG]http://i55.tinypic.com/30lnitj.png[/IMG] Easier to read?
[QUOTE=Jallen;29053155]What the hell, why would an iphone screen need that resolution D:[/QUOTE] quality~
[media]http://www.youtube.com/watch?v=47c0KCrPgcw[/media] Console for my multiplayer space game, though it's not fully done yet. As in: you can't type.
Does anyone know if the levels in "The Impossible Game" are procedurally generated? And what would be the best algorithm to do this?
If you mean the one where you're the orange square, then no. They're just kinda look like it.
[img]http://img130.imageshack.us/img130/9761/collisiondetection20110.jpg[/img] My very first java game in progress. You can move the square around with arrow keys, has collision detection and a speeder and slowdown-er. :v: Got some problems though, if I get into the slower long enough, my speed goes to minus, and it will reverse all controls, is there any way to let the speed-reducing stop at 1, so it cant get to 0, or -1?
[QUOTE=Staneh;29056826][img_thumb]http://img130.imageshack.us/img130/9761/collisiondetection20110.jpg[/img_thumb] My very first java game in progress. You can move the square around with arrow keys, has collision detection and a speeder and slowdown-er. :v: Got some problems though, if I get into the slower long enough, my speed goes to minus, and it will reverse all controls, is there any way to let the speed-reducing stop at 1, so it cant get to 0, or -1?[/QUOTE] I'm not sure what you'll have to import, but there's a Min and a Max function, so you can just do [code] mMoveSpeed = Max( 0.01f, mMoveSpeed - delta ) [/code]
It's Math.max(x,y) :smile:
Anyone know of any tutoorials/algorithms/articles for making procedural platform levels like "the imposible game" has?
[QUOTE=Robber;29057279]It's Math.max(x,y) :smile:[/QUOTE] Well, actually I have no idea how to implent that in my existing code right now. I just got a variable for speed, which changes when you "intersect" with an object.
[QUOTE=Jallen;29053155]What the hell, why would an iphone screen need that resolution D:[/QUOTE] The screenshots are directly off my iPhone 4, just couldn't be bothered resizing them. Also, Game Center support: [media]http://dl.dropbox.com/u/1426380/Screenshot%202011.04.08%2022.14.03.png[/media] Going to add achievements now.
[img]http://localhostr.com/files/60BU8Ys/Portal%202%20Countdown.png[/img] That suspense.
Sorry, you need to Log In to post a reply to this thread.