Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Basketball game
Old
twopointohaliceuser
Guest
 
Status:
Posts: n/a
Default Basketball game - 05-10-2009, 07:35 PM

How do I make the 3D numbers increase by 1, 2, or 3 points as a person makes the basket? Also, how do I make the front page, which says "select the team" and play by the selected team (ex. if I press on, with a mouse, Trenton Tigers as my team and Miami Monsters as the opposing team on the front page, the scoreboard will show "Trenton Tigers" 00 - 00 "Miami Monsters" when the game begins). How do I do that?
   
Reply With Quote
Old
Scott300
Senior Member
 
Status: Offline
Posts: 80
Join Date: Feb 2009
Location: Ohio
Default 05-11-2009, 02:14 AM

For increasing it by 1,2,3


world.score = world.score + 2


For your selection screen, you can use a billboard and just hide it and move it away when the selection is done place flat squares that are transparent over clickable options if you wanna take it a step further, as for the score display


3dtext_team1 3dtext_team1score - 3dtext_team2score 3dteam_team2
Just update 3dtext_Team1 to the team they choose

There is a way to make all the info in 1 3d text object but I haven't used Alice in a few weeks and don't have it on this computer so I honestly forgot.
  Send a message via AIM to Scott300 Send a message via MSN to Scott300  
Reply With Quote
Old
twopointohaliceuser
Guest
 
Status:
Posts: n/a
Question 05-11-2009, 08:33 AM

Can you show how to do it? I don't understand how. I'm new to Alice.
   
Reply With Quote
Old
Scott300
Senior Member
 
Status: Offline
Posts: 80
Join Date: Feb 2009
Location: Ohio
Default 05-11-2009, 08:53 AM

Have a look at this file to get a good idea on how to do the score =P

Enter- Sets team name in this example
Space- will increase the score in this example
Attached Files
File Type: a2w score_example.a2w (183.3 KB, 42 views)
  Send a message via AIM to Scott300 Send a message via MSN to Scott300  
Reply With Quote
Old
twopointohaliceuser
Guest
 
Status:
Posts: n/a
Question 05-11-2009, 09:33 PM

Quote:
Originally Posted by Scott300 View Post
Have a look at this file to get a good idea on how to do the score =P

Enter- Sets team name in this example
Space- will increase the score in this example

That's not exactly what I meant. I meant that there are choices from which to choose from and when you press the choice you want, the team name appears in the game (example: Lakers, Clippers, Warriors, Kings, Trailblazers... I select Lakers... next screen is Lakers vs. opponent)
   
Reply With Quote
Old
HisWorld
Guest
 
Status:
Posts: n/a
Default 05-12-2009, 08:24 AM

Try looking at another post where I helped someone with a similar problem.
http://www.alice.org/community/showthread.php?t=2634

It basically involves using a imported picture using the import billboard command than then placing different 3D text in the areas you want to change.
   
Reply With Quote
Old
twopointohaliceuser
Guest
 
Status:
Posts: n/a
Default 05-12-2009, 07:48 PM

Quote:
Originally Posted by HisWorld View Post
Try looking at another post where I helped someone with a similar problem.
http://www.alice.org/community/showthread.php?t=2634

It basically involves using a imported picture using the import billboard command than then placing different 3D text in the areas you want to change.

It's quite inconvenient using Alice. You have to create decreasing time, increasing scores, etc. Alice is only good for animations
   
Reply With Quote
Old
Scott300
Senior Member
 
Status: Offline
Posts: 80
Join Date: Feb 2009
Location: Ohio
Default 05-12-2009, 08:12 PM

Quote:
Originally Posted by twopointohaliceuser View Post
It's quite inconvenient using Alice. You have to create decreasing time, increasing scores, etc. Alice is only good for animations
Alice is really for novice programmers learning, but some of the things I have seen people do with Alice is amazing! Just with Alice since there is no way to write an code that isn't supported it can be a bit hard to get the results you want but think about it hard enough and you can find a way around it to do it your self.
  Send a message via AIM to Scott300 Send a message via MSN to Scott300  
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 ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.