Devlog5: NPCs, Sprites and suspicion (Weeks 4-5 of Post jam development)
Ghost Circuit: Chigaco Loop » Devlog
Now its time to give NPCs some attention as they are going to be as big part of the point in the game going forward. I want them to be able to talk, I wantit to be easy to create different types and I want them to suspect you. So here is how I started to flesh them out. This is quite new area for me and I went through many tutorials and in the end I used Game Code Library -youtube channels tutorials to make basics, as videos were very clear and I felt that mechanics were easy to use in multible ways.
Making potraits for characters
- I have been using craftpix free townspeople asset for my character Sprites, as I like the amount of character they have. But I also love making my own characters and even though I'm not the best artist, I love making pixel art. I wanted potraits to underline the difference of characters and bring something bit more to dialogue, but I didn't want potraits to be too specific. My idea is that Player is detached hacker that at least first, sees other peole as just tools and has problem connecting with them (more on this with dialogue system) so I wanted them not to havee emoution on their potraits.
- If I wanted to create many potraits, I needed limited palette to make drawing quicker and ended up using black, blue and orange for shock colors and important details. I'm very happy about these look and how it makes the world have bit darker tone.
Differentiating upgrade requirements and differentiating NPCs.
- Using spritelibrary I can easily change NPC spritesheets using same animations if sprites have same names and same amount of sprites per animation.
- I also took item sprite and used its name as reference for my script so I can just change icon that the npc has over its head and script knows to change looted item etc. This is easier for me as I can visually see what each NPC has as I place them by hand to prefabs at the moment, maybe later I’ll have to reconsider as I’ll randomize npc spawns more.
- I also created couple spritesheets that I know I'm going to need. For my first part I need antagonist that can be the main target for Demo build. I want the main goal to be that corpo doesn't travel by train on his own accord, but you need to manipulate him to come to you.
- I used smoking NPC from crasftpix as isnpiration, removed some braeathing and waving, because I want that this corpo to also feel bit robotic and have some difference in body language.
- So here, let me introduce mr. Smith. He smokes to your face ass he is firing you, parks on handicapped space and later when I get my dialogue sytem going, I want him to have annoying sound effect. I want him to be as hateable as I can, as he is the first face that the megacorporation has in the story.
Suspicion system
- I made a system where NPC you have stolen something from starts to grow suspicious and if you stay too long close to them, they add risk (as they report something wrong after leaving train)
- This uses quite simple bool variable suspicious and checks that if player is close and NPC is suspicious, it will activate suspicionMeter. I wanted this as bool that I can also check true if risk level is very high as NPCs would be on alert and it makes playing more intence.
- When Player is in suspicion range, NPC has sprite of "?" over them that has imagetype "filled" and usually fill amount is 0, but as Player is close, it adds to fill amount and if player is further away, meter fill amount goes down at slow pace.
- If it meter ids filled all the way, it changes sprite to "!" and goes red and with basic NPCs adds to risklevel. Like before, not too much, but enough that two of these raise the risklevel effect upwards. I also use the same code for scanner enemies and later I can add different actions depending on the NPC for their "alerted" stage
Notes and ideas for later development
- Create different alerted states for NPCs and enemies
Goal for next week(s):
- Adding dialogue system and barks (NPCs talking to each other)
Files
build_v0.52.zip 38 MB
18 days ago
Get Ghost Circuit: Chigaco Loop
Ghost Circuit: Chigaco Loop
The L-train of Neo Chicago is your sanctuary—and your weapon.
More posts
- Devlog4: Week 3 of post jam develoment10 days ago
- Devlog3: Week 2 of post jam develoment11 days ago
- Devlog2: Week 1 of post jam develoment16 days ago
- DevLog1: Starting to turn broken gamejam project to something more18 days ago
Leave a comment
Log in with itch.io to leave a comment.