• What are you working on? V10
    2,002 replies, posted
I somehow ended up pissing away 2 hours reading facepunch, and then like 4 hours trying to make up my mind on a design decision (interspersed with more reading). Finally gave up and watched 3 movies in a row. For some reason this happens whenever I work on a project for a long period of time.
[QUOTE=ryandaniels;22336695]I somehow ended up pissing away 2 hours reading facepunch, and then like 4 hours trying to make up my mind on a design decision (interspersed with more reading). Finally gave up and watched 3 movies in a row.[/QUOTE] I think that's what happens to most people.
nearly done now, just have to, finish a couple of jobs/job animations, some buyable food, and I've got to decide what to do with the "charm" stat, if someone wants to suggest something, all I've got is either dating (which i don't want to do) and robbing places, which would be way easier to do too, but then I don't get the horny twelve yearold crowd.
Why do you have a variable if you don't have a purpose for it
[QUOTE=Canary;22331021]I went back to level 1 to try out some nice textures and they look quite nice... [IMG]http://img576.imageshack.us/img576/8362/ojetextured.jpg[/IMG][/QUOTE] That really [B]really[/B] needs some AA
Don't worry it supports at least 8x AA.
Looks like I will be programming afterall, since it's one of the only fucking things I can do. [url]http://www.facepunch.com/showthread.php?t=947735[/url]
[QUOTE=Jallen;22341846]Looks like I will be programming afterall, since it's one of the only fucking things I can do. [URL]http://www.facepunch.com/showthread.php?t=947735[/URL][/QUOTE] Ouch, I did a similar thing when I was younger, apart from I got my thumb caught inside a hinge.
Almost finished the hardware portion of my Arduino rover / RC car and I may post pictures when I get home. I'll likely buy a distance sensor or create some bump sensors... Hoping this could turn out like a manly NXT of some kind. If I get bored enough this weekend I'll make my fridge twitter, a somewhat easy to do project with the Ethernet Shield.
I don't know but I made some kind of randomizing background thing. pffft. I can "animate" if but then the FPS will drop to 13 or something. [IMG]http://img35.imageshack.us/img35/4540/randompixelbackground.png[/IMG] better quality [URL="http://a.yfrog.com/img35/4540/randompixelbackground.png"]here[/URL]
Are you using OpenGL to draw that? If so, you really shouldn't get an FPS of 13.
True, I recently made a 1680x1050 one and it's rendering at 60FPS no problem. (and that was before I realized what a terrible thing I was doing so I could get way more than that now.) [URL="http://a.imagehost.org/0232/Block.png"]Pic[/URL]
[QUOTE=Overv;22344446]Are you using OpenGL to draw that? If so, you really shouldn't get an FPS of 13.[/QUOTE] Yep opengl. The slowest thing is to randomize everything again every loop. [editline]02:03PM[/editline] [QUOTE=Darwin226;22344731]True, I recently made a 1680x1050 one and it's rendering at 60FPS no problem. (and that was before I realized what a terrible thing I was doing so I could get way more than that now.) [URL="http://a.imagehost.org/0232/Block.png"]Pic[/URL][/QUOTE] Yeah but I get 13 fps when I'm "animating" it. Update and randomize a need background in every loop.
Are you setting state and shit when you draw each poly? You should draw them all in a single batch.
öuuhmmm. [URL="http://img683.imageshack.us/img683/1318/randompixelbackground2.png"]http://img683.imageshack.us/img683/1318/randompixelbackground2.png[/URL] Ok here' my 1680 x 1050 background. 61 fps. I told you when I'm updating or "randomizing" a new background all the time so there's an "animation" I got 13 fps.
Ok, not way more than 60 FPS, but I'm getting 72 now.
I worked a little more on my Puppy finite state machine and added previous states and the global state. Now complete with playing with toys and shitting/pissing wherever it wants! [code] Puppy walks around the room some. Puppy walks around the room some. Puppy walks around the room some. Puppy walks around the room some. Puppy walks around the room some. Puppy stops walking around. Puppy goes to the bed Puppy falls to sleep. Puppy goes ZZZZZZZZZZZZZZZZZZZZZZZZ. Puppy goes ZZZZZZZZZZZZZZZZZZZZZZZZ. Puppy goes ZZZZZZZZZZZZZZZZZZZZZZZZ. Puppy goes ZZZZZZZZZZZZZZZZZZZZZZZZ. Puppy wakes up. Puppy goes to the room Puppy walks around the room some. Puppy walks around the room some. Puppy walks around the room some. Puppy walks around the room some. Puppy walks around the room some. Puppy stops walking around. Puppy goes to the bed Puppy falls to sleep. Puppy goes ZZZZZZZZZZZZZZZZZZZZZZZZ. Puppy goes ZZZZZZZZZZZZZZZZZZZZZZZZ. Puppy wakes up. Puppy needs to relieve himself. Puppy takes a shit in the bed Puppy feels much better now. Puppy falls to sleep. Puppy goes ZZZZZZZZZZZZZZZZZZZZZZZZ. Puppy wakes up. Puppy goes to the room Puppy walks around the room some. Puppy walks around the room some. Puppy walks around the room some. Puppy walks around the room some. Puppy walks around the room some. Puppy stops walking around. Puppy goes to the bed Puppy falls to sleep. Puppy goes ZZZZZZZZZZZZZZZZZZZZZZZZ. [/code] Next up is making the puppy randomly want to get the owner to give him cuddles and a chance the puppy can shit/piss on the owner. This is the most realistic simulation of a puppy ever (oh and it needs chewing your prized possessions).
[URL="http://anyhub.net/file/1randombackground.rar"]Decided to upload it.[/URL] It includes the release build also (which gets 300+ FPS on my PC)
[QUOTE=Darwin226;22345100][URL="http://anyhub.net/file/1randombackground.rar"]Decided to upload it.[/URL] It includes the release build also (which gets 300+ FPS on my PC)[/QUOTE] I need to install .Net framworks 4.0....something to be able to run it
Yes you do and yes you should :D Edit: Btw, smart people. Is there a way to put those Tao DLLs into the .exe so I can just send the .exe to people? I found some free stuff that supposedly does that but nothing worked so far.
ok that was pretty damn fast. 220 fps when running on my pc. And I get like 3 fps when I'm doing it with my program with the same size x] I'm obviously doing something wrong :P
This is what happens every frame: [cpp] Gl.glBegin( Gl.GL_QUADS ); int i = 0; while ( i < 168 ) { int j = 0; while ( j < 105 ) { Point orientation = new Point( i * 10F, j * 10F ); float offset = ( RandomUtility.GetRandom( 0.22F ) + 0.5F ) - Geom.Distance( orientation, new Point( 840, 525 ) ) / 1500 - 0.1F; Color boja = new Color( offset, offset, offset ); if ( RandomUtility.GetRandom( 1 ) < 0.003F ) { boja.R += 0.3F; } if ( RandomUtility.GetRandom( 1 ) < 0.003F ) { boja.R += 0.3F; boja.G += 0.3F; } Gl.glColor3f( boja.R, boja.G, boja.B ); Gl.glVertex2f( orientation.X, orientation.Y ); Gl.glVertex2f( orientation.X + 8, orientation.Y ); Gl.glVertex2f( orientation.X + 8, orientation.Y +8 ); Gl.glVertex2f( orientation.X, orientation.Y + 8 ); ++j; } ++i; } Gl.glEnd();[/cpp] It does use some of my classes and the Color and Point structs but you should understand it without a problem.
nice. thanks for sharing. the rand() function is my problem :P it's too slow or someting?
I wouldn't know. My RandomUtility class just uses the .NETs random.
[QUOTE=ThePuska;22340224]Why do you have a variable if you don't have a purpose for it[/QUOTE] because intelligence, strength and charm are staples of any stick rpg clone, duh.
[IMG]http://dl.dropbox.com/u/99601/inventorydemo.jpg[/IMG] My 2D game is coming along (fairly) well, got the bulk of the inventory system working now. Still having trouble with making things happen when the player walks onto a certian tile. Can anyone else help me with this? And yeah, that's supposed to be a possesed rabbit in the inventory. I suck at drawing.
- snip -
[QUOTE=explosiveegg;22347948][IMG]http://dl.dropbox.com/u/99601/inventorydemo.jpg[/IMG] My 2D game is coming along (fairly) well, got the bulk of the inventory system working now. Still having trouble with making things happen when the player walks onto a certian tile. Can anyone else help me with this? And yeah, that's supposed to be a possesed rabbit in the inventory. I suck at drawing.[/QUOTE] I'm not sure what the best way to do that would be but for every tile object I would have a onEnter() function that would be called when the tile is entered. Obviously if your not using OOP then it gets more difficult.
[QUOTE=iPope;22348400]I'm not sure what the best way to do that would be but for every tile object I would have a onEnter() function that would be called when the tile is entered. Obviously if your not using OOP then it gets more difficult.[/QUOTE] I am using OOP, but the tiles aren't all individual objects that I can create an onEnter() for. What I have is an 'entPlaySound' class that takes an input of a position, then after the player moves the class checks to see if the players position is the same as the playSound position. But it always seems to think the position it has been given is the top-left tile of the map.
[QUOTE=iPope;22345071]I worked a little more on my Puppy finite state machine and added previous states and the global state. Now complete with playing with toys and shitting/pissing wherever it wants! [code] -snip- [/code] Next up is making the puppy randomly want to get the owner to give him cuddles and a chance the puppy can shit/piss on the owner. This is the most realistic simulation of a puppy ever (oh and it needs chewing your prized possessions).[/QUOTE] That's pretty awesome, now I want to make a similar one. But it's going to be a prisoner, not a puppy.
Sorry, you need to Log In to post a reply to this thread.