Help needed working on a game like candy crush C++ OpenGL | SoloLearn: Learn to code for FREE!

+2

Help needed working on a game like candy crush C++ OpenGL

Hello there, I am working on a university project of mine where i have to create a candy crush type game using openGL and C++. Currently i have done the GUI menus and just started working on the actual game starting from level design. I inplemented a way to generate random levels now Current condition : i am trying to establish a way to swap the gems by dragging the mouse through the gems. Problems faced: 1-In my code i made a function for swapping gems within which are few if else conditions in one case when the condition is true the compiler skips 2 lines of code where i am assigning coordinate values in a array. 2- I am looking for a idea/method for inplementing finding combinations as my current one is lacking a bit. I will keep updating the thread according to my progress and issues faced until project is completed.

5/29/2020 9:49:39 PM

Muneeb Bhalli

2 Answers

New Answer

+4

There are actually quite a few people here who can help. The problem is it's very difficult to collaborate on a C++ / OpenGL project using this app. It's even more challenging to collaborate on such a project without viewing the code or being able to run it or even debug it locally. Reading the "problems faced" from the question made me realize just how difficult it would be to help you without seeing the code. It's like giving directions to someone on the phone to come pick you up that goes like this: "Go to that one street by the big sign at the intersection. Look for a street with a street sign, turn there and keep going for a while until you see another street that will have a name with the word "Lane" or "Street" in it. Turn on that road, then call me again so I can tell you where to go next." Without context, these directions make no sense, much like trying to understand the code being described at a high level. I hope this makes sense.

0

Hello, Honestly, it's quite a hard question. Most people on SoloLearn cannot really help with more advanced questions. What I'd recommend you to do is to post this on a more advanced forum, such as StackOverFlow, or maybe an OpenGL forum (if that's a thing). I'm pretty sure I found someone asking your exact same question on StackOverFlow: https://stackoverflow.com/questions/36067152/opengl-to-eliminate-tiles-from-the-mesh-as-in-the-game-candy-crush I'm not sure if it's entirely useful, but you might want to have a look. Tell me how it goes. Thanks, TheCoder