Welcome to the forum

register! and help us get started! with this new darkgdk forum !


dont forget to introduce yourself Razz

enjoy! and good luck with your programming Smile



Join the forum, it's quick and easy

Welcome to the forum

register! and help us get started! with this new darkgdk forum !


dont forget to introduce yourself Razz

enjoy! and good luck with your programming Smile

Would you like to react to this message? Create an account in a few clicks or log in to continue.

sliding on objects + moar

2 posters

Go down

sliding on objects + moar Empty sliding on objects + moar

Post  c++noob Sun Jul 24, 2011 10:42 pm

hello im new to the forums and i have tons of questions needing to be answered. first when i set object collision i want to slide on the object depending on my angle toward the object. Also i when i move a character around i can look up, move forward and i will fly up and i need a good gravity function. also in a lot of games they use lighting where you can cast shadows and make reflections yet there are no tutorials anywhere. Finally how would you make a muzzle flash on a gun when you shoot? if you can answer any of these it would be appreciated!

c++noob

Posts : 7
Join date : 2011-07-24

Back to top Go down

sliding on objects + moar Empty Re: sliding on objects + moar

Post  pqowieuryt101 Sun Jul 24, 2011 11:17 pm

do you use sparkys collision? that's what you really need for good collision and gravity.

I'll hopefully be doing a tutorial series on it soon if I'm not too busy.

You can look at the dark dungeon example for how to get a muzzle flash but basically it's a semi transparent image that's placed at the end of the gun and hidden. Then when the player shoots it's shown and rotated randomly every frame. You can use different techniques depending on how realistic you want it.
pqowieuryt101
pqowieuryt101
Admin

Posts : 97
Join date : 2010-04-22

https://darkgdk.forumotion.com

Back to top Go down

sliding on objects + moar Empty l

Post  c++noob Mon Jul 25, 2011 2:03 am

i didnt know sparkys collision could do gravity and i dont know how to use it for sliding across objects. and tutorial would be very useful.

c++noob

Posts : 7
Join date : 2011-07-24

Back to top Go down

sliding on objects + moar Empty Re: sliding on objects + moar

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum