VR Game in scratch.
id: 225849
category: Collaboration
posts: 274
kiligrew
loading
This is the main plan. I want to get something like Oculus Rift or Google Cardboard (Something like that). And then I want to in some way connect the PC to the Phone (If we do something like Google Cardboard.). That's step 1. Any thoughts?
Step 2: would be making the game. Though I'm not entirely sure what this game is going to be about. I think we should start off kinda easy, so we can get the hang of it. But I also want to make this game, will, AWESOME! So That's step 2. Is any suggestions on how I should do this?
Step 3: Testing! This step is going to be intermingled with Step 2 though. I'm just gonna need help testing it on different phone sizes (Again if we use phones). If you wanna test… Great!
Conclusion: Thank you so much for all of you help! Any suggestion would be Marvelous! I'll go more in detail about what I am planning with this, I just need to know if you want to help or not. So will you?
If you want to do it, Please tell me what you want to be:
A Tester.
a Programmer (Please be good)
A Engineer (Basically someone who does research on the whole VR thing.)
If you have any suggestion please tell me. Thanks!
Step 2: would be making the game. Though I'm not entirely sure what this game is going to be about. I think we should start off kinda easy, so we can get the hang of it. But I also want to make this game, will, AWESOME! So That's step 2. Is any suggestions on how I should do this?
Step 3: Testing! This step is going to be intermingled with Step 2 though. I'm just gonna need help testing it on different phone sizes (Again if we use phones). If you wanna test… Great!
Conclusion: Thank you so much for all of you help! Any suggestion would be Marvelous! I'll go more in detail about what I am planning with this, I just need to know if you want to help or not. So will you?
If you want to do it, Please tell me what you want to be:
A Tester.
a Programmer (Please be good)
A Engineer (Basically someone who does research on the whole VR thing.)
If you have any suggestion please tell me. Thanks!
Minecart696
loading
A VR Game is not possible in Scratch. 3D is already near impossible and results in insane lagspikes, I don't think we can handle a VR.
kiligrew
loading
Minecart696, then let's not make it 3d. We can make a simple Animation that you watch. (And possible Interact With)
Minecart696
loading
how will you make it VR if it's not 3D? Minecart696, then let's not make it 3d. We can make a simple Animation that you watch. (And possible Interact With)
kiligrew
loading
how will you make it VR if it's not 3D? Minecart696, then let's not make it 3d. We can make a simple Animation that you watch. (And possible Interact With)
Easy. Well just make a small animation. Nothing 3D, just a 2d animation. Well make the frame on the left see the left more, and the frame on the right see the right more.
WWEMINECRAFTZAXTA
loading
TESTER PLZ
asherbobasher
loading
what if you take a 3d photo and turn it 2d in scratch, so when you move around (tilt) the _____ it moves the photo to give a sense of a 3d world
43superm
loading
TESTER PLEASE!!!!!!!!!!!!!!!!!!!!!!
VeryPlushSuprise
loading
Not possible in Scratch.
Would only be possible, if ported in Java.
The only problem with that is Squeak, doesn't support VR connection.
Would only be possible, if ported in Java.
The only problem with that is Squeak, doesn't support VR connection.
<[possibility] = [0]>
Baldi2
loading
Well, you can use video motion. This link shows a working scratch vr game by motion! –> scratch.mit.edu/projects/294416749/
hihenetu2029
loading
I know how to make one. I made a red box that you can move with your hand.
WAFFLEWIZARD999
loading
Not possible in Scratch.There are multiple engines that support vr, so you would not need to use java
Would only be possible, if ported in Java.
The only problem with that is Squeak, doesn't support VR connection.<[possibility] = [0]>
IAMTHEOWL
loading
It is possible to make a VR if it is a certain type of game. You will have to go to like a game studio not in scratch like a game maker like something like unity.We will have to type java script and then convert it to custom blocks in scratch. If it's super 3D or complicated then it should be impossible. But it is possible we just need to type it in like a game maker like unity and type it in java script and convert it to scratch in custom blocks.
when green flag clicked<[ScratchVrGame] = [Posible]>
Undistalsics1937
loading
I now realize that I am 4 years late to this conversation. I will try to make a VR game on Scratch even thought it may be impossible. (Side note: I am not a good programmer, but I will still try.)
Idea: We could use a computer mouse for the controllers. I think it would make it easier.
Idea: We could use a computer mouse for the controllers. I think it would make it easier.
Undistalsics1937
loading
I think this might work out if done right
Undistalsics1937
loading
when green flag clicked
say [This is definately possible. If people do it on Unity, why can't we do it on Scratch? Let's do this!]
dantelin
loading
I know im late but, what if we could instead of runniing it on scratch making it run on the pc itself and be programmed on scratch
We colud make an extention for connecting the Scratch enviroment to Steam VR output and use Riftcat or Trinus VR for streaming it to Google Cardboard
That not would only add support to expensive VR but to cheap vr and taking all the advantages of VR
For rendering 3D we could try Phosphorus, it loads the games on js so its faster, but it would have to be very simple as for rendering we should have 2 cameras, If you are trying native, keep in mind that scratch has a 4:3 thing to make games on, and VR divides 16:9 into 2, 4:3 screen for SBS.
With SteamVR we skip the issue of sensors as SteamVR driver take care of that but it would require people to have installed not only steam, but steam VR.
idk maybe we can somehow add blocks so they comunicate to the browser extention wich has system access so it can work like an intermedary between SteamVR and Scratch.
Thats the only way i can think, i was thinking of custom variables that the browser detects thought the extention wich may be harder but at least we could use the native blocks and will run on SteamVR
The other option is for Scratch to add support of SteamVR but thats imrpobable.
Heres some example code of how it would work, obuisly with custom blocks
This is just an example with custom blocks
It doesn't have to work like this
Hope i helped, stilll cool idea thought
We colud make an extention for connecting the Scratch enviroment to Steam VR output and use Riftcat or Trinus VR for streaming it to Google Cardboard
That not would only add support to expensive VR but to cheap vr and taking all the advantages of VR
For rendering 3D we could try Phosphorus, it loads the games on js so its faster, but it would have to be very simple as for rendering we should have 2 cameras, If you are trying native, keep in mind that scratch has a 4:3 thing to make games on, and VR divides 16:9 into 2, 4:3 screen for SBS.
With SteamVR we skip the issue of sensors as SteamVR driver take care of that but it would require people to have installed not only steam, but steam VR.
idk maybe we can somehow add blocks so they comunicate to the browser extention wich has system access so it can work like an intermedary between SteamVR and Scratch.
Thats the only way i can think, i was thinking of custom variables that the browser detects thought the extention wich may be harder but at least we could use the native blocks and will run on SteamVR
The other option is for Scratch to add support of SteamVR but thats imrpobable.
Heres some example code of how it would work, obuisly with custom blocks
when green flag clicked
enable SteamVR mode
repeat until <(steamVR) = (on)>
say [This game only works in VR] for (2) secs
end
when [VRTrigger Left] controller key pressed
move (12) steps
wait until <vr headset looking at [Sprite1]>
go to x: (23) y: (10) z:(23)
when green flag clicked
go to (SteamVRPositionPointer)
This is just an example with custom blocks
It doesn't have to work like this
Hope i helped, stilll cool idea thought
Undistalsics1937
loading
In order for this to work, we may have to use a keyboard to turn the character.
dantelin
loading
That would be a good alternative to vr controllers In order for this to work, we may have to use a keyboard to turn the character.
1werentallowed
loading
Srry Im late to the discussion but could'nt we use the distance sensors from LEGO MINDSTORMS EV3/EV4 to make a vr controller and then create a program to connect t to a vr program via javascript via phosphorus. Or we could in-fact emulate Kinect's motion controls inside a pprogram and make an all-new game altogether
redwolf300
loading
try using the phone camera to make an augmented reality and then use that in a 3D or raycaster engine
Undistalsics1937
loading
That's a good idea! try using the phone camera to make an augmented reality and then use that in a 3D or raycaster engine
AnAlgorithm
loading
Virtual reality may need a headset and all that. Try doing something just that you can create it 3D. (Try using pen)
_tastynoodles_
loading
I have a game. While it is not VR it is still pretty close. here is the link https://scratch.mit.edu/projects/419689209
redwolf300
loading
it might not be so easy thoThat's a good idea! try using the phone camera to make an augmented reality and then use that in a 3D or raycaster engine
AnAlgorithm
loading
https://scratch.mit.edu/projects/419689209Sorry, but a 404 error is coming. Did you unshare it? I have a game. While it is not VR it is still pretty close. here is the link
AnAlgorithm
loading
3D is possible, only it's a bit hard, adding the extra dimension ‘z’. A VR Game is not possible in Scratch. 3D is already near impossible and results in insane lagspikes, I don't think we can handle a VR.
_tastynoodles_
loading
ok my game is back
i just needed to fix a bug
i just needed to fix a bug
_tastynoodles_
loading
Scratch needs to make a app for Scratch VR on phone then make some kind of lego thing
44stuffyconvention
loading
Not possible in Scratch.
Would only be possible, if ported in Java.
The only problem with that is Squeak, doesn't support VR connection.<[possibility] = [0]>
you liar,yes it's hard, but i've seen vr plane games on scratch
44stuffyconvention
loading
how will you make it VR if it's not 3D? Minecart696, then let's not make it 3d. We can make a simple Animation that you watch. (And possible Interact With)
Easy. Well just make a small animation. Nothing 3D, just a 2d animation. Well make the frame on the left see the left more, and the frame on the right see the right more.
REALLY?!!?!? THE WHOLE POINT WAS TO MAKE IT VR AND CONTROLLABLE
44stuffyconvention
loading
use the webcam what if you take a 3d photo and turn it 2d in scratch, so when you move around (tilt) the _____ it moves the photo to give a sense of a 3d world
44stuffyconvention
loading
Not possible in Scratch.There are multiple engines that support vr, so you would not need to use java
Would only be possible, if ported in Java.
The only problem with that is Squeak, doesn't support VR connection.<[possibility] = [0]>
yeah,we can't do it in scratch(well,not really)
1werentallowed
loading
An A.R game in Scratch might be possible, a V.R game has a very low chance of success, and using a mobile device , could in-fact, break the entire program
44stuffyconvention
loading
That would be a good alternative to vr controllers In order for this to work, we may have to use a keyboard to turn the character.
wireless or connected?,controller,or camera?
44stuffyconvention
loading
https://scratch.mit.edu/projects/419689209I have a game. While it is not VR it is still pretty close. here is the link
no, i checked that, that's NO WHERE NEAR VR
_tastynoodles_
loading
ok guys i am currently working on a 3D vr game in scratch
AnAlgorithm
loading
Me too! (But I just want to know if there is a way you can do it with a headset) ok guys i am currently working on a 3D vr game in scratch
Is there an option on the Oculus Rift, Google Cardboard or Windows Mixed Reality Portal that it can connect to Scratch and you can design a game there? (I think it's for the Scratch Team to decide)
_tastynoodles_
loading
no
_tastynoodles_
loading
i really wish there was a way tho
i had the idea of a player controlling some sort of 3d hand
however this may take a while
i had the idea of a player controlling some sort of 3d hand
however this may take a while
AnAlgorithm
loading
I think we should leave the 3D Viewer for later…so we can work on how the project will be.
Here are my suggestions-
1. Create a 2D sketch of your area you want to make
2. Make the 3D wireframe
3. Fill in the 3D shapes
4. Make a virtual world by combining simple, complex and custom shapes
5. THEN WE CAN WORK ON THE HEADSET
(P.S I'm ready to join a collaboration on this if you want my help)
Here are my suggestions-
1. Create a 2D sketch of your area you want to make
2. Make the 3D wireframe
3. Fill in the 3D shapes
4. Make a virtual world by combining simple, complex and custom shapes
5. THEN WE CAN WORK ON THE HEADSET
(P.S I'm ready to join a collaboration on this if you want my help)
Iananimation13
loading
try using the phone camera to make an augmented reality and then use that in a 3D or raycaster engine
AnAlgorithm
loading
My idea is that we make the project, with projecting two images on the screen. From the headset we can experience the 3D effect. try using the phone camera to make an augmented reality and then use that in a 3D or raycaster engine
And, making a headset isn't all that hard. You can make it out of a cardboard box.
scratchermr
loading
you can made lost of 3d photo frames like stop motion then when you use some sensors to change the photo then you make two screens and make it openable on phones and put it on your vr machine
-CloudGate-
loading
I actually made a VR game in my old account @meunspeakable , and it seems like what you're trying to make, you can use it as a base
-CloudGate-
loading
I actually made a VR game in my old account @meunspeakable , and it seems like what you're trying to make, you can use it as a basehttps://scratch.mit.edu/projects/348520856/ is the game, tilt the camera up and It goes up, tilt it left and it goes left and so on
FatRhabbit
loading
Dude that is not gonna work. its just gonna show you the 3D photo and you can't tilt it until you actually put some coding. but it is a good idea what if you take a 3d photo and turn it 2d in scratch, so when you move around (tilt) the _____ it moves the photo to give a sense of a 3d world
FatRhabbit
loading
how do you fit the actual VR headset onto the phone if the phone shows scratch but the whole game doesn't fit the screen though?My idea is that we make the project, with projecting two images on the screen. From the headset we can experience the 3D effect. try using the phone camera to make an augmented reality and then use that in a 3D or raycaster engine
And, making a headset isn't all that hard. You can make it out of a cardboard box.
FatRhabbit
loading
Wait. What if we use the movment settings and make it track your head and move you in the game also?
FatRhabbit
loading
how do you make raycasting so then it just doesn't show the 3D shape as a 2D shape in a 3D world. I think we should leave the 3D Viewer for later…so we can work on how the project will be.
Here are my suggestions-
1. Create a 2D sketch of your area you want to make
2. Make the 3D wireframe
3. Fill in the 3D shapes
4. Make a virtual world by combining simple, complex and custom shapes
5. THEN WE CAN WORK ON THE HEADSET
(P.S I'm ready to join a collaboration on this if you want my help)