Coder Social home page Coder Social logo

Performance Issues about engine-sim HOT 14 CLOSED

ange-yaghi avatar ange-yaghi commented on September 24, 2024
Performance Issues

from engine-sim.

Comments (14)

Colrover546 avatar Colrover546 commented on September 24, 2024 1

minimum specs vary from engine to engine so that's not possible

Ok, but how do i change engines???

There should be another issue that covers how to do this, but the only thing you need to change is the values in main... assets > engines > main.mr From there, you edit the parameters to what each engine is. So, if you wanted the Audi engine (for example), your main.mr file will read as:

`import "engine_sim.mr" import "part-library/part_library.mr" import "engines/audi/i5.mr"

set_engine( engine: audi_i5_2_2L() )`

It's sort of confusing though, since some engines may have different public nodes than their actual engine .mr file (which can be found within engines > [name of engine folder] > [enginename].mr The audi engine is the only engine like that though, IIRC. Sorry for the wall of text, hope this helps (✿╹◡╹)

Thank you! i really appreciate it!

from engine-sim.

Colrover546 avatar Colrover546 commented on September 24, 2024

What i mean by minimum specs is what FPS people have gotten from a mid to low end PC

from engine-sim.

DDev247 avatar DDev247 commented on September 24, 2024

minimum specs vary from engine to engine so that's not possible

from engine-sim.

Colrover546 avatar Colrover546 commented on September 24, 2024

minimum specs vary from engine to engine so that's not possible

Ok, but how do i change engines???

from engine-sim.

14rss avatar 14rss commented on September 24, 2024

minimum specs vary from engine to engine so that's not possible

Ok, but how do i change engines???

There should be another issue that covers how to do this, but the only thing you need to change is the values in main...
assets > engines > main.mr
From there, you edit the parameters to what each engine is.
So, if you wanted the Audi engine (for example), your main.mr file will read as:

`import "engine_sim.mr"
import "part-library/part_library.mr"
import "engines/audi/i5.mr"

set_engine(
engine: audi_i5_2_2L()
)`

It's sort of confusing though, since some engines may have different public nodes than their actual engine .mr file (which can be found within engines > [name of engine folder] > [enginename].mr
The audi engine is the only engine like that though, IIRC.
Sorry for the wall of text, hope this helps (✿╹◡╹)

from engine-sim.

14rss avatar 14rss commented on September 24, 2024

minimum specs vary from engine to engine so that's not possible

Ok, but how do i change engines???

There should be another issue that covers how to do this, but the only thing you need to change is the values in main... assets > engines > main.mr From there, you edit the parameters to what each engine is. So, if you wanted the Audi engine (for example), your main.mr file will read as:
import "engine_sim.mr" import "part-library/part_library.mr" import "engines/audi/i5.mr" set_engine( engine: audi_i5_2_2L() )
It's sort of confusing though, since some engines may have different public nodes than their actual engine .mr file (which can be found within engines > [name of engine folder] > [enginename].mr The audi engine is the only engine like that though, IIRC. Sorry for the wall of text, hope this helps (✿╹◡╹)

Thank you! i really appreciate it!

Happy to help! (^▽^)
I hope you were able to get it working properly.

from engine-sim.

Colrover546 avatar Colrover546 commented on September 24, 2024

14rss

Yea im fiddling with it rn and im going somewhere :D

from engine-sim.

14rss avatar 14rss commented on September 24, 2024

14rss

Yea im fiddling with it rn and im going somewhere :D

Oooh, awesome! 。^‿^。
In regards to performance, keep in mind that you can change the simulation frequency by holding N and moving the scroll wheel (lower, the faster).
I've heard that adding exhaust pipes can also help with performance...
but I'm not 100% sure since I haven't actually made an engine ´・ᴗ・`

from engine-sim.

Colrover546 avatar Colrover546 commented on September 24, 2024

14rss

Yea im fiddling with it rn and im going somewhere :D

Oooh, awesome! 。^‿^。 In regards to performance, keep in mind that you can change the simulation frequency by holding N and moving the scroll wheel (lower, the faster). I've heard that adding exhaust pipes can also help with performance... but I'm not 100% sure since I haven't actually made an engine ´・ᴗ・`

Yea so i managed to get 2 engines that work OK but the sound is kinda bugged ima try that

from engine-sim.

14rss avatar 14rss commented on September 24, 2024

14rss

Yea im fiddling with it rn and im going somewhere :D

Oooh, awesome! 。^‿^。 In regards to performance, keep in mind that you can change the simulation frequency by holding N and moving the scroll wheel (lower, the faster). I've heard that adding exhaust pipes can also help with performance... but I'm not 100% sure since I haven't actually made an engine ´・ᴗ・`

Yea so i managed to get 2 engines that work OK but the sound is kinda bugged ima try that

Yup, crackling audio is most likely caused by latency! Simulation frequency should help (✿╹◡╹)

from engine-sim.

Colrover546 avatar Colrover546 commented on September 24, 2024

Update: sounds are bugged! send help (i rev the engine and i hear it idling)

from engine-sim.

Colrover546 avatar Colrover546 commented on September 24, 2024

Update: sounds are bugged! send help (i rev the engine and i hear it idling)

Also im getting to crash by revving it LOL

from engine-sim.

14rss avatar 14rss commented on September 24, 2024

Update: sounds are bugged! send help (i rev the engine and i hear it idling)

Also im getting to crash by revving it LOL

What's your engine's specs? Have you tried adding exhaust pipes? (@_@) Hmmmmm...

from engine-sim.

Colrover546 avatar Colrover546 commented on September 24, 2024

How do i add exhaust pipes???

Update: sounds are bugged! send help (i rev the engine and i hear it idling)

Also im getting to crash by revving it LOL

What's your engine's specs? Have you tried adding exhaust pipes? (@_@) Hmmmmm...

How do i add exhaust pipes?

from engine-sim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.