Some questions aboug bgt
Hi, i have some questions about bgt. I want to make a game with events and pusles, but
i don't have sure if what i'm doing is correctly. I'm searching a
solution to do it withouth using hundreds and thousands of ifs.
I ve made a class called event, that are within a array on the map class, and when somethin happen, i call a function
at the map called check events, that call another function called check for each event at the array with a
user data string has parameter for both functions.
About using itens on another like a key on the door or a missing lever at somewhere, when it happens i call the check events function with on_use has parameter using both handled objects and
target object has parameters separated by commas. And to define what will happen are define at a string that the things
are separated by slash and the parameters of then are separated by commas too. Anyone knows a another way about doing it?
_______________________________________________ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector