Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / parachute

Author
Message
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 25th Dec 2004 15:03 Edited at: 25th Dec 2004 15:03
I think thats the name of the game. shoot the planes and para-troopers with the cannon. someone wanted a tutorial, but im lazy. so you only get documented code instead.

"eureka" - Archimedes

Attachments

Login to view attachments
sadsack
20
Years of Service
User Offline
Joined: 27th Nov 2003
Location: here
Posted: 26th Dec 2004 03:32
Thank you Phaelax your code is always good
renny
Nic
20
Years of Service
User Offline
Joined: 26th Jun 2004
Location:
Posted: 3rd Jan 2005 13:42 Edited at: 3rd Jan 2005 14:01
It was me . i tried it myself and have got as far as making a gun that shoots a bullet in the direction of the turret! Thanks man

---ok here is problem #1


you did do it fro DBC rite?
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 5th Jan 2005 08:38
dbp

if you're using darkedit and can use types in dbc, then change the function to this instead and things should work better.

function createNewParatrooper(x#, y#)

just be sure to adjust the X to X# within the rest of the function

"eureka" - Archimedes
Sol462
20
Years of Service
User Offline
Joined: 12th Sep 2004
Location: playing with the spazookeedoo
Posted: 5th Jan 2005 11:13 Edited at: 5th Jan 2005 12:07
whats a type? is that like a class in C++? i tried to execute a type in another tutorial with darkedit and it didnt work.

coffee + monkeys + creativity = games
Operation Pineapple - Multiplayer FPS WIP:
http://forum.thegamecreators.com/?m=forum_view&t=44832&b=8
Nic
20
Years of Service
User Offline
Joined: 26th Jun 2004
Location:
Posted: 5th Jan 2005 13:25
im not entirely sure...
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 6th Jan 2005 04:40
UDT(user-defined type)

or a struct{} in c++

"eureka" - Archimedes
Nic
20
Years of Service
User Offline
Joined: 26th Jun 2004
Location:
Posted: 6th Jan 2005 13:20
he he we dont know what a type is so likelyhood is we dnt program in c++
Sol462
20
Years of Service
User Offline
Joined: 12th Sep 2004
Location: playing with the spazookeedoo
Posted: 7th Jan 2005 04:57
but do types work in dbce? i tried to run some code with a type in it and it didnt work but i heard darkedit supports types.

coffee + monkeys + creativity = games
Operation Pineapple - Multiplayer FPS WIP
Nic
20
Years of Service
User Offline
Joined: 26th Jun 2004
Location:
Posted: 11th Jan 2005 13:15
so can you re send that code in DBC format please, i think there may be a few more problems than that one line.

Login to post a reply

Server time is: 2024-11-23 17:04:02
Your offset time is: 2024-11-23 17:04:02