Mekaboo Posted June 27, 2018 Share Posted June 27, 2018 (edited) Hello! Ive seen various styles of game examples but little to none of the trivia format. I was wondering are there any PG or examples that I use to start me off..my goal is to make an educational trivia video game! Thank ya ? Mekaboo Edited June 27, 2018 by Mekaboo Add words Quote Link to comment Share on other sites More sharing options...
Guest Posted June 27, 2018 Share Posted June 27, 2018 I can't remember one but please share with us your game when done Mekaboo 1 Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted June 27, 2018 Share Posted June 27, 2018 With basic JS knowledge you can pull this off fairly easy. The decisions you need to make is how to represent the questions visually and how to do input/validation. Remember BJS is just the graphics engine, your Trivia Engine structure can be anything in the background to organize the data. You might even be able to find a like a external library for handling the trivia structure. Maybe start with creating a way to display the trivia questions on planes like cards, and figure out how you are going to handle input. A simple JS Object like { id:1, question:"How does one make a trivia game?" answers : [ "You dont.", "A little bit at a time", "Is this a trick question", ], answerValues:[ 0,1,0.5 ] } Make a bunch of those and start with that. Mekaboo 1 Quote Link to comment Share on other sites More sharing options...
Mekaboo Posted June 28, 2018 Author Share Posted June 28, 2018 @Deltakosh when i get it up and running I certainly will ?? @Pryme8 That is such a DOPE idea..I will getting to work on that ASAP!! As far as the trivia game engine do I use something like PHP which is used to store data for social networks and such? Thank you both? Mekaboo Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted June 28, 2018 Share Posted June 28, 2018 Sure mysql or a flat database (aka a json file) for development. Mekaboo 1 Quote Link to comment Share on other sites More sharing options...
Wingnut Posted June 28, 2018 Share Posted June 28, 2018 Hey Meekz... have you done any research-into the availability of the data files from "Trivial Pursuit"tm ?? I wonder if they are For Sale/Free for non-commercial uses. An interesting topic. I love the "educational" part of your idea. Are you a teacher, by chance? (if ya don't mind me asking) Myself and others have done some talk here... about using happy dancing text-mesh... in a happy environment... to help kids want to learn to read. (Ok, it was mostly ME talking about the teaching part.) So, I am a bit curious about your teaching motives/ideas/thoughts. *shrug* Text-mesh could be used for trivia games, too. Mekaboo 1 Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted June 28, 2018 Share Posted June 28, 2018 Not to burst your bubble or be a hater, but honestly a text based game like this would be way simpler and prolly more effective to deploy with html5 elements and some fancy css/js. Wingnut, Dad72 and Mekaboo 3 Quote Link to comment Share on other sites More sharing options...
Mekaboo Posted June 28, 2018 Author Share Posted June 28, 2018 Sir @Pryme8 Even though Ive been teaching myself coding in general for 3 years Im still not fully comfortable with Mysql but will for sure give it a shot! For some reason I feel Mysql is a necessary evil? Hey Sir @Wingnut!!! First off THANK YOU for liking my idea? Not an Educator but I got the idea from my childhood. Im an early 80's baby and growing up there was a show called "Where in the world is Carmen San Diego" which was something like a kids' version of Jeopardy. I did some research and realized that the show as well as the company that created the show has been defunct for 20 + years. I think it would be cool to bring something like that back. It would get kids as well as adults to learn about things they don't know as well as refresh memories on things they do know! I love the text mesh idea as well as the box animations..this one is my fave https://www.babylonjs-playground.com/#2A4NUR#6 Makes me think of fireworks or an elaborate water display? As far as Trivial Pursuit will look that up..Ive played quite a bit of that in my day ? Wingnut 1 Quote Link to comment Share on other sites More sharing options...
Mekaboo Posted June 28, 2018 Author Share Posted June 28, 2018 @Pryme8 I can still use BJS for the graphics correct? Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted June 28, 2018 Share Posted June 28, 2018 Yes, if you wanted to. Mekaboo 1 Quote Link to comment Share on other sites More sharing options...
Mekaboo Posted June 28, 2018 Author Share Posted June 28, 2018 Awesome sauce @Pryme8 THANK YOU!!! ??, Mekaboo Quote Link to comment Share on other sites More sharing options...
dbawel Posted June 28, 2018 Share Posted June 28, 2018 @Mekaboo I'll answer for @Pryme8, as I might likely know him better than perhaps anyone on this forum. (DISCLAIMER - I CANNOT REPRESENT ANY OPINION STATED BY @Pryme8) although this might change from minute to minute due to his over thinking every thing.? However, I would say YES... with a caveat. You can certainly accomplish all using WebGL and specifically the babylon.js framework... however, I would personally use React/Preact and Redux for a simpler and more dynamic solution. And you can find several tutorials online on how to build a trivia app using these frameworks. So please amp it up a bit, and add the mesh and other object rendering components offered in WebGL. At least you've chosen the best WebGL framework... in my opinion. DB Mekaboo 1 Quote Link to comment Share on other sites More sharing options...
dbawel Posted June 28, 2018 Share Posted June 28, 2018 The 'buttplug' @Pryme8 beat my post by seconds. Butt Hole!? Cheers, DB Pryme8 and Mekaboo 2 Quote Link to comment Share on other sites More sharing options...
Mekaboo Posted June 28, 2018 Author Share Posted June 28, 2018 SWEET BEANS Sir @dbawel this is great!! BTW the more help the merrier..Im always open to advice especially with this since Im still extremely new to it? ?? Mekaboo dbawel 1 Quote Link to comment Share on other sites More sharing options...
dbawel Posted June 28, 2018 Share Posted June 28, 2018 @Mekaboo If you met me, I doubt you'd have the same opinion...? Anyway, here's a tutorial for building a trivia game in React/Redux. If you don't know the React/Redux workflow, it will appear overwhelming at first. However, I was able to write apps using these frameworks with WebGL in just week... with about 7 hours of study. This will also make you application much more manageable, as well as open up a whle new future for working in the front-end development industry as these are currently the best APIs available... in my opinion. If you already know this, than please forgive my assumptions. https://mitchgavan.com/react-quiz/ DB Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted June 28, 2018 Share Posted June 28, 2018 http://www.babylonjs-playground.com/#4AAUE3#2 anyone know why the uv on the last face is not updating, its on the right face that shows blue and red. Also I am trying to get the UV correct so that the back and front and separate on the same UV, but it looks like even with my ratio calc there is still a small strip of black on the bottom of the major faces, so I have to be off on my math somewhere. *just messing around* not important... Quote Link to comment Share on other sites More sharing options...
Mekaboo Posted June 28, 2018 Author Share Posted June 28, 2018 @dbawel This is wonderful and nope Im extremely new to this so it amazes me!! I just looked this up..love this concept as well http://coenraets.org/blog/2016/08/building-a-trivia-app-with-react/ Its giving me "Jeopardy" vibes lol! From the responses on this page it seems like you it doesnt take alot of time to construct and Ive been told Im quick learner so...? Im soooo looking forward to building this..I cant wait!! ??, Mekaboo Quote Link to comment Share on other sites More sharing options...
Mekaboo Posted June 28, 2018 Author Share Posted June 28, 2018 @Pryme8??? Quote Link to comment Share on other sites More sharing options...
Mekaboo Posted June 28, 2018 Author Share Posted June 28, 2018 Sir @dbawel Can I use the code from React and graphics from BJS. I was wonder can I make plane mesh cards then add the RJS code to the cards? I saw on the RJS page I can add code to a site but dont know if it has been used with BJS. Quote Link to comment Share on other sites More sharing options...
dbawel Posted June 28, 2018 Share Posted June 28, 2018 @Mekaboo Absolutely! And this offers you a far more manageable application. However based upon your question, I'll assume you don't know these frameworks. I must stress again that learning React/Redux/Webpack appears VERY overwhelming at first. However, as mentioned before, it only took me a week before I built my first application. Here are two links that will be invaluable to you if you decide my advice is valid: https://doc.babylonjs.com/resources/babylonjs_and_reactjs And the 'REAL' pioneer as far as I know @brianzinn's Github repo: https://github.com/brianzinn He's the man you should be talking to if you intend on using React/Redux calling canvas' rendering WebGL. Cheers, DB Mekaboo 1 Quote Link to comment Share on other sites More sharing options...
dbawel Posted June 28, 2018 Share Posted June 28, 2018 28 minutes ago, Pryme8 said: http://www.babylonjs-playground.com/#4AAUE3#2 anyone know why the uv on the last face is not updating, its on the right face that shows blue and red. Also I am trying to get the UV correct so that the back and front and separate on the same UV, but it looks like even with my ratio calc there is still a small strip of black on the bottom of the major faces, so I have to be off on my math somewhere. *just messing around* not important... @Pryme8 - Dude, you're such a B-hole! DB Quote Link to comment Share on other sites More sharing options...
dbawel Posted June 28, 2018 Share Posted June 28, 2018 @Mekaboo Here's an online React/Redux course that I would HIGHLY recommend... and it's on a 90% sale price at only $11.99 USD... https://www.udemy.com/react-the-complete-guide-incl-redux/?siteID=a1o1REVAqJg-YZkQhlVd_VEJWoM97wvMhA&LSNPUBID=a1o1REVAqJg DB Mekaboo 1 Quote Link to comment Share on other sites More sharing options...
Mekaboo Posted June 29, 2018 Author Share Posted June 29, 2018 (edited) @dbawel thank you for these jewels..will look into them!!! ??, Mekaboo Edited June 29, 2018 by Mekaboo edit Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.