Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.

In the meantime please join the new Discord Server!

If you have any questions please e-mail me through the Platinum Arts website.

Flying and other things

Having issues not related to a specific Sandbox game mode? Get help here!
Please also read the rules for support when posting support requests.
Failure to comply with the forum rules may result in your topic being locked without resolution.
Locked
owenisred
Member
Member
Posts: 452
Joined: August 9th, 2010, 9:33 am
Name: Owen

Flying and other things

Post by owenisred »

Had a REALLY good idea for a game recently, and sandbox is PERFECT for it in so many ways, but there is a few things that I think would be impossible. I'd like to be proven wrong tho :)

Is there any known way to fly in a game, like in edit mode?

Can you occupy the body of another character? For example, say you walk up to a character and a gui appears above his head, and there is a button that says occupy, then you get to walk around as that character for a while...?

There are other things but those are some of the main ones

Thanks,
Owen.
I'm taking modelling requests again - any models you want created,skinned or animated (or all 3) leave a post here:

viewtopic.php?f=9&t=2704&start=0

My tutorial site - still under construction, but lots of good stuff there:

http://pasandbox.webs.com/
User avatar
Runescapedj
Member
Member
Posts: 1706
Joined: January 9th, 2010, 9:06 am
Name: Michiel
IRC Username: Sandboxdj
Location: Deventer, the Netherlands

Re: Flying and other things

Post by Runescapedj »

Questions:
1. Can you use the flying ability (edit mode) in games?
2. Can you change the player models to some other models during games (and leave your own behind)

Answers:
1. Of course you can, but you have to code that, or you can copy the flying code of edit mode and paste it as movement and destroy the main movement (but I don't know how =P)
2. This is pretty hard, idk if it's poss

Well, good luck anyways
chocolatepie33
Support Team
Support Team
Posts: 2458
Joined: April 27th, 2010, 5:31 pm
IRC Username: CP

Re: Flying and other things

Post by chocolatepie33 »

There's a way to simulate flying, but no actual way to make someone/something fly.
Here's how I do it:
I'll change the gravity from 100 (normal) to 10 (lowest). Then I'll change the character's jumpvel(ocity) from 100 to 1000 (highest). This allows the character to float down slowly, somewhat simulating flying. Occasionally I'll combine this with movespeed to make them "fly" faster (movespeed is changed from 100 to 1000).
You can add triggers to do this when a character accesses an area by adding a level trigger that responds to this code:

Code: Select all

level_trigger_1 = [edittoggle; gravity 10; jumpvel 1000; movespeed 1000; edittoggle]
I'm pretty sure the code should work like that...
Julius wrote:Contribute to http://www.opengameart.org NOW!
Save the wiki!
owenisred
Member
Member
Posts: 452
Joined: August 9th, 2010, 9:33 am
Name: Owen

Re: Flying and other things

Post by owenisred »

Yea I know that, i just wish you could actually put gravity to 0 :(
I'm taking modelling requests again - any models you want created,skinned or animated (or all 3) leave a post here:

viewtopic.php?f=9&t=2704&start=0

My tutorial site - still under construction, but lots of good stuff there:

http://pasandbox.webs.com/
User avatar
Runescapedj
Member
Member
Posts: 1706
Joined: January 9th, 2010, 9:06 am
Name: Michiel
IRC Username: Sandboxdj
Location: Deventer, the Netherlands

Re: Flying and other things

Post by Runescapedj »

you can use water and edit the textures of it?
owenisred
Member
Member
Posts: 452
Joined: August 9th, 2010, 9:33 am
Name: Owen

Re: Flying and other things

Post by owenisred »

I dont want it to look like im underwater, what do you mean edit the textures of it - how would that help?

Thanks :)
Owen.
I'm taking modelling requests again - any models you want created,skinned or animated (or all 3) leave a post here:

viewtopic.php?f=9&t=2704&start=0

My tutorial site - still under construction, but lots of good stuff there:

http://pasandbox.webs.com/
User avatar
Runescapedj
Member
Member
Posts: 1706
Joined: January 9th, 2010, 9:06 am
Name: Michiel
IRC Username: Sandboxdj
Location: Deventer, the Netherlands

Re: Flying and other things

Post by Runescapedj »

well, if you make the water look like air (so change the colors), maybe you can use that than? (but you still go down while in water, and you've 2 delete the jump action in water than 2
arcones
Support Team
Support Team
Posts: 2734
Joined: January 13th, 2010, 12:42 pm
Name: Timothy
IRC Username: I use Steam
Location: Looking over your shoulder...
Contact:

Re: Flying and other things

Post by arcones »

In RPG mode it is technically possible to do a pollymorph with a spell, but that's only if the pollymorph is actually there. Which, if I remember correctly, Hirato said wasn't fully functional yet.
Image
Want a user bar like this one? PM Leo!
chocolatepie33
Support Team
Support Team
Posts: 2458
Joined: April 27th, 2010, 5:31 pm
IRC Username: CP

Re: Flying and other things

Post by chocolatepie33 »

That's something for the 2.7 wishlist.
Julius wrote:Contribute to http://www.opengameart.org NOW!
Save the wiki!
Locked