3D First Person Test

user_avatar Made by: RobinsonX

PROJECT DESCRIPTION

Share this project:

Yep, you read the title right.

3D FIRST PERSON! 😱

Use the joystick to move and drag the screen to turn.

This is currently a W.I.P, there are bugs and much optimization needed. Anyways, have fun! πŸ˜„

VERSION 1.1

Last Updated: September 21, 2022

+ Project is now branchable! See the behaviors for yourself!
+ Option to create and destroy objects.
+ Some minimal optimization.

COMMENTS

YOU MUST BE SIGNED IN TO LEAVE A COMMENT

January 21, 2024

It's like DOOM!

April 09, 2020

This is amazing. This is a new evolution of HyperPad.

November 10, 2019

So is this going to become like a FPS Multiplayer shooter?

November 10, 2019

Ha! You guessed it! I'm waiting for the bitmap features, so rendering 3D things won't be as laggy. It doesn't have to be a shooting game, I can also have some sort of hide and seek mini-game or even prop hunt if possible. πŸ˜„

November 09, 2019

Woah dis is amazing

November 09, 2019

It'll be more amazing once we finally get multiplayer on it! 😱

November 09, 2019

Wooooooaah

November 09, 2019

Can you make it branchable I wanna see the coding

November 09, 2019

I made it branchable! Enjoy!

November 09, 2019

How did you do that this is amazing!

November 09, 2019

Thanks to my Algebra Teacher, I learned how vectors can make 3D possible! πŸ˜„ Trial and error finding a working method. I didn't research because I figured that there won't be anything relevant. I placed a square and made it so each corner of the square can be rendered as a line.

November 10, 2019

There is some relevant stuff on the Internet. Often they try to show it in matrix form which isn't too useful to you until you know how to work matrices. Mine wouldn't be working if I didn't google how to do it (my very first version of 3D that I didn't by myself looked messy and broken).

November 06, 2019

Looks pretty good, even though it only runs at like 2fps on this old iPad Air. At least it doesn't crash πŸ˜‚. Moving sideways doesn't look quite right, but it's close I think to what you should actually see.

November 06, 2019

This makes me want to go back to my 3D and keep working on it.

November 06, 2019

Yes! It's the project that inspired me. :)

November 06, 2019

πŸ˜‚ The way this thing works is weird. I looked at your code and I was like: "whaaat?"

November 06, 2019

My new version that I haven't uploaded is waaay neater. But it's just as laggy, which is why I didn't upload it.

November 05, 2019

What behaviors did you use and how did you use them? This is literally revolutionary btw!

November 05, 2019

Yes, revolutionary! πŸ˜ƒ Let's break this down.. (this might look like a lot) β€’ The project is a top-down view, you can see squares on the scene. β€’ There is also a player in the scene, it will be a circle. The joystick can be used to move it. β€’ Using the calculate direction and calculate distance behaviors, we can trace an imaginary line from each corners of each square to the player. The length of each line is the distance and the angle is where it will display on the screen. (x-vector) β€’ Lines are displayed on the screen according to the angles of the imaginary lines. β€’ The length of each line on the screen (y-scale) corresponds to the distance of the imaginary lines we drew. The further, the smaller and vice-versa. β€’ Now, we need to draw in the faces of the shapes. β€’ In between the lines, there's always a square. β€’ You notice that sometimes, you can see one square or two squares. β€’ To draw the squares, we need to know how to draw a triangle. This required a lot of math, not gonna explain it right now.. 😬 Notice that two right triangles can make a square. β€’ Now set the faces and the edges to the correct z order, so that things closer to you overlay things further from you.

I can send you the project if you want.

November 05, 2019

Yeah can you send me the project? Thanks

November 05, 2019

Alright, will do! http://bit.ly/32olkDn

November 06, 2019

Should've just made it branchable πŸ˜›

November 06, 2019

Yeah, but when I add in stuff like multiplayer I won't make it branchable. πŸ˜‚

November 05, 2019

It’s really awesome as I said on Discord. Even if it’s lagging a bit, I can still understand what is going on! Is this some sort of Ray Casting? Or something different from Ray Casting or maybe an alternative ? I’ve made some research when I knew that you had a project making a 3D game, and there it is! Now the time to optimize everything, Good Job! ;)

November 05, 2019

I tried raycasting and it lagged too much. πŸ€·β€β™‚οΈ I tried an alternative and it worked! For a shape, you just look at each corner. For each corner, you calculate it's distance and direction towards the player and then it renders it from there.

November 05, 2019

And yes, it was awesome! Thank you @XxWhiteHearrxX Optimizing it will be a bit tough though. I'll think about it. :)

November 05, 2019

I guess were in the 3D age now

November 05, 2019

πŸ€·β€β™‚οΈ The only issue is performance.

November 05, 2019

True