Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
Help With New Game

Girik
Guest
Quote
2022-03-15 17:02:33

I am making a open world flight simulator game that's actually turning out to be really good. I needed some help as to how I can make randomly generated structures in coppercube , I also needed some help as to how I can make AI pedestrians.


Ragsby
Guest
Quote
2022-03-15 19:29:36

For pedestrians you could try sven's waypoint ai -
http://www.youtube.com/channel/U...

Scroll down the videos to the third row and you'll find it.


andgameplay
Registered User
Quote
2022-03-15 20:53:44

Hi Girik, for make randomly generated structures, you could try the behavior "clone a scede node" => change position of a scene node => Set to random area and you chose the parameters.

One question, how are you doing a Flight Simulator in Coppercube? I'm asking this because I want to do a Flight Simulator, but I have no ideia how to do this without physycs for airplanes. Do you have a demo to show us?


Girik
Guest
Quote
2022-03-16 03:26:43

Well I haven't made the up and down movement of the plane yet . My basic idea is to control the up and down movement with the mouse and the other stuff with the keyboard. The plane won't move up or down until the mouse surpasses a specific y position on the screen. So maybe if I want it to move down , I would apply an if statement where if the mouse position is less that a certain position then it would move down and if it is greater than a certain y position then it would move up. But if it is in the middle , it won't move up or down. By the way thanks for that randomly generated structure idea. I will be posting a very very early demo after some time.


Girik
Guest
Quote
2022-03-16 03:37:32

It won't be very advanced or anything. The purpose of the game is to explore the large map. The map is 80% water(at the moment) but there are several things in the water to make it interesting. The water has dynamic moving ships. Motorboats also can be found. I am using prefab models right now , will be making my own models later. There is one City in the far north. Several islands scattered around. And that's all I have dine right now. I want to finish the up and down movement then I will make the map have more stuff


andgameplay
Registered User
Quote
2022-03-16 16:09:02

Great Girik, the idea of movement up and down is very good, show us the game when you can, good luck in your project! :)


csp-games
Guest
Quote
2022-03-20 20:49:00

My suggestion is: (and that is jet plane dynamics), allow to roll the plane sideways, and to lift and lower the nose, not to control altitude, but whether the plane flies a parable "up" or "down" with respect of the current rolling angle. So for example if the pilot rolls 90 degrees left and then pulls the nose up, the plane flies east. This allows also loopings etc. and gives you the ultimate jet flight feeling.

While it's easy to set the rotation of the plane by code, it's a bit trickier to move the plane in the direction it is currently pointing purely by 3D math. But you can use tricks, for instance have an invisible target mesh parented to the plane, some distance in front of the plane. Now you can just position the plane on a point between the 2 objects, by getting xyz distance, divide by something related to speed, then add this to the current xyz position and place the plane there.

So controls would simply contain:

(roll left/right)
if cursor left: plane rotation.z++
if cursor right: plane rotation.z--

(nose up/down)
if cursor up: plane rotation.x --
if cursor down: plane rotation.x ++

(move in direction of nose)
planeposition=planeposition + speed * direction

or use the mouse of course.


csp-games
Guest
Quote
2022-03-20 21:03:00

hmm, I just see my advice was maybe a little off topic, the question was not about controls, and a jet may be the wrong type of plane to explore things in detail.
To late :)


andgameplay
Registered User
Quote
2022-03-20 22:08:39

Hi csp-games, your idea about the control of plane is very good! This idea is only using variables? I would like to do a simple control and movment of a plane, but only using the variables, (I don't know using javascript yet). :)


Guest
Guest
Quote
2023-05-07 20:10:32

how can i make a high graphics game


starx78
Registered User
Quote
2023-05-08 00:14:54

@Guest if you want high graphics game ,You can use quality textures and models, and customize details such as shadow, light, reflection, particle, fog and other.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internati?nal" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact