![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
4:32pm - Well I'm back at the McDoneru's to do more work. Amazing that it's been five days since I worked last! I've been in a bit of a funk and buried myself in video games, but it didn't seem like that long until I looked at my previous work post.
Anyways the first thing I need to do today is make some directional sprites for my characters.
4:50pm - Alright, sprites made and imported and sliced and ready. Now to animate this thing.
5:34pm - Alright, I've got the animations set up, now I need to script them to animate when the velocity is above a certain point.
5:51pm - Hokay, animation animated. What next?
I guess I'd like to put the events in, and some NPCs. Should I do scene transition events first or NPC dialogue events?
I think I'll start with NPC dialogue events.
I think that the way it should work is, depending on what direction the player is facing, a raytrace, or maybe some sort of boxscan goes out and finds out what's in front of the player. I'll have to get the facing of the player somehow. Anyways the sensor goes out to see what's in front of the player and if it has a game event. I guess I'll need to make a GameEvent component for it to check for. Then when I get to the Trigger events I'll have them do something similar but different, so that the player doesn't accidentally trigger GameEvents on invisible things.
6:50pm - Alright I've made a GameEvent component. It has a public method to trigger the event method attached to it. So, it'll activate a remote function in another class, and it could be any function in any class. I'm going to re-work the dialogue engine to use this event system, then make the system to trigger the event on the NPC I already made. Then, hopefully, I'll be able to make it so that the player can talk to the NPC!
Lots of steps there. I'm not ready to take them now, either. I think it's time to pack up and go home. But, I made good progress today and I know what to do next!
Anyways the first thing I need to do today is make some directional sprites for my characters.
4:50pm - Alright, sprites made and imported and sliced and ready. Now to animate this thing.
5:34pm - Alright, I've got the animations set up, now I need to script them to animate when the velocity is above a certain point.
5:51pm - Hokay, animation animated. What next?
I guess I'd like to put the events in, and some NPCs. Should I do scene transition events first or NPC dialogue events?
I think I'll start with NPC dialogue events.
I think that the way it should work is, depending on what direction the player is facing, a raytrace, or maybe some sort of boxscan goes out and finds out what's in front of the player. I'll have to get the facing of the player somehow. Anyways the sensor goes out to see what's in front of the player and if it has a game event. I guess I'll need to make a GameEvent component for it to check for. Then when I get to the Trigger events I'll have them do something similar but different, so that the player doesn't accidentally trigger GameEvents on invisible things.
6:50pm - Alright I've made a GameEvent component. It has a public method to trigger the event method attached to it. So, it'll activate a remote function in another class, and it could be any function in any class. I'm going to re-work the dialogue engine to use this event system, then make the system to trigger the event on the NPC I already made. Then, hopefully, I'll be able to make it so that the player can talk to the NPC!
Lots of steps there. I'm not ready to take them now, either. I think it's time to pack up and go home. But, I made good progress today and I know what to do next!