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.

Author
Message
Jon wu
11
Years of Service
User Offline
Joined: 4th Nov 2013
Location:
Posted: 7th Jan 2014 17:05
our game doesn't have gravity and we would like to have it. Heres what our code looks like thanks.



Hasty
TeknoCyber
11
Years of Service
User Offline
Joined: 8th Nov 2013
Location:
Posted: 7th Jan 2014 17:06
All help is appreciated

"It's not death I fear, I fear not being ready for it." -Tristan Green
wattywatts
15
Years of Service
User Offline
Joined: 25th May 2009
Location: Michigan
Posted: 7th Jan 2014 18:53
It really depends on what you're trying to make. If you're going to keep your graphics this simple you could get away with something quick like this:


But if you're going to do something more complex you'll probably want to learn to use Sparky's collision.

New sig coming soon..
Derek Darkly
13
Years of Service
User Offline
Joined: 22nd Sep 2011
Location: Whats Our Vector, Victor?
Posted: 7th Jan 2014 19:55
I had about the same thing Watty...this one increases the falling speed:



D.D.
Jon wu
11
Years of Service
User Offline
Joined: 4th Nov 2013
Location:
Posted: 8th Jan 2014 17:02
thanks it worked

Hasty
Jon wu
11
Years of Service
User Offline
Joined: 4th Nov 2013
Location:
Posted: 9th Jan 2014 17:03
@wattywats hey dude I was wondering if you know how to make a basic explosion in the beginning of our game and if you can give us an example. I know I have been asking for a lot of help but I am not really advanced with this program so thx

Hasty
wattywatts
15
Years of Service
User Offline
Joined: 25th May 2009
Location: Michigan
Posted: 10th Jan 2014 02:35 Edited at: 10th Jan 2014 02:37
It depends how basic you want it to be. You could use a yellow sphere that grows larger followed with a bang noise, you could use a wavy-lined-circle like in cartoons or the bomberman games..
I usually use video found here: http://www.detonationfilms.com/missionstatement.htm

A lot of people convert things like this to sprite sheets but I usually find low quality mpeg's easier to work with. Unfortunately I don't have the time at the moment to offer you a code example, but hopefully that gives you some ideas at least.

PS if you want to use a video, create a plain, set it to always face the camera from within your loop, and texture it with your video file.

New sig coming soon..
Jon wu
11
Years of Service
User Offline
Joined: 4th Nov 2013
Location:
Posted: 10th Jan 2014 17:10
maybe just a wavy lined circle explosion will be fine and for the link you gave me, how would you put the explosion in if you downloaded it. @wattywatts

Hasty
wattywatts
15
Years of Service
User Offline
Joined: 25th May 2009
Location: Michigan
Posted: 10th Jan 2014 21:57
If using a video file this is the basic code you'd need


So what you're doing is creating an image out of the video file and so you can use it as a texture. You can then use the ghost object on command to make the color black transparent.

Here's a demo I made that show's it in action, all the gunfire is a video file being textured onto a plain.
http://www.youtube.com/watch?v=IXz1UkGBfD8

New sig coming soon..
Jon wu
11
Years of Service
User Offline
Joined: 4th Nov 2013
Location:
Posted: 13th Jan 2014 17:20
alright heres what I put


it says parameter does not match animation number, image, etc

Hasty
Mobiius
Valued Member
22
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 14th Jan 2014 14:04
Your animation does not have a file extension.

You don't include a sync command, neither do you position the plain where the camera can see it.

Set object to camera orientation will point the invisible back of the plain to the camera. Try point object 1, camera position x( 0 ), camera position y ( 0 ), camera position z ( 0 )

Login to post a reply

Server time is: 2025-05-16 01:59:07
Your offset time is: 2025-05-16 01:59:07