Showcase
Showcase your work that you have created in the Skyline Game Engine.

Moonrats - Gen2 Racer WIP

Moonrats - Gen2 Racer WIP

Postby planetX » 16 Oct 2017, 19:02

Hi there,

I started this project long time ago, back in 2008, while I was learning game development... it was an enormous project since the very beginning, but still wanted to accept the challenge. Had several tries before it started to get consistent, and I almost reach the end... but due to a messy life and the fact that the engine I was using was discontinued in 2011, I never could finish it.

But one year ago I discovered Skyline and decided to start it again... :D Even in its early state, Skyline seemed to be the perfect candidate for this job and my poor programming knowledge. So I had a try and definitely can confirm that there's no better choice out there. This shit is really good. :lol:

These are the posts of the progress so far:

GUI: viewtopic.php?f=16&t=1937
RACE: viewtopic.php?f=51&t=1782

And here the latest videos:





I will continue in this thread with further questions, bug reports and the common stupidities, as well the latest updates.

Now I have the feeling that there's no way back. :?

Cheers

My specs: Windows 10 - Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz - 16 Gb ram DDR4 - NVIDIA GeForce GTX 960M 4 Gb

planetX
Skyline Contributor
Skyline Contributor
 
Posts: 210
Joined: 28 Nov 2016, 18:27
Skill: 3D Modeller
Skill: Level Designer
Skill: Concept artist
Skill: Great creative
Skill: Programmer

Re: Moonrats - Gen2 Racer WIP

Postby SolarPortal » 16 Oct 2017, 19:36

Nice one @PlanetX, nice to see it all in one place which just makes it look that more better :D

Now I have the feeling that there's no way back. :?

you bet... This game is going to be awesome :P
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: Moonrats - Gen2 Racer WIP

Postby StarFire » 16 Oct 2017, 19:45

Yes looks great on it own thread, excited to see the full game :D

Now I have the feeling that there's no way back. :?


Its real now lol ;)
Dream the Journey, Live the Experience!
User avatar
StarFire
Skyline Founder
Skyline Founder
 
Posts: 1678
Joined: 03 Jan 2012, 18:50
Location: UK
Skill: Great creative
Skill: Programmer
Skill: 3D Modeller
Skill: 2D Artist
Skill: Level Designer

Re: Moonrats - Gen2 Racer WIP

Postby SolarPortal » 09 Feb 2018, 22:52

I'm not sure if you mentioned this with your project that when in an end game with vehicles. they contained the wrong orientation when starting the game. This has been fixed for the next version :)
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: Moonrats - Gen2 Racer WIP

Postby planetX » 10 Feb 2018, 11:21

Hi SP, glad to see you back... ;)

For some reason I'm totally unable to export an endgame with Gen2. Never had those rotation problems with the Gen1 though.

You said you got this race exported, can I have it too? I'm always getting errors and the endgame crashes, but maybe I'm doing something wrong. Not sure if you had to change the code to make it run... did you?

I've also tried to export very simple scenes but it always crashes. Any help would be appreciated. :D

Cheers

My specs: Windows 10 - Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz - 16 Gb ram DDR4 - NVIDIA GeForce GTX 960M 4 Gb

planetX
Skyline Contributor
Skyline Contributor
 
Posts: 210
Joined: 28 Nov 2016, 18:27
Skill: 3D Modeller
Skill: Level Designer
Skill: Concept artist
Skill: Great creative
Skill: Programmer

Re: Moonrats - Gen2 Racer WIP

Postby StarFire » 10 Feb 2018, 13:07

Yes there has been some code changes to fix the end game issues. These are in the next update, just trying to get a few other fixes in prior to release. :)
Dream the Journey, Live the Experience!
User avatar
StarFire
Skyline Founder
Skyline Founder
 
Posts: 1678
Joined: 03 Jan 2012, 18:50
Location: UK
Skill: Great creative
Skill: Programmer
Skill: 3D Modeller
Skill: 2D Artist
Skill: Level Designer

Re: Moonrats - Gen2 Racer WIP

Postby SolarPortal » 10 Feb 2018, 13:09

We have fixed a few issues with the exporter.

Warnings on export can generally be ignored, unless a mesh thats loaded in the scene is the wrong one.. but most of the time, this is ok.

As for Errors, these generally need sorted, but still, sometimes that game will work fine... they are more of a guideline to help debug what issues there might be..

I haven't exported your game in a while, so will have to give that a go today and make sure it does what it should, we were testing the vehicles on the new racetrack game template...
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: Moonrats - Gen2 Racer WIP

Postby planetX » 08 Apr 2018, 15:04

Hi, I'm trying to build a scripted vehicle but I'm having problems with the wheels. I can't adjust the radius, seems like the vehicle.setWheelRadius() function doesn't work. Any clue?

Image

My specs: Windows 10 - Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz - 16 Gb ram DDR4 - NVIDIA GeForce GTX 960M 4 Gb

planetX
Skyline Contributor
Skyline Contributor
 
Posts: 210
Joined: 28 Nov 2016, 18:27
Skill: 3D Modeller
Skill: Level Designer
Skill: Concept artist
Skill: Great creative
Skill: Programmer

Re: Moonrats - Gen2 Racer WIP

Postby SolarPortal » 08 Apr 2018, 15:42

hmm, should work lol :P

Vehicle parameters when scripted should always go before the generate of the vehicle physics mesh as they wont do anything after the create.

If it doesnt work before that, then there may be an issue that needs fixed. Havent done a scripted vehicle since gen1 lol :P
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: Moonrats - Gen2 Racer WIP

Postby planetX » 08 Apr 2018, 15:58

Tried with the "Bkc_NeoCharger.lua" script, it doesn't work. ;)

My specs: Windows 10 - Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz - 16 Gb ram DDR4 - NVIDIA GeForce GTX 960M 4 Gb

planetX
Skyline Contributor
Skyline Contributor
 
Posts: 210
Joined: 28 Nov 2016, 18:27
Skill: 3D Modeller
Skill: Level Designer
Skill: Concept artist
Skill: Great creative
Skill: Programmer

Re: Moonrats - Gen2 Racer WIP

Postby SolarPortal » 08 Apr 2018, 20:08

ok, thanks for reporting :)
Could you add a ticket for your issues to the support site please :)
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: Moonrats - Gen2 Racer WIP

Postby SolarPortal » 09 Apr 2018, 13:11

Vehicle is fixed, it was a validity check but the wheels were not created yet so it failed.
Now the script is working again :)
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: Moonrats - Gen2 Racer WIP

Postby planetX » 09 Apr 2018, 14:24

Again, thanks for having a look at this. ;)

BTW I have a question: What's the best way to create a scripted car? What I did so far is to add a mesh to the editor, add the script to it and make a preset, so I can spawn the preset wherever I want. But from the script I'm spawning another preset for the cam, so it would be a preset inside another preset. Is that a valid approach? I think I'm doing something wrong because it crashes quite often. I'm also having problems trying to get the position of the original mesh(not the vehicle) from that script, as sometimes the console says the ID of the object I'm getting the position doesn't exist.

Not sure if I'm explaining the issue properly. The idea is to have a reference mesh for the preset (that is a static car mesh), add an external script to the mesh to create the scripted vehicle, spawning the vehicle where the reference mesh is, together with the cam and all the stuff the vehicle needs, so the preset is just the reference mesh with the external script linked to it.

I think the example script is made to be added to the Scene script, correct me if I'm wrong.

My specs: Windows 10 - Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz - 16 Gb ram DDR4 - NVIDIA GeForce GTX 960M 4 Gb

planetX
Skyline Contributor
Skyline Contributor
 
Posts: 210
Joined: 28 Nov 2016, 18:27
Skill: 3D Modeller
Skill: Level Designer
Skill: Concept artist
Skill: Great creative
Skill: Programmer

Re: Moonrats - Gen2 Racer WIP

Postby SolarPortal » 09 Apr 2018, 17:52

From what i understand, i don't see why this wouldn't work for you..
If you find a guaranteed crash, then create a simple demo with the assets and sling it over ;) We can then find the fault of the crash, but presets are just entities like everything else once spawned apart from they are dynamic if done at runtime.
So spawning a different preset would be the same as the first etc..
I hope this makes sense :) but it should not crash..

I think the example script is made to be added to the Scene script, correct me if I'm wrong.

nah, mine is working from a microscript.. havent tested external scripts though.
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: Moonrats - Gen2 Racer WIP

Postby planetX » 09 Apr 2018, 20:59

If you say it should work, then I'm doing something wrong. :)

My specs: Windows 10 - Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz - 16 Gb ram DDR4 - NVIDIA GeForce GTX 960M 4 Gb

planetX
Skyline Contributor
Skyline Contributor
 
Posts: 210
Joined: 28 Nov 2016, 18:27
Skill: 3D Modeller
Skill: Level Designer
Skill: Concept artist
Skill: Great creative
Skill: Programmer

Re: Moonrats - Gen2 Racer WIP

Postby SolarPortal » 09 Apr 2018, 21:11

yeah, it should work, but not closed to there being a potential bug or error. Let us know how you get on with it and we will help any way we can :)
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: Moonrats - Gen2 Racer WIP

Postby planetX » 29 Apr 2018, 08:05

Hi there,

I've been working in a scripted car solution in the last weeks, it turned out pretty cool but the cameras were lagging so I went back to the Action based vehicle, which runs way smoother. So I have a couple of Qs...

Q) Is there any way to setup a different radius in front and back wheels? The .car file only allows one radius. I'm trying to do it by script but it doesn't work.

Q) Can I manage the built-in cameras from the .car file by a script? Let's say I have a camera in the scene, then I want to switch to the built-in camera and so on.

My specs: Windows 10 - Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz - 16 Gb ram DDR4 - NVIDIA GeForce GTX 960M 4 Gb

planetX
Skyline Contributor
Skyline Contributor
 
Posts: 210
Joined: 28 Nov 2016, 18:27
Skill: 3D Modeller
Skill: Level Designer
Skill: Concept artist
Skill: Great creative
Skill: Programmer

Re: Moonrats - Gen2 Racer WIP

Postby planetX » 29 Apr 2018, 10:24

Also found that sounds and particles are not working in the end-game.

My specs: Windows 10 - Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz - 16 Gb ram DDR4 - NVIDIA GeForce GTX 960M 4 Gb

planetX
Skyline Contributor
Skyline Contributor
 
Posts: 210
Joined: 28 Nov 2016, 18:27
Skill: 3D Modeller
Skill: Level Designer
Skill: Concept artist
Skill: Great creative
Skill: Programmer

Re: Moonrats - Gen2 Racer WIP

Postby SolarPortal » 29 Apr 2018, 18:04

cameras attached to the vehicle will always be smoother than cameras following.

i thought the lua command let you change the wheel radius lol..

The cameras built into the car file are just cameras that are attached to the vehicles body instead of a tracking cam. Try attaching one in the scene or by script.

Thanks for the headsup with the end game, will look into when possible
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: Moonrats - Gen2 Racer WIP

Postby planetX » 29 Apr 2018, 18:13

SolarPortal wrote:i thought the lua command let you change the wheel radius lol..


It works with the scripted car, but not with the action vehicle.

SolarPortal wrote:Try attaching one in the scene or by script.


I've tried to implement my own cameras, but they are shaking... :D If I add a camera to the scene, I can set it active... but how can I deactivate it to get back to the built in camera?

Thanks!

My specs: Windows 10 - Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz - 16 Gb ram DDR4 - NVIDIA GeForce GTX 960M 4 Gb

planetX
Skyline Contributor
Skyline Contributor
 
Posts: 210
Joined: 28 Nov 2016, 18:27
Skill: 3D Modeller
Skill: Level Designer
Skill: Concept artist
Skill: Great creative
Skill: Programmer

Re: Moonrats - Gen2 Racer WIP

Postby SolarPortal » 29 Apr 2018, 19:03

Code: Select all
camera.setActiveCamera(-1);


Is the camera updating before the vehicle or after, as it should update after its moved to work with the correct positions.
the vehicle library has some of the camera controls, have you looked in there and use that and the camera class to say which one is which?

As for the radius, this should not be a complex task, once i have some free time; shall look into it :)
Currently reinstalling windows and my software due to new hardware so cant do much atm lol
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: Moonrats - Gen2 Racer WIP

Postby planetX » 30 Apr 2018, 06:28

SolarPortal wrote:
Code: Select all
camera.setActiveCamera(-1);


If I use that function to deactivate the scene cam, the buil-in cameras get crazy.

SolarPortal wrote:the vehicle library has some of the camera controls


Couldn't find anything... :roll:

My specs: Windows 10 - Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz - 16 Gb ram DDR4 - NVIDIA GeForce GTX 960M 4 Gb

planetX
Skyline Contributor
Skyline Contributor
 
Posts: 210
Joined: 28 Nov 2016, 18:27
Skill: 3D Modeller
Skill: Level Designer
Skill: Concept artist
Skill: Great creative
Skill: Programmer

Re: Moonrats - Gen2 Racer WIP

Postby planetX » 30 Apr 2018, 08:49

Ok, I think I found a workaround... to switch from scene cameras to buil-in cameras I just use:

Code: Select all
vehicle.setAsPlayer(VehID, 1 or 0)


:D

My specs: Windows 10 - Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz - 16 Gb ram DDR4 - NVIDIA GeForce GTX 960M 4 Gb

planetX
Skyline Contributor
Skyline Contributor
 
Posts: 210
Joined: 28 Nov 2016, 18:27
Skill: 3D Modeller
Skill: Level Designer
Skill: Concept artist
Skill: Great creative
Skill: Programmer

Re: Moonrats - Gen2 Racer WIP

Postby planetX » 30 Apr 2018, 16:50

Finally could manage the camera sequence from the intro to the race start. I've uploaded two videos showing both the editor and the endgame. The endgame makes weird things with the invisible mesh following the path, as you can see in the second video.




My specs: Windows 10 - Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz - 16 Gb ram DDR4 - NVIDIA GeForce GTX 960M 4 Gb

planetX
Skyline Contributor
Skyline Contributor
 
Posts: 210
Joined: 28 Nov 2016, 18:27
Skill: 3D Modeller
Skill: Level Designer
Skill: Concept artist
Skill: Great creative
Skill: Programmer

Re: Moonrats - Gen2 Racer WIP

Postby SolarPortal » 30 Apr 2018, 19:23

Great to see the intro camera's.
I see what you mean with the car camera jumping a bit

and as for the end game, certainly a strange one lol.. there is still lots to do in that... we will have to set a higher priority on the end game tasks. Will make it priority as with the scene management once the eco system tool is done :)

If I use that function to deactivate the scene cam, the buil-in cameras get crazy.

ahh, well that shouldnt happen... thanks for bringing all these issues to the front for us. :lol: :oops:
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Next

Return to Showcase

Who is online

Users browsing this forum: No registered users and 0 guests