Posted Jul 24, 2025
Developed a multi-platform video game version of La Loteria using Wix APIs.
Wix Window and Wix Location Velo API.Wix Realtime Velo API when the game starts or when someone presses the LOTERIA button. Besides this API, I include the Wix Animations to shadow the card images.Wix Realtime Backend I created a function where each time I wanted to send a message I needed to call it from the front-end, but I will talk about the code of it in the Backend section.Wix Realtime Backend.Wix Data. It's necessary that this function was in the backend because I used the { "suppressAuth": true } in the Wix Data Options and suppressAuth can only be used here.Wix Media Backend to directly obtain the fileURL of each card.Wix Realtime Velo API so I thought that you can only include the channel name but it didn't work, so I noticed that if I include both the name and resourceId of the channel it sent the message.currentTime will change to 0 so that it started from the beginning, but nope, so I need to make changes before playing it but I don't know why sometimes it didn't work so it was a complete disaster to work with this element.Wix Realtime was hard to use, but it's all the opposite, it's so easy to use and can help in other developments that I may do further.