Freescape Engine & DRACI Engine & MADS Engine – Week 9

Freescape Engine

Few games in freescape engine have non interactive demos that auto play actions/movement, so the issue with my PR was that the the demo shouldn’t allow any input while my method does allow the user to interact in demo.

So my initial thought was that event.customType was being given value of 0xde00 when demo input was being generated and it was later checked while polling event, and if it had that value, it would continue and not allow user inputs to be processed.
But for some reason the statement else if (event.customType != 0xde00) is not being triggered so there is something else going on that I am unable to figure out hence I have halted my progress for this engine.

DRACI Engine

Draci Engine was another simple engine that did not need much effort and was done in one day

Here is the PR.

MADS Engine

Something unique for mads is that it stores the keys in stack then processes them somewhere else so I had to replicate that for custom actions.

Another issue was that the keymap has an action to restart animation in main menu and it uses the “s” key, as there is a place in the game where user input is being taken so I had divide the keymap and turn it off when main menu is being shown, this took some time to figure out as I couldn’t find the best place to turn of the main menu keymap.

Here is the PR.


Leave a Reply

Your email address will not be published. Required fields are marked *