Alice Community  

Go Back   Alice Community > Alice 2 > Share Worlds

Reply
 
Thread Tools Display Modes
A Game and An Engine
Old
crazychimp132
Guest
 
Status:
Posts: n/a
Default A Game and An Engine - 09-25-2005, 12:25 AM

Well, I would have posted my game as an attachment here, but it's too big. I guess if you'd like to see it, you can email me at crazychimp132 at gmail dot com.

I did not make this, my first finished Alice program, from scratch. I actually took the flying simulation that comes with Alice and modified it a lot. Now the plane is faster, the camera operates differently, the turning is changed. Now, left and right roll the plane without changing it's direction, so to make a turn to the side you must roll to the side and pull up. I think this is somewhat more realistic than before, though of course, still not very close to reality. The most significant change is the missile and target system. There are three targets in the level that you can launch missiles at by either aiming with the added crosshairs (three small spheres vehicle'd to the plane at increasing distances in front of it), or by clicking on one of the targets as you see it onscreen, causing the missile to lock on to it, and then launching the missile without having to aim. You can also increase and decrease your speed.

For my second program, I have made a very basic physics engine that I would love someone to add onto. Currently it involves fairly well-organized code (though there are no comments currently) of a bouncing ball that is affected realisticly by gravity and forces pulling it to the sides, and collision with the ground. This one also has an interesting camera to play around with.

I think Alice is great. This year is my first real programming class. I have had limited experience programming with Basic in the past, and I am amazed at how much I have learned so quickly just by playing around with Alice.

I do have one question. It seems to me like I can't change entries in arrays through the code- is this a bug? If it's not, how do I go about doing it? An example would be changing the nth entry in an array to the nth entry in that array minus 1.

And a suggestion- add the ability to move code between methods and between files. Right now to move from one method to another, one must drag the code from the first method onto Events, then open the second method and drag it from events to there. And there's no way to add from one program to another.
   
Reply With Quote
Old
kingsamses
Guest
 
Status:
Posts: n/a
Default 09-25-2005, 11:34 AM

They sound good! I'm sending an e-mail right now.

EDIT: Got them. The flight sim is great, though the controls are kind of hard to get used to. I crashed a lot. Really like the missle idea.
The ball thing wasn't that interesting from a visual standpoint, though few bouncing balls are. From a performance standpoint, it went pretty good, though the camera comfused me (it rotates around the ball as it bounces, or I think it does. Really confused me...), so I made it stationary a little ways away to watch the ball bounce by itself. Pretty good, and, as good as I can tell, very realistic.
And there's a little review if anyone wants one before they get the worlds.

Last edited by kingsamses; 09-25-2005 at 07:57 PM.
   
Reply With Quote
Old
gabe
Administrator
 
gabe's Avatar
 
Status: Offline
Posts: 461
Join Date: Jul 2005
Location: Pittsburgh, PA
Default 09-28-2005, 09:48 AM

Quote:
Originally Posted by crazychimp132
I do have one question. It seems to me like I can't change entries in arrays through the code- is this a bug? If it's not, how do I go about doing it? An example would be changing the nth entry in an array to the nth entry in that array minus 1.
I have forwarded this to Dennis. I will report back a response.

Quote:
And a suggestion- add the ability to move code between methods and between files. Right now to move from one method to another, one must drag the code from the first method onto Events, then open the second method and drag it from events to there. And there's no way to add from one program to another.
To move code between methods, drag your code to the clipboard, located in the upper-right corner of the screen (to copy), and then back down to a new location.

To move code between files, see this thread.
   
Reply With Quote
Old
crazychimp132
Guest
 
Status:
Posts: n/a
Default 09-28-2005, 04:53 PM

Thanks for clearing that up, Gabe. I've found that the array bug happens only when you try to set a value in an array using a variable. (eg. "set item 0 to world.number in world.array")
Attached Files
File Type: zip Array bug.zip (3.3 KB, 837 views)
   
Reply With Quote
Old
earlyjp
Guest
 
Status:
Posts: n/a
Default 07-27-2006, 04:41 PM

Quote:
Originally Posted by crazychimp132
Thanks for clearing that up, Gabe. I've found that the array bug happens only when you try to set a value in an array using a variable. (eg. "set item 0 to world.number in world.array")
Greetings,
I discovered this bug myself today while trying to populate elements of an array with random integers. Is there a work-around for this bug? I'm trying to demonstrate the operations of various sorting algorithms using an array class variable and an array visualization. However, the inability to initialize the array variable is a bit of a show-stopper.
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 03-24-2011, 02:07 PM

Haha, This is the very first thread ever!


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Old
reuben2011
Senior Member
 
reuben2011's Avatar
 
Status: Offline
Posts: 489
Join Date: Sep 2009
Location: Hawaii
Default 03-24-2011, 06:29 PM

Good job bumping a five year old thread!


Projects
-Escape the Kitchen
-That ninja animation
-Hill Collision

Upcoming Projects
-Some penguin adventure game?
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 03-24-2011, 07:00 PM

Thanks....I think its cool!


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Reply

Thread Tools
Display Modes

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 Jump



Copyright ©2023, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.