Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.


+18 votes

I searched around a bit and couldn't find resources on making pointy tiles. Was wondering if yall found any.

asked in CSC305 Fall 2022 by (1 point)

4 Answers

+10 votes

I wasn't able to find any good resources to be able to add pointy tiles, instead, I used boxes that get smaller as they go up to approximate a prism to make tiles pointy. Try doing that, I've found it to be the easiest way, and it's not a lot of code either.

answered by (1 point)
+6 votes

I tried to use the Trianglemesh for a while but there are no good resources to help me learn how to use it. In the end, I just created a bunch of small boxes that get smaller as they go up to make it look like a pyramid.

answered by (1 point)
+5 votes

We tried to rotate the top box so that one of the corners was pointing straight up. But JavaFx only lets you rotate one axis at a time, and it overwrites the last rotation you did, so you can only ever rotate one axis at a time. :/

answered by (1 point)
+4 votes

The internet is silent about Trianglemesh, with no apparent good tutorial. We had to think outside of the Box.

answered by (1 point)