Jump to content


7legos

Member Since 27 Sep 2009
Offline Last Active Mar 31 2013 07:13 PM

Topics I've Started

39Dll Udp Messages Not Working

24 March 2013 - 06:22 PM

I have been trying to get my online game to use UDP messages as the main connection type. I use TCP and UDP. The problem is I CAN connect to the server perfectly and do whatever in TCP, but UDP messages WON'T get received. Actually, UDP works perfectly (server-> client; client back to server) over LAN, but when I have a friend test ONLINE (outside of my router), the TCP connections work fine, but I cant send nor receive any UDP messages either way. I have all the TCP and UDP ports all forwarded to my PC.
 
I dont have the code any more but I want to try this again. Is there anything I should do next time or be careful of when I attempt this again?
 
 EDIT: I also use 2 different ports for receiving and sending UDP messages.

Importing 3D Animations To Game Maker Issue

09 March 2013 - 02:20 AM

Im having trouble importing animations into Game Maker. Yes, I know you cant import animation files. What I was trying to do was import each frame using an array then using that array to draw each model in order. However, I dont know how to export each frame of an animation from Anim8or. I have a plugin that will export models from Anim8or in a *.d3d format that works fine with static models. But when I choose to export an animation, there's no way that I can see to export each individual frame as its own model of any way.

So my question is how would I be able to convert a *.3ds file into a bunch of *.obj or *.d3d files to work with Game Maker? Or would I have to use another program like Blender?

Basically all I want is any way to animate a 3D object or model and make it work with Game Maker.

3D Models

07 March 2013 - 08:22 PM

So Im working on a game that I plan on using 3D models and animations for. I will import each frame at a time to create the animation since Game Maker doesnt support animation files. My question is, how can I get the 3D rotations and coordonates of a shape in the model or for each model "frame"? For example if I plan on adding 100 swords of different sizes and shapes in an RPG game with a walking animation is there a way to find the rotation values of his hand and place each sword accordingly? Or would I have to have 100 different walking animations for each sword?

EDIT: I plan on using Anim8or but I will use another program if I have to.

Rotate 3D Cylinder Between 2 Points

05 March 2013 - 02:06 AM

I don't know if it's because I've been up all not or what, but I've been struggling with this for around 2 hours now. I know about transformations and such. I just cannot figure out how to get a 3D cylinder to be drawn and rotated so it works almost as such:

d3d_primitive_begin(pr_linelist);
d3d_vertex(x1,y1,z1);
d3d_vertex(x2,y2,z2);
d3d_primitive_end();

Could anyone hint me towards the answer I'm looking for or provide some code? The cylinder's circular faces are supposed to be attatched to 2 moving ellipsoids, as a limb for a stickman.

3D Armor Drawing

06 August 2012 - 03:16 PM

Hey forum. Im making a 3D RPG game right now. The main character is a person and I plan on adding lots of animations to him. But the problem is drawing armor over the animations. I dont want to have to rotate each glove for example in code just to match a punching animation or a spell casting animation. I use a 3D modeler progran for my not too complicated model. Could anyone give an example, explain in words, or give some code? Thanks. Oh also by armor I dont mean something like changing the textures of the player. There will be many different kinds of armor in varying shapes and effects.