Random Question: Pong

J_J
10 May 2018, 08:48

Okay. So, I don't know what I'm doing programming-wise, so I'm mostly feeling out if this is even possible with quest. My vision is having a scene where there is a pop-up menu within which you can play a simple javascript program similar to the old school pong game. Is that a thing that would even be possible?


CheeseMyBaby
10 May 2018, 09:31

I, of course, have no idea but I'm starting to really look forward to seeing your game! :)


J_J
10 May 2018, 09:52

Ha. Thanks >_<


J_J
10 May 2018, 12:08

I guess the idea would be having a pop-up like this:
http://textadventures.co.uk/forum/quest/topic/9-3xus0nt0yfsuyykyhlfg/external-popup-picture-over-the-gamewindow

But with the Javascript pong game inside of it. I am having trouble wrapping my head around how to do this.


The Pixie
10 May 2018, 12:43

I would look to do it inside a JQuery dialogue:
http://docs.textadventures.co.uk/quest/ui-dialogue.html

Putting the game into Quest would be pretty simple. The difficult part is coding the game. I do not doubt it is possible, but some tricky JavaScripting.


mrangel
10 May 2018, 16:40

Now I'm imagining a ball bouncing around the output area, obliterating text as it goes, but you can maybe placate it by bouncing it off the cursor at the bottom :p


CheeseMyBaby
10 May 2018, 18:07

Now I'm imagining the input bar transformed into a little spaceship that shoots the text in the output area!
QuestInvaderTM


K.V.
10 May 2018, 18:16

J_J
13 May 2018, 02:12

Thank you. I'm going to put this on the backburner and think about it.


CheeseMyBaby
13 May 2018, 11:35

K.V.
Quest: Space Invaders

Holy fudge!!!