Alice Community  

Go Back   Alice Community > Search Forums

Showing results 1 to 25 of 38
Search took 0.00 seconds.
Search: Posts Made By: davidghemer
Forum: Teaching with Alice 01-20-2012, 12:09 AM
Replies: 4
Views: 5,300
Posted By davidghemer
that would be great

that would be great
Forum: Teaching with Alice 01-19-2012, 10:32 PM
Replies: 4
Views: 5,300
Posted By davidghemer
Alice unit plan, lesson plans and tutorials

Attached is a unit plan, lesson plans and tutorials/worksheets for an introduction to Alice course. These were initially developed for a year 11 Information Technology course in South Australia which...
Forum: Works-In-Progress 12-12-2011, 11:50 PM
Replies: 1
Views: 1,772
Posted By davidghemer
I had a quick look at the first attachment, and...

I had a quick look at the first attachment, and it had some methods that were unfinished. For example the swim method for the fishy object has options that have not been select (i.e. are null - hence...
Forum: How do I...? 12-12-2011, 05:12 AM
Replies: 11
Views: 2,056
Posted By davidghemer
what you need is a counter variable to keep track...

what you need is a counter variable to keep track of how many times you've clicked on the ninja. Then in your checkIfNinja function you need to add some extra checks. Something like

if counter ==...
Forum: How do I...? 12-12-2011, 02:20 AM
Replies: 3
Views: 1,099
Posted By davidghemer
The following video tutorial may be helpful to...

The following video tutorial may be helpful to you.
https://www.youtube.com/watch?v=gOU0TsVP_yM

Hopefully it will get you started.

I have other tutorials on my YouTube channel, or you could do...
Forum: How do I...? 12-11-2011, 04:29 PM
Replies: 4
Views: 1,092
Posted By davidghemer
Yes the heBuilder and sheBuilders include methods...

Yes the heBuilder and sheBuilders include methods for walking and other actions.
Check out this video tutorial
http://www.youtube.com/watch?v=ulGpD7DEQns
Forum: Works-In-Progress 12-11-2011, 02:20 AM
Replies: 2
Views: 1,537
Posted By davidghemer
Yahtzee Game

Here's a nearly finished game based on Yahtzee.

Basic instructions:
- when the game starts an initial roll of the 5 dice will be done
- click on the buttons below to hold
- press the lever to...
Forum: Bugs and Troubleshooting 12-09-2011, 01:39 AM
Replies: 1
Views: 1,047
Posted By davidghemer
Forum: Works-In-Progress 12-06-2011, 04:55 AM
Replies: 10
Views: 7,220
Posted By davidghemer
Stage 7: reduced lag

Here's another update to the game. In this stage my main focus was decreasing lag in the collision detection and hopefully reducing the number of exceptions and incorrect behaviour.

To do this my...
Forum: Share Objects 12-06-2011, 04:36 AM
Replies: 0
Views: 1,463
Posted By davidghemer
Score object

Ok, it has probably been done many times before, but here's my simple Score object. No fancy graphics, it just uses 3D text, but includes most of the functionality that would be needed in general for...
Forum: How do I...? 12-06-2011, 03:51 AM
Replies: 3
Views: 1,137
Posted By davidghemer
Check out the timer object I posted to this...

Check out the timer object I posted to this thread. It should do what you need.

http://www.alice.org/community/showthread.php?p=43972#post43972
Forum: Questions and Comments 12-05-2011, 05:07 PM
Replies: 7
Views: 1,966
Posted By davidghemer
The attached world contains a function,...

The attached world contains a function, faceSameColour, which tests whether an array with nine elements contains the same values (it is with the World object functions). You could use this by...
Forum: Works-In-Progress 12-05-2011, 03:51 PM
Replies: 1
Views: 1,286
Posted By davidghemer
You should only need a single 3D text object to...

You should only need a single 3D text object to represent the score. Each time the score changes you can update the 3D text.

The code and video tutorial referenced in the following thread uses 3D...
Forum: Works-In-Progress 12-02-2011, 11:53 PM
Replies: 10
Views: 7,220
Posted By davidghemer
Stage 6: basic scoring and end game

For this version I've update the rebounding of the one ball so that it follows the same laws as the cue ball. I've also added some basic scoring (counts number of shots) and end game detection.

It...
Forum: Works-In-Progress 12-01-2011, 10:59 PM
Replies: 1
Views: 1,095
Posted By davidghemer
A couple of quick pointers. Firstly you could...

A couple of quick pointers.
Firstly you could use the camera with threshold of object function to test whether the camera has moved through one of the hoops.
Secondly, you should use when something...
Forum: Works-In-Progress 12-01-2011, 07:49 PM
Replies: 10
Views: 7,220
Posted By davidghemer
Stage 4: rebound angles

This version uses a bit of trig to calculate the angle of the cue ball when it hits a cushion and then to rebound at an appropriate angle. It is similar to the compass except I compare the current...
Forum: Works-In-Progress 12-01-2011, 05:13 AM
Replies: 10
Views: 7,220
Posted By davidghemer
Thanks for the feedback. Agree it is ambitious...

Thanks for the feedback. Agree it is ambitious but thought I'd give it a crack. Thought it would be good way to find out some of the finer details and tricks of programming in Alice.

Turning of...
Forum: Works-In-Progress 12-01-2011, 05:04 AM
Replies: 10
Views: 7,220
Posted By davidghemer
Some brief instructions for those wishing to play...

Some brief instructions for those wishing to play with the work in progress version.
- Down arrow to pull the cue back (increase power). Power is discrete so press the button once to increase power...
Forum: Works-In-Progress 12-01-2011, 04:53 AM
Replies: 10
Views: 7,220
Posted By davidghemer
Stage 3: pocketing balls

Ok last update for the day. I've added support for pocketing of balls using circles as dummy markers for the pockets. It seems to work fairly well - slight adjustments of the dummy markers may be...
Forum: Works-In-Progress 12-01-2011, 02:01 AM
Replies: 10
Views: 7,220
Posted By davidghemer
Stage 2: bounce off cushions

I've updated the code so that balls will now bounce off of the cushions using dummy objects as markers.

Also when the cue ball hits the one ball they move in fairly realistic manner - not perfect...
Forum: Works-In-Progress 11-30-2011, 10:53 PM
Replies: 10
Views: 7,220
Posted By davidghemer
Pool Game

I decided for some crazy reason to have a go at developing a pool game.

Not too sure how far I will get, but I've attached the first stage. At this stage I can aim the cue and adjust the amount of...
Forum: Share Worlds 11-30-2011, 10:30 PM
Replies: 1
Views: 1,344
Posted By davidghemer
Humvee driver with collision detection

The attached world lets you drive a Humvee around. I've included two kinds of collision detection. One is for circular objects where the distance to function is used.
The second is for rectangular...
Forum: Works-In-Progress 11-30-2011, 09:35 PM
Replies: 3
Views: 1,121
Posted By davidghemer
To make sure the car doesn't go off of the road...

To make sure the car doesn't go off of the road you could place a dummy object on the edge of each side of the first road. Then put your move left and move right commands inside of an if condition....
Forum: Works-In-Progress 11-30-2011, 05:43 PM
Replies: 3
Views: 1,121
Posted By davidghemer
Attached is a partial solution to this problem. ...

Attached is a partial solution to this problem.
I've used a while something is true event to drive the car until it passes a fire hydrant.
You can also use the spacebar to start/stop the car.
A...
Forum: How do I...? 11-29-2011, 07:05 PM
Replies: 2
Views: 908
Posted By davidghemer
Here's another way of doing this. Write a...

Here's another way of doing this.

Write a method to get the rotors to turn. One revolution will be enough. Adjust the time so that it turns at the right speed. Set the style to abrupt.

Then...
Showing results 1 to 25 of 38

 
Forum Jump


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