Alice Community
>
Alice 2
>
How do I...?
simulate gravity
User Name
Remember Me?
Password
Thread Tools
Display Modes
simulate gravity
#
1
(permalink)
fenderstrat0409
Guest
Status:
Posts: n/a
simulate gravity -
04-05-2010, 12:16 AM
Any way to do that?
I tried this
Loop infinity
if knight is above ground
then
knight move to ground
and I have a "jump action" in there so I can get him above the ground... But he never falls back down... lol anyway I can do this?
EDIT: Had to change "When the world starts" to "while the world is running" Got it fixed now.
Closed
Last edited by fenderstrat0409; 04-05-2010 at
01:03 AM
.
fenderstrat0409
#
2
(permalink)
jediaction
Senior Member
Status:
Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
04-05-2010, 09:03 AM
X made an example of gravity, you can check that out
Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
jediaction
View Public Profile
Send a private message to jediaction
Visit jediaction's homepage!
Find all posts by jediaction
#
3
(permalink)
reuben2011
Senior Member
Status:
Offline
Posts: 489
Join Date: Sep 2009
Location: Hawaii
04-05-2010, 01:14 PM
There are many gravity examples from X and me and some other people you can check out in the works-in-progress forum.
reuben2011
View Public Profile
Send a private message to reuben2011
Find all posts by reuben2011
#
4
(permalink)
jediaction
Senior Member
Status:
Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
04-05-2010, 02:13 PM
I dont need to make games with gravity yet unless im making like the snowboarding game or something
Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
jediaction
View Public Profile
Send a private message to jediaction
Visit jediaction's homepage!
Find all posts by jediaction
#
5
(permalink)
x2495iiii
Super Moderator
Status:
Offline
Posts: 3,508
Join Date: Dec 2008
Location: Somewhere in the Continental U.S.
04-06-2010, 11:11 AM
My examples are found here:
http://www.alice.org/community/showthread.php?t=2937
and here:
http://www.alice.org/community/showthread.php?t=3042
(')>
x2495iiii
View Public Profile
Send a private message to x2495iiii
Find all posts by x2495iiii
#
6
(permalink)
dubastot
Senior Member
Status:
Offline
Posts: 661
Join Date: Apr 2009
Location: Two Steps From Hell
04-06-2010, 09:12 PM
A very simple gravity would be:
if
your object
is above the ground
your object
move 1 meter down
I'm a web developer/ designer now.
dubastot
View Public Profile
Send a private message to dubastot
Find all posts by dubastot
#
7
(permalink)
King Gamer(gorit)
Guest
Status:
Posts: n/a
04-06-2010, 09:42 PM
Quote:
Originally Posted by
jediaction
I dont need to make games with gravity yet unless im making like the snowboarding game or something
O, yeah that reminds me
.
P.S. There is the hints I said I would give about upcoming things with A-TOM Studios.
King Gamer(gorit)
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Switch to Linear Mode
Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
BB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Forum Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Announcements
Community News and Announcements
Alice 3
How Do I?
Works In Progress
Share Your World
Share Custom Classes
Bugs and Trouble Shooting
Suggestion Box
Alice 2
How do I...?
Works-In-Progress
Share Worlds
Share Objects
Bugs and Troubleshooting
Suggestion Box
Educators
Teaching with Alice
Teaching Using Alice 3
Teaching Using Alice 2
CS Principles and Alice
AP CSA and Intro to Java and Alice
Workshops
Alice Player and VR
General Discussion
Questions and Comments
The Lounge
Copyright ©2023, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.
Contact Us
-
Alice.org
-
Archive
-
Top