Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
After you have installed Blitz3D v1.108c, you need to replace the directory
"\Blitz3D\Bin\" with the bin folder
inside the "mavless_bin.zip" file from the repository. Once you have replaced that,
copy all of the .decls and .dll files from
the repo into "\Blitz3D\userlibs\" and you should be ready to edit and compile the
source.
-----------------------------------------------------------------------------------
-----
- if you need to place items, triggers, additional doors or other things into the
room,
see the "FillRoom"-function the "MapSystem.bb"-file
-----------------------------------------------------------------------------------
-----
- Events are updated in the "UpdateEvents"-function. See the existing events to get
an idea
of how the events work.
- The events-type has the following fields which you can use when updating the
event:
- room = the room which the event has been assigned to
- the room-field can be used to gain access to the objects, doors and
triggers in the room. For instance, you could add a pivot to the room
and store its handle in the Objects[n]-field of the room type, and
access it
with event\room\objects[n]
- Eventstate#, Eventstate2#, Eventstate3# = Just three float variables which
can
be used as timers for example
- Sound% = a variable for storing a sound clip, to make it easier to free the
clip
when it is no longer needed
- SoundCHN%, SoundCHN2% = These can be used to track whether a sound clip is
playing
(using "ChannelPlaying"-function). They are also automatically paused when
the
inventory or the menu is opened.
- img% = a variable for storing an image, if one is needed in the event