Remember that object system I've been talking about? Well I haven't decided between objects and entities yet so I use both names in the code but that doesn't matter. Anyway, I finally made it work! This means that once I program in a type of entity/object, like an NPC, I can put that entity into any level, with it's own custom metadata, without coding, just using JSON. So far I have two entity types programmed: trigger, and tele. Trigger detects when the player is within a certain boundary defined in the JSON file, and then sends a signal to a specified object. When tele receives a signal, it changes the location of the player to a specified destination. So you can use this to make doors and all sorts of things. I am so excited about this, it took forever to get working! Also, my friend Jake made some sprites which aren't finished yet that I will be using in my next game with this engine, and I'm using them as placeholders in this. In this video I made a Portal type demo with an orange and blue portal that teleport to each other. So this game is almost ready to be like just walking around a bunch of levels and going through doors and stuff, that kind of low level interaction. I just need animation, level load objects, and maybe a scrolling mode. I am very excited!
Comments
Post a Comment