Re: Heat Engine, a game engine for BGT games
The character class is one the most changing classes in the engine for each version and that's the good actor to use for playable characters and enemies. This is basically an actor which can be controled and have built in functions to make it move, with sounds for footsteps in all directions, etc.
Two solutions to make your character : if it is only exactly the character behaviour that you're looking for, you can use it in mapfiles with no modification and just configure the sounds paths and values. If you want to add functionalities like health, jumping and all, you should create a new actor (class) inheriting from the Character actor and use this one. You should never modify the default actors because they may be used by other parts of the engine, and so modifying their behaviour could destroy the whole engine.
To make ambiences, there's an AmbientSound actor. Its configuration in a file is very simple, you just have to set the sound path and the volume.
For a sidescroller I wouldn't use the standard FPControler wich is made for first person controls. But if you make something in first person, making a modifyed version of the FPControler is very simple : the first lines define some constants linked with keyboard keys. You just have to copy/paste the class, change the constructor, parameters and class name, and modify them. (don't forget to rebuild the engine after adding a new actor or controler!)
_______________________________________________ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector