PDA

View Full Version : Basketball game


twopointohaliceuser
05-10-2009, 06: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?

Scott300
05-11-2009, 01: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.

twopointohaliceuser
05-11-2009, 07:33 AM
Can you show how to do it? I don't understand how. I'm new to Alice.

Scott300
05-11-2009, 07: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

twopointohaliceuser
05-11-2009, 08:33 PM
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)

HisWorld
05-12-2009, 07: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.

twopointohaliceuser
05-12-2009, 06:48 PM
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 :D

Scott300
05-12-2009, 07:12 PM
It's quite inconvenient using Alice. You have to create decreasing time, increasing scores, etc. Alice is only good for animations :D

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.