So i would like to do a SnakeAndLadder Boardgame in UE5(5.5) but i have now idea how to start
The most basic thing you need is a Random Integer In Range for rolling the dice, an Integer variable for your current position, and Integer-Integer variable (map container) for fast travel.
The level generator is a loop with a length equal to the number of cells on the board, in each iteration of which you randomly choose (or not) an endpoint for fast travel from the current cell.
The visual part is a broader topic, and there are many more options for its implementation than for the basic mechanics.
Hey there @khairulfaiz! Welcome to the community! When it comes to board games, I’d recommend starting with the board structure itself and planning how you want the pieces to actually move. If there’s a game you’d like to emulate specifically, you should pick apart the mechanics into smaller pieces that should be easier to put together. Here’s a couple resources for some direction or inspiration, but I’d definitely recommend tailoring your own approach after you understand the idea unless this style is how you’d prefer it.
Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.
Thanks for the breakdown! I like how simple the core mechanics can be with just the random integer for the dice roll and the map container for fast travel. I’ll definitely set up the position variable and start working on the loop for level generation. The visual side does sound like it could get a bit tricky, but I’ll tackle that once the basics are up and running. Really appreciate the insight—this is helping me get a clearer picture of how to approach it!
Hey, thanks for the warm welcome and the awesome advice! I agree, starting with the board structure and breaking down the mechanics sounds like the best way to go. I’ll definitely dive into the game’s mechanics and tweak things to fit the style I’m going for. This is actually for my final year project, so your input is super helpful. Appreciate the resources, I’ll check them out for some ideas. I’ll definitely reach out if I hit any snags along the way!
I would like to add AR features where actor move on certain tiles triggers an AR experience, showing specific effects or actions through the device’s camera.
You’re gonna need to understand how to work with XR in the engine, and here’s some resources for that as well. The video shows you how to get a project setup for AR without using the templates and knowing this will also give you most of the knowledge needed to swap between the two.
Documentation:
Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.
May i know? How do you make Unreal Engine intergrate with Android Studio ? creating an apps interface whie having game setup in it.