Alice Community  

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

Reply
 
Thread Tools Display Modes
How do I make an Object turn?
Old
sella18
Junior Member
 
Status: Offline
Posts: 9
Join Date: Jul 2018
Default How do I make an Object turn? - 08-06-2018, 02:59 AM

I plan on making a board game. I am having a hard time with making Alice turn at corner squares when traveling around the board. I have designed it so that you roll a dice and enter the number received moving Alice that number of spaces. I have tried to make it so if she gets near an invisible object on the square she turns that only makes her turn too early and I have played with the distances. I tried to make the space trigger the turn that didn't work either. If anyone as advice on this I would appreciate it.

Last edited by sella18; 08-06-2018 at 03:05 AM.
   
Reply With Quote
Old
Dehixial
Junior Member
 
Status: Offline
Posts: 12
Join Date: Oct 2018
Default 10-03-2018, 07:56 AM

I feel like this could be very difficult but may work.
Have it set to variables. Such as

if
alice line one (variable) == [number of spaces before turn] turn (direction)
else
alice line one (math) + 1

and do that for all turns
also lines as in spaces going in a line across the board
i realize its stupidly complicated but its my only idea really.
sorry for difficulty lol.
I havent been doing to well with distance to/from either they seem weird.
None-the-less,
Good luck!
   
Reply With Quote
Old
bodyjohn
Member
 
Status: Offline
Posts: 28
Join Date: Oct 2018
Default 11-02-2018, 10:13 AM

Quote:
Originally Posted by Dehixial View Post
I feel like this could be very difficult but may work.
Have it set to variables. Such as

if
alice line one (variable) == [number of spaces before turn] turn (direction)
else
alice line one (math) + 1

and do that for all turns
also lines as in spaces going in a line across the board
i realize its stupidly complicated but its my only idea really.
sorry for difficulty lol.
I havent been doing to well with distance to/from either they seem weird.
None-the-less,
Good luck!
this might work mate!
   
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.