Search found 2 matches

by gamemaker0
13 February 2025, 06:27
Forum: Developers
Topic: How to spawn tokens at a specific x or y
Replies: 4
Views: 117

Re: How to spawn tokens at a specific x or y

Alright, so with the help of my classmates I was able to use one of the per-existing divs used to make the board and simply have the token spawn at the same x as the final destination with the y being set to 1. Thank you both for the advice as it did help with understanding how the function worked,a...
by gamemaker0
09 February 2025, 08:25
Forum: Developers
Topic: How to spawn tokens at a specific x or y
Replies: 4
Views: 117

How to spawn tokens at a specific x or y

I am trying to make a game of connect 4 and would like to have the tokens slide down the board as they would in real life, but for right now they just spawn at a random spot at the top of the board and moves to their designated location. I am using the Reversi tutorial code as the base if that helps.

Go to advanced search