I need help on a game
-
@LinkCraft02 Awesome idea.. how far have you gotten so far? Do you have any previous programming experience?
-
I have loaded the plane so you can see it but I have no idea where to go from there. I have smilebasic on 3ds and I’m learning C# in school but I’ve never been “good” at programming.
-
@LinkCraft02 Awesome... I think a first great step will be learning how to make the plane move with the player input
The most simple way to do this would be to create a variable to store the 3 positions of X,Y,Z, you can do this several ways, some examples:
Single variable appraoch
PlaneX = 0
PlaneY = 0
PlaneZ = 0Vector variable approach
PlanePos = {0,0,0}Once you have your variables, you can then update the 3D object with a simple approach in the main game loop like:
j = controls ( 0 )
PlanePos.x += j.rx
PlanePos.z -= j.ryTo break down the above, you have the variable, on each game cycle, adjusting by the input value returned from j.rx / ry ( right control stick X plane, right control stick Y plane)
So, now we have a variable, we have input capture which is adjusting the variable, what next?
You can next use a function to update the object's location and plot it with your variable, the outcome... your moving the control stick will move the planes position
The Fuze team has made some amazing demos and help guides I highly recommend going through, reading through other posts here is also valuable - I can also suggest breaking up your game into small demos and projects to assist with your learning as building a full flight sim will take some work..
Keen to see what you have so far if you'd like to share your friend code - I'll be off work in about a week so happy to assist with your project (as well as a few others ill be working on!) - I have a first person 3D engine I'm working on that I'll eventually share as a template for people to build on
-
-
@LinkCraft02 Try modify the above code to "set the Camera" to follow the planes position!
-
@Tratax - Amazing dude.
@LinkCraft02 apologies to have left you hanging! I'll be keeping my eye on this thread - it's an awesome idea. Looking forward to seeing where you take it!
-
Hey thanks for everyone’s help my friend code is SW-1861-6681-0419
I also have school so it might take me a while to edit my program and share it. -
Ok so I had a slight problem and long story short my start to the flight sim game is now gone so I need to restart. Oops
-
@Tratax Ok I shared the program so you can see how far I am. It needs a ton of work
-
@LinkCraft02 Cool, I'll take a look tonight
-
@Tratax Ok and if you want to you can work on it too and share it back.
-
@LinkCraft02 Sure, no problems - have sent you a friend request
-
this is great i can have a blast at 3d games now, would be nice to be able to make our own 3d models tho
-
I know that I’ve barley worked on this program but I think I’m going to take a brake and work on programs that are more my level
-
But I’m definitely coming back to this one later
-
I'd start with 2d or a single screened game,
It's very worth it using the sample games loading them up and just customizing them
So you learn where to put code and what does what it helped me immensely!
Still worth holding onto your project as it's great to add to it as you learn.