Okay guys, my friend and i are in the Navy and we’ve got a test to do for our class. We don’t have a decent study guide, so we decided we’d go ahead and make one. We both are really interested in Blender and decided to work with it from there. So here’s the plan.
I wanted to do a simple quiz session with python Interactive GUI scripting. My friend, Smith, wants to do his with the game engine and be able to make the quiz a game in a sense. So, we kind of added both of them together. Basically you have (in the game part) a character (in the beta phase it’ll just be hands with a weapon or something in first person-in “Charlie” [whatever] phase it’ll probably be a complete character in third person) with a single wall (it’ll be one stationary wall in beta and an entire building in “Charlie”) and on this wall is plastered one question with four possible answers under it with a check “circle” (you know the little button that you click on that has a black ball pop up in it when it’s your answer?) next to each possible answer.
On the ground in front of you is a black ball, and the objective is to get the ball in the hole where your selected answer is located. However, your character doesn’t have the physical strength to pick up the ball and put it in the hole, so this is where the Interactive Python GUI comes into view. The game part is located on the right, and the Python part is located on the left hand side in a separate panel. This GUI will also have a question with four possible answers and if you get THAT question right then your character will be given a specific type of weapon that can help you get the ball in the hole. May it be electricity for magnetics, psychic powers, teleportation device, etc.
I’m having a problem with my part because, well, i don’t know how to make a GUI. i had tried a long time ago, but the tutorial i found (hours of searching included) didn’t really help, it just showed me how to create a button, not really how to do anything with it like this. I want to have one question button at the top (really, not even a button, just the printed question), four buttons with random possible answers, and a “continue” button at the bottom. The Continue botton simply randomizes a set of questions (100 to be exact). Then the question randomizes the order of the answers for THAT question. If you click the wrong answer it simply shows your character try to throw the ball and it falling back down and then randomizes another question for you to try again.
if you get it right it gives you a new weapon (these weapons are listed at the bottom right hand of your game screen for you to pick and choose for different functions) and then you can try your chances on the overall question.
i have no idea where to start. My friend knows nothing about python, only the game engine. i want to incorporate python with this because that’s something i like anyways, but i also want to get from this the knowledge my friend has with the game engine so he learns python (as well as me) and i learn game engine and we both get a new study tool.
Also, i heard that the newest version of Blender allows you to export in executable files so that you don’t need blender to run it…is that only in game engines or can it also be with basic python scripts, and if it is only with game engines can i have the python script included in that side panel?