Hi folks,
I am almost at the quitting stage with my latest project,
I am trying to build a game where you fire eggs from a catapault/slingshot type device and hits verious random targets.
the effect I want to achieve can be seen at the following link: (just the catapault effect)
http://www.viralmania.com/games/pepsi_bucket/host.asp
So far I have come up with a kind of working version (see attached files) but the trajectory is all wrong as the egg always fires to high and there is no way to simple fire the egg low to the ground (again see the pepsi link above).
I also need the bucket to rotate depending on the direction the catapault is dragged in (though I have a pretty good idea how to do this.)
So can ANYONE please help me with a script thats is very very similiar to the way the catapault in the pepsi game works?
Kind Regards
Drakash
Hi,
Thanks for you reply but I am really needing to achieve something that is more 3d than 2d. What I need is how to calculate the trajectory of an item depending on z co-ords, focal length, horizon etc.
The user will be firring the catapault at items in the distance, so if you think of it a bit like a fairground coconut shy type of game you will get the idea.
again the Pepsi game at:
http://www.viralmania.com/games/pepsi_bucket/host.asp
is the exact firing mechanism that I need to re-create, you can pretty much shoot you ammo from low and near to the foreground to high and arcing over into the distance.
So any ideas, suggestions or links would be very grteafully received.
Take alook again at my code and you will see I am not that far away, it just doesn’t have the depth/focal length of the pepsi game and you can’t really fire at things on different levels of distance.
Cheers
Drakash
Hi folks,
Just a more in-depth recap of where I am and what my problem is…
The initial game concept & build (deisign work not finished at all) can be seen at :
http://www.nickbutlernet.net/2jags/
But I felt it was far to slow and not fun. So the next step is to use a slingshot mechanism to fire the ammo, and there will eventually be a lot more targets etc going on, with the aim to be to hit John Prescott with as many eggs as you can whilst he hides amongst the corwds on a London street.
The slingshot firing effect I want to achieve can be seen at the following link: (just the catapault effect)
http://www.viralmania.com/games/pepsi_bucket/host.asp
So far I have come up with a kind of working version but the trajectory is all wrong as the egg always fires to high and there is no way to simply fire the egg low to the ground. (again the same as how the pepsi game works).
What I have so far: (literally just a slingshot experiment)
http://www.nickbutlernet.net/slingshot/
I also need the bucket to rotate depending on the direction the catapault is dragged in (though I have a pretty good idea how to do this.)
So can ANYONE please help me sort out this mechanism so that it is very similiar to the way the catapault in the pepsi game works?
Kind Regards
Drakash