• What Are You Working On? V13
    5,003 replies, posted
I just added some text drawing to my Lua game framework. It's nice and fast :) [img]http://www.imgdumper.nl/uploads3/4cb603449430a/4cb6034490c58-texturedtext.png[/img]
[QUOTE=Vbits;25382303]Also Chris what library is that.[/QUOTE] I was gonna wait until my inevitable box storm, but here we go... I'm using Freebasic.
As long as the end-user experience is good, I don't care what you're writing it in. [editline]14th October 2010[/editline] [QUOTE=Jallen;25376680]for(;;) double zing* = new double;[/QUOTE] This should be in WikiLeaks.
[QUOTE=CarlBooth;25380348]I'm making some Classroom Management software just for fun. Our current software is crap so I'm taking the usual approach of "Well, if you can do better..." [img_thumb]http://i51.tinypic.com/5ceoll.png[/img_thumb] - Screen capture works, but its fixed at 1024x768 at the moment - The slider at the bottom controls the thumbnail size - Clients are picked up by UDP so there's no configuration, you just run the teacher bit - Blocking screens works but doesn't lock out the keyboard yet - Blocking Internet works, but only for IE. I might have to write a pass-through proxy to add support for all browsers. - Demo will show either your or a student screen to the class. - Send File is self-explanatory. - The 'student' bit currently rapes the CPU (~12% constantly) because of the shit way I'm capturing the screen.[/QUOTE] I work as a techie in a school and one of my colleagues also made something like this to monitor what kids where doing, not as functional as yours though, how much time have you put into it so far?
[QUOTE=Jookia;25382902]As long as the end-user experience is good, I don't care what you're writing it in.[/QUOTE] I'm using freebasic for a couple of reasons 1.) The other person I'm working with has used it for a long, long time so he's really quite good with it 2.) I wanted to see how much I could actually do in a short time with a language that is new to me
[QUOTE=Wickedgenius;25382978]I work as a techie in a school and one of my colleagues also made something like this to monitor what kids where doing, not as functional as yours though, how much time have you put into it so far?[/QUOTE] Me too. [img]http://www.facepunch.com/image.php?u=100966&dateline=1286656381[/img]:respek:[img]http://www.facepunch.com/image.php?u=130181&dateline=1203200119[/img] I've spend about 8 hours on it so far. [IMG]http://i54.tinypic.com/2ro6r9d.png[/IMG] I've also just realised all this was running over a Wireless network and the packet loss doesn't seem to affect it at all really. [editline]0[/editline] [QUOTE=Chris220;25383036]I'm using freebasic for a couple of reasons 1.) The other person I'm working with has used it for a long, long time so he's really quite good with it 2.) I wanted to see how much I could actually do in a short time with a language that is new to me[/QUOTE] Oh wait, you were serious :|
There's nothing wrong with FreeBasic.
[QUOTE=Chris220;25383036]I'm using freebasic for a couple of reasons 1.) The other person I'm working with has used it for a long, long time so he's really quite good with it 2.) I wanted to see how much I could actually do in a short time with a language that is new to me[/QUOTE] [QUOTE=Jookia;25382902]I don't care[/QUOTE]
[QUOTE=Overv;25382592]I just added some text drawing to my Lua game framework. It's nice and fast :) [img_thumb]http://www.imgdumper.nl/uploads3/4cb603449430a/4cb6034490c58-texturedtext.png[/img_thumb][/QUOTE] Y'know, the point of Lorem ipsum is to make the text look more natural and how it would look in the end, otherwise you might as well type Test Test Test Test etc. and get the same effect. :v:
[QUOTE=Jookia;25383299][/QUOTE] Yeah, I know, I know I dunno why I quoted you, just felt like explaining myself :v:
[QUOTE=Jallen;25379712]Game I made in 2 hours, 59 minutes: [media]http://www.youtube.com/watch?v=cDjmhIVjKps[/media] And a timelapse of me making it: [media]http://www.youtube.com/watch?v=rTBdgCDV99s[/media] Finished my site page for it: [url]http://jallenbah.co.uk/pickerupper.php[/url][/QUOTE] [img]http://i56.tinypic.com/2m4rcjr.jpg[/img] Game's so good, makes you wanna slap yo' momma!
[QUOTE=CarlBooth;25380348]I'm making some Classroom Management software just for fun. Our current software is crap so I'm taking the usual approach of "Well, if you can do better..." [img_thumb]http://i51.tinypic.com/5ceoll.png[/img_thumb] - Screen capture works, but its fixed at 1024x768 at the moment - The slider at the bottom controls the thumbnail size - Clients are picked up by UDP so there's no configuration, you just run the teacher bit - Blocking screens works but doesn't lock out the keyboard yet - Blocking Internet works, but only for IE. I might have to write a pass-through proxy to add support for all browsers. - Demo will show either your or a student screen to the class. - Send File is self-explanatory. - The 'student' bit currently rapes the CPU (~12% constantly) because of the shit way I'm capturing the screen.[/QUOTE] Looks really nice :) I love seeing the cool little apps you post here CarlBooth, very refreshing to see something other than the usual 3D same-old.
[QUOTE=BlkDucky;25383311]Y'know, the point of Lorem ipsum is to make the text look more natural and how it would look in the end, otherwise you might as well type Test Test Test Test etc. and get the same effect. :v:[/QUOTE] I know, but that wasn't the point of the test.
[QUOTE=Overv;25385146]I know, but that wasn't the point of the test.[/QUOTE] So, how did you do the text drawing? I'm presuming you are drawing to a texture, how?
-snip-
[QUOTE=Darwin226;25385552]So, how did you do the text drawing? I'm presuming you are drawing to a texture, how?[/QUOTE] Nah, I'm just drawing parts of [url=http://dl.dropbox.com/u/2399384/wlyuc8.png]this texture[/url]. I'll probably use Freetype later, but I really needed a way to show text.
So, no transparency or do you also have a transparent version?
I assume pure black and white. Probably just removes the black background. You do the math. :P
[url=http://dl.dropbox.com/u/2399384/Passion%202010-10-13%2023-50-38-32.gif]Nah.[/url]
Following multiple projects where I've found a variable timestep to be a complete pain in the arse, I'm switching to a fixed timestep. Am I right in thinking that essentially, given a timestep of 50ms (so logic runs at 20fps)... At 10fps you want to run the logic twice per frame. At 40fps you want to run the logic every other frame. At 30fps... 33.3ms - don't run logic 66.6ms - run logic, put 16.6ms (66.6 - 50) in overtime variable 33.3ms + 16.6ms = 50ms run logic, no overtime 33.3ms - don't run logic 66.6ms - run logic, put 16.6ms in overtime variable etc. That's the way I see it. I'm new to the subject but I've been skimming over a couple of articles and this seems to be what they are trying to say.
[QUOTE=Overv;25386409][url=http://dl.dropbox.com/u/2399384/Passion%202010-10-13%2023-50-38-32.gif]Nah.[/url][/QUOTE] So, what do you do? I was assuming that you'd use the black and white image and just remove the black from the image when you drew it on the screen.
I've started thinking about how I could make a simple platformer. I'm not entirely sure how I should go about doing collisions when the player is moving a distance greater than one tile per frame. If I just checked if the player was intersecting a tile, they could possibly slip through the walls or floors if they're going fast enough. I was thinking I could draw a line going from their current position to where they will be during the next frame and see if that intersects any blocks, but that doesn't take the player's height or width into account, and I really have no idea how to do this. I would also need to know which side of the tile the player hit because I want them to bounce a little. Of course I could always just limit the speed, but that's no fun.
[QUOTE=Jallen;25376638]Ok I like your game so I'm going to make an SFML clone of it that uses the mouse for control :v: 35 minutes in, been recording my screen at 2fps and will edit it to 30fps for a timelapse and upload to youtube. I reckon it will end up about 2 minutes long (2 hours of total development). Also it doesn't suck to be better than everyone, it kicks ass.[/QUOTE] Glad I know I inspired someone. Maybe my girlfriend will notice an image of your game and say that you're posting pictures of my game Circle. [QUOTE=Richy19;25378323]Lucky :P BTW izuki are you going to retake the L4D 1.5 project then?[/QUOTE] Yes, now that iNova told me that the actual leak IS the text rendering, it makes me want to work on it again :buddy:
[QUOTE=andersonmat;25386798]So, what do you do? I was assuming that you'd use the black and white image and just remove the black from the image when you drew it on the screen.[/QUOTE] I just made it transparent in Photoshop.
[QUOTE=Overv;25386953]I just made it transparent in Photoshop.[/QUOTE] Shiiiiiiiiiiiit. That's the easy way. Do you just store the positions of the characters in an array or do you dynamically find where they are by a set character width and a position based upon ASCII value -- because the latter would be fucking awesome.
[QUOTE=Jallen;25386458]Following multiple projects where I've found a variable timestep to be a complete pain in the arse, I'm switching to a fixed timestep. Am I right in thinking that essentially, given a timestep of 50ms (so logic runs at 20fps)... At 10fps you want to run the logic twice per frame. At 40fps you want to run the logic every other frame. At 30fps... 33.3ms - don't run logic 66.6ms - run logic, put 16.6ms (66.6 - 50) in overtime variable 33.3ms + 16.6ms = 50ms run logic, no overtime 33.3ms - don't run logic 66.6ms - run logic, put 16.6ms in overtime variable etc. That's the way I see it. I'm new to the subject but I've been skimming over a couple of articles and this seems to be what they are trying to say.[/QUOTE] Yeah, that's how you do it. You can also add interpolation.
[QUOTE=Overv;25386409][url=http://dl.dropbox.com/u/2399384/Passion%202010-10-13%2023-50-38-32.gif]Nah.[/url][/QUOTE] I almost had a seizure. Any ways. Making a application. Because I'm learning C++ and already know how I'm going to make it, I'll just do it in Visual Basic. Nothing wrong with using VB if it gets the job done.
Wildcard filename expansion: [img]http://oi54.tinypic.com/2q023w3.jpg[/img]
[QUOTE=andersonmat;25389362]Shiiiiiiiiiiiit. That's the easy way. Do you just store the positions of the characters in an array or do you dynamically find where they are by a set character width and a position based upon ASCII value -- because the latter would be fucking awesome.[/QUOTE] I use the latter.
Thought I'd try posting here now that I have something even remotely flashy :smile: This other guy and I are working on a D compiler, I'm currently working on the error diagnostics: [img]http://filesmelt.com/dl/prettyprint.png[/img] I think I'll make it spit out the declaration of "foo" as well for good measure.
Sorry, you need to Log In to post a reply to this thread.