Alice Community  

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

Thread Tools Display Modes
How do I make an Object turn?
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
Junior Member
Status: Offline
Posts: 4
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

alice line one (variable) == [number of spaces before turn] turn (direction)
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.
Good luck!
Reply With Quote

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 ©2018, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.