| |
| |
| |
|
Page: 1 2 3 4 5 6 7
Comments:
<0> er, meaning they can be moved over, or that they don't cause collisions <1> using managed directsound, how do I get Buffer.Play() not to stop the currently playing sound and instead allocate a new voice for it? <1> I can't seem to get multiple sounds to play simultaneously without multiple secondarybuffers <1> which is insane <2> well in openal, you allocate your buffers and source separately <2> so that you always keep voice available <3> Esch, at every frame, test the point at which the player will be by the next frame and see if it lies within one of the 8 tiles surrounding him <0> so, should i test the four corners of the bounding box, then? <3> just write a generic isPointInsideBox() routine. if (point.x >= box.min_x AND point.x <= box.max_x AND point.y >= box.min_y AND point.y <= box.max_y) then { yes it is inside the box yay. } <1> okay palisade <1> I'll just erase this **** I've been working on in c# for the last week <1> and give up <1> because obviously it's impossible <3> you may want to make one side non-inclusive <1> and openal is the only way in existance to play multiple sounds simultaneously <0> hmm, how about collision response, by the way?
<3> tolinx3, wow way to be over-defensive and totally not get the point of what he said <3> Esch, you can either only move the entity IF its next-frame position is not inside the box (easiest and works fine), or, do the same EXCEPT attempt to find where the player would hit the box (line-intersection of some kind) <3> second is prolly overkill <3> depends really <0> alright; i'll have to think about it, i guess <3> you could also test each axis independently (test a vector in the X direction with a length the same as the x component of the player's movement, and the same for Y), which would let you slide over a box if you were going diagonally <3> roughly <3> i think <3> never tried it <3> heh <4> Why the hell are there DirectX 9.0c torrents? You could just download it for free off of Microsoft's web site. <5> could be faster <4> torrents? <4> faster? <6> could be bug free versions? :) <4> come on <5> could be. <3> because torrents are cool. <6> maybe you have to convince people it is warez before they use it? :) <5> Torrents are more than warez <5> there's tons of non-warez torrents :D <6> but mp3 are mostly pirated :) <1> so no-one here knows how to use managed directsound to play multiple sounds at once? <7> use multiple secondary buffers <1> you're saying I should use multiple identical secondary buffers <1> of the exactly same sound file <1> wasting memory <1> in order to play the same sound more than once concurrently? <7> yes <3> i don't use directsound <1> my favorite part about that suggestion is not only that it's unefficient if you imagine that secondarybuffer.clone() actually does something, but it doesn't, so each time I want to play a sound I'd actually have to load it from the disk lol <3> but in SDL you just specify a separate channel index <1> that sounds like a great idea, especially playing 30 sounds a second <3> there must be a similar mechanism in directsound <3> tolinx3, you can't p*** a raw buffer of sample data to directsound? <3> or at least, a pointer to some kind of sample object <3> expected by ds <1> nope.. <1> you can p*** a stream object to a buffer object constructor <1> but unfortunately after that point it becomes inaccessible <1> no method or property will give it to you, so you can't adjust buffer data pointers for newly created buffers <1> which is what I was thinking of doing <1> directsound DOES offer lots of ways to play multiple sounds at once and all sorts of great things <0> telling that i hit something's easy, but the response is tough <1> managed directsound however, is another story <0> i can't just reverse my velocity, or zero it out <0> i need to kind of be able to slide along surfaces <1> you need to project the vector from the point of intersection to the desired movement location onto the normal of the surface you intersected <1> then add the vector the original desired location <1> the vector from the intersection point to the new point is another movement vector <1> recurse your intersection detection routine on that movement vector <1> likely it completes after 1 iteration though, and you have perfect sliding collision <1> now someone please help me with gay managed directsound =( <3> sorry never used directsound :| <4> "The World's first Browser-based RTS is now complete and ready for testing!" <4> lol <4> what a loser <4> http://www.devmaster.net/forums/showthread.php?p=31824#post31824 <4> http://www.ageofpenguins.com/ <1> lol
<1> requires a pentium 4 and 256 mb ram? <1> =| <8> hmm <9> drink up factor_ial <8> hehe <8> sup? <8> got my shader compiled :D <9> :O <9> frum da baq? <10> FROM EVERY DIRECTION <8> now trying to figure out why my normal map isn't being applied I think <3> happy birthday ghalolol <8> but if it isn't how is my shader working? <8> haha <9> StoneCyqh: only da baq counts <9> danke shea`va <10> happy burfday, ghaleold <8> Ghaleon: heh, you drinking tequila? <9> not yet <9> dank u StonedCyqh <8> ahh <10> yaahr <11> and then the sun came up <9> tequila sunrise <12> backhand by teh kozmonaut, sunset. <13> lo komrades <12> yo <12> just working on sound for the childerns flash game we made <14> roflsd <13> kozmo: url? <12> they dont have the webpage up yet, just the old forums, its been draging for 3 semesters, we did all the ***ets and game on first smeester, they just been polishing it <13> k <12> maybe i have a game menu screen just to get the feel <12> sec <2> sweet <2> http://www.tessource.net/files/file.php?id=2517 <2> mod that makes the emporer look like patrick stewart <2> :D <0> you know what second you were born at? <0> er, ghaleon? <0> ok, that was from about twenty minutes ago <14> seriously palisade lol <14> you have too much time on your hands :D <2> no i didn't do that <2> just found it <14> http://img158.imageshack.us/my.php?image=screenshot9cw.jpg <15> where can I find a good page with a overview of 3d programming? <16> gamedev.net ? <15> thx <13> secrat <9> moecrat <13> ghalcrat <2> Ultyma: you need alternative idle poses <2> like scratching nose, looking around, etc. <2> stretching <14> he does <14> i just happen to take screens at that time <14> heh <2> not a bad face mod for the emperor <2> http://www.tessource.net/files/file.php?id=2473 <2> Ultyma: SHURE <2> :D <2> use fraps, make a movie <14> nopes <14> :D <14> why would someone mod the emperor <14> isnt he in the game for like 10 seconds <14> lol <2> ya but it must have annoyed the guy <2> hehe <2> i know it annoyed me <2> but ya no point in doing it now <2> it'd be funny to play as the emperor
Return to
#gamedev or Go to some related
logs:
#sunos #computers #hardware #computers #mirc #computers #networking #stocks #beginner Korea Vs. England missed goal
|
|