Tumgik
#okay i'm done tagging stuff i'll find this later and add if i can manage it lol
luckiusdev · 2 years
Text
Making an RTS Game - Part 2
Hello again!
I'm here again to share some progress about my untitled cute little real-time strategy game. Before starting, if you want more info on that I redirect you to my first post and the itch.io page for the game :
1. Code Refactoring
First order of business, I did some code refactoring. "So soon?" you might ask, well yes because it was MESSY. I deleted and cleaned up a few scripts, and you know I'm thinking "whatever, the game was far from playable anyway", because it is.
There's no real gameplay yet, just snippets of gameplay elements. And that's okay for now. I know what I've already done works.
As seen in the previous post, there is a functional system of building on a grid. I also have a unit selection system but I'll talk about that later. I have removed all unnecessary code and the vast majority of the interface.
2. New Cursor
Nothing major, but I started coding something to add custom mouse cursors using the Cursor class from Unity. It's extremely barebones and I'll come back to it later to make it more flexible but it does the job for now. I took inspiration from CodeMonkey's Mouse Cursor System PRO asset and from there I'm going to build my own script to come up with a flexible system that I can use later elsewhere, because unfortunately I can't afford the $40 price tag.
Tumblr media
3. Character Customization
One of the gameplay mechanics that I like the most in this project is the possibility to customize your character or leader as I call him. For the moment, in theory, most of the customization is purely cosmetic except for the character's body, which also corresponds to the character's class (among 4 main classes that are shared with the other units: barbarian, knight, mage and ranger). This choice will have some importance because choosing a class will grant buffs to some units, debuffs to others and will change the attacks and abilities of your leader, which will allow the player to choose his own play style or encourage replayability by encouraging to try all classes and creating unique heroes/leaders for each game. For now and until the initial release of the game, there will only be these 4 classes for two reasons:
It allows to lighten the implementation of everything around this mechanic.
The Kay Lousberg asset pack that I use (Dungeon Pack) only had these 4 characters.
youtube
With that said, I can present you the temporary menu to test this famous character customization.
For the moment, it has no effect on the gameplay (obviously, nothing is implemented yet) and the character is not saved, but I'm quite satisfied with the result. I still need to add the possibility to remove the hat and the hair, as well as to manage some edge cases like the fact that the knight's head model is directly provided with hair unlike the other heads.
4. World Generation Overhaul
The biggest thing I did (while writing this devlog post) is overhauling the terrain generation. For that, I followed IndividualKex's "how to make a procedural grid world in under 2 minutes in unity" series.
(Side note, he's a very fun guy, check out his channel)
The generation work, I had a little trouble with the generation of the edges of the island for a moment but that's fixed now. The system also generates trees and I also plan to generate the rest of the resources afterwards, of course.
5. Conclusion
The next step will be to re-import everything on a new Unity project to be able to use the Universal Render Pipeline (I want to die) to make the game more beautiful afterwards. As I didn't implement a lot of stuff, I don't find it extremely problematic even if obviously Unity projects take a lot of space (I really don't understand why). I think I could have used Godot, since it is my engine of choice for my projects. However, I'm going to continue to code this game in Unity because I find that it's more suited to my needs for this project, and one of the goals is to show what I can do to a school that I want to join (and that by extension "focuses" on, or at least uses the Unity game engine as a main tool for learning). I'll make a new devlog in a few days to show you the progress of the project, porting to a URP project shouldn't take too long.
This is all I have for today folks, thank you for passing by…
~ Luckius 🌼👑
0 notes
xxisxxisxxis · 4 years
Text
Gateway Drug | Part Forty-Two
Table of Content or Part Forty-One
Read here on Wattpad
Words: 3.6k
Warning(s): Explicit language, explicit sexual situations, miscarriage
Tag: @unknownoblivion @sinningsixx @edwardtriggerhandzz @lemmyjelly @haileynicoleseavey17 @cierrasixx19 @oskea93 @mgkobsessed @vamprlestat @sharon6713 @itsametaphordarling @miriampraez @allie-mcginn @rebeccaphillips14 @nicholeh7 @fandomshit6000 @lilmou5ie @tamedhearts @divaanya @kingbouji3 @evrsncnewyork @6ixx6ixx @ratedrkohardychick91 @floregrohlssard @oldschoolimagineblog @thanks2pete @abaldboi @swoopygorl @justjodeye @liith-ium @caos18blog @ytwahsog @shamlessobsessions @scarecrowmax @toadspleen @random-internet-user-4471 @solohqrry @loveofmyloif @sparxx27 @kaitieskidmore1 @xpoisonousrosesx @cruecifymesixx @ijustwanttokiss70srogertaylor @emmaelizabeth2014 @meetthesixxter @sixxsixxsexx @sublimeprincesswasteland @arianareirg @girlnight-terror @mcnibberachi @fancywasmyname1 @teller258316
LET ME KNOW IF YOU WANT TO BE TAGGED
Tumblr media
I had miscarried a week before the four month mark, and despite the large amount of stress I was under, I was told my body showed signs of preparing to discard the pregnancy, anyway, and it was estimated there hadn't been a heartbeat for almost a week prior.
I planned on telling Nikki before my stomach grew to an obvious size, but I managed to keep it under the radar and it just looked like I was gaining some weight.
Andy had taken me, in and out at consciousness, to the hospital after Nikki's blue color started to miraculously subside and he decided it was better to keep the freshly overdosed heroin junkie away from anyone who could notify authorities.
A D&C was performed, I was given hospital-issued pajama pants since I wasnt wearing any, told not to use tampons, insert anything into my vagina or have sex for two weeks, and I was sent on my way.
"I-I heard the nurse say something about a failed pregnancy." Andy tells me, hesitantly, as we head back to the apartment to see if Nikki's still there.
"They thought it might have been one, but I told them I wasn't pregnant and they decided it was a serious spell of period cramping." I reply.
"You don't fucking pass out from a period cramp, Vivian."
"I passed out because I was in shock from Nikki being blue." I argue.
"That was a lot of blood to be--"
"Andy, until you have a uterus that sheds once a month, you don't get to make the rules as to what's a normal amount of period blood and what isn't." I cut him short and he sighs out.
"Got it, Viv."
When we get back to the apartment, it's empty.
The Rat is gone, and Nikki's gone.
"Do you think he's back at the hotel?" Andy asks me and I pray in my mind he is.
"Maybe he is." I tell him.
I have to give it to Andy, he managed to get Nikki breathing again while simultaneously trying to get me to regain consciousness...all while on heroin himself.
Vince killed his drummer, and he still saved Vince's bassist.
I get back to the hotel, Doc interrogating the front desk, demanding to know where I went and if she's seen me recently.
"Doc, chill out." I tell him, rubbing my eyes and he sees me and relief washes over him.
"Where the fuck have you been?!" He shouts at me. "I was about to call the cops, Vivian!"
"I know, I'm sorry, I just had to go to the doctor for lady issues." I tell him and he looks at me like I've lost my mind, looks at Andy and throws his hands up.
"All you kids are fucking impossible, holy shit!" He calls out, stepping to the elevator.
I turn to Andy, smiling tiredly up at him.
"Thank you for helping Nikki." I tell him.
"I'd do it ten times over, Viv." He replies.
I try my hardest to memorize him, snapping a mental picture of his soft smile, his liner smudged eyes, his clothes...preparing for this being the last time I ever see him, because at the rate he's going, he'll be dead in a couple years.
Tears blur my vision, but never break over my lashes, and I hug him to me.
"Take care of yourself." I tell him calmly. "Please."
"Oh, I'll be fine." He replies, squeezing me back.
When we pull away, his hands hold at either side of my face.
"Keep your head clear." He tells me one last time and I nod.
To this day I still hear him in my mind when I'm overwhelmed.
"Keep your head clear."
I get up to the room to pack, thinking of what the hell to say to Nikki.
He's getting out of the shower when I get in, bruises covering him from where he was hit with the bat, and his chest is bruised from CPR.
I decide not to say anything, ignoring him when he tries to talk to me.
"Baby." He states, realizing I'm purposely ignoring him.
I just fold my dirty clothes up and put them in my bag.
"Vivian." He tries again. "I really don't need you to be pissed at me about this, Viv."
Again, I don't say a word.
I try to head to the bathroom before he's grabbing at my arm, stopping me.
"I over did it, I know I did. I'm sorry, alright? Just please talk to me."
"I'm going back home." I tell him and he looks shocked before his face suddenly scrunches up.
"What?"
"I am going back to L.A." I repeat.
"Why?"
"Because I'm not hanging around to see you pick up where you left off before you nearly died, Nikki, and I know that the second we get to the next city, you'll be pinpointing a dealer as soon as possible." I state.
"I--Viv, I made a mistake, I understand that I made a bad call." He tries to reason with me before snatching my shirt out of my hand before I can pack it. "Will you listen to me?"
"Why? You never listen to me." I hiss at him and his eyes glass over in tears.
Instead of yelling at me, or arguing, he puts my shirt in my bag for me, and helps me pack the rest of my stuff before he gets dressed and gets his own stuff together. "I just want to go home." I finally tell him, feeling a little guilty for being mean to him after what happened to him.
"I know." He says lowly, sitting next to me on the bed. "I just don't want you to."
"I'll only be a phone call away, and the tour will be over in less than a month and you'll be back in no time." I point out.
"Yeah, I guess." He replies.
"Just, please, be careful." I plead, grabbing his hand.
He looks at me and nods a little.
"I will, Viv. I promise." He assures me.
It was bullshit. Two days after that, he was hanging out with Tommy, Rodger Taylor and Robin Zander, at dinner and when lines of power rails of coke were offered to them, Nikki snorted all of it on his own.
But I wasn't worried about Nikki. I prayed for him before I left London and that was that.
I bombard Steven when I see him by Duff's car in the parking lot, wrapping my arms around him tightly, nearly crying tears of joy.
"Have you gotten taller?" I tease, ruffling his fluffy blonde hair.
"Nah, maybe you're getting shorter." He replies as I put my bag in the trunk.
"Short-stop." I shoot at him.
"Firecrotch." He replies without missing a beat and I can't help but laugh.
"You've been hanging around Izzy too much." I point out, getting into the car.
When we get to their apartment, I set my bag on floor by the door and look around at the shithole it is.
"The guys are out, I'm about to go see if I can find 'em if you wanna come." Stevie offers.
I shake my head a little, already knowing how I want to spend my night.
"No, thank you, just wanna shower and get settled." I explain, and he nods.
"You're gonna have to air dry because we don't have towels, and we don't have hot water." He adds. "Also, pee in the shower if you gotta pee because we don't have a toilet anymore."
"What about if I need to do the other?" I ask him and he rubs his lips together.
"We usually just do that in our friend's apartment down the hall. Apartment 205." He informs me and I raise my brows but don't say a word.
"Got it." I reply.
"Alright, well, I'm out." He tells me.
"Okay, see you later tonight." I reply, shutting the door behind him.
I turn to face the mess that is their apartment and I take a breath and get started.
I'm just getting out of the shower by the time I hear the front door open and close, and I hold my arms over my chest and peak my head out of the bathroom, seeing Duff's lanky frame in the kitchen, the only light is from the small lamp on the floor in the living room.
"Hey." I tell him, and he turns around, brows raised.
"Oh, shit, hey." He chuckles off his startledness. "Are you done with your shower?" He asks and I nod.
He's stepping to me, his hand holding out a cheap towel.
"Steven said you were crashing here tonight so I went and got some things...I knew you'd appreciate a towel." He tells me and I chuckle, grateful for his consideration as I step back into the bathroom to wrap up in the towel and step back out to my bag to get pajamas. "I got some shitty sheets for that mattress." He motions to the one bedroom. "And a blanket because we don't have any."
"How do you guys stay warm then?" I ask and he shrugs.
"We usually go home with girls who have blankets." He chuckles and I shake my head a little. "At least they do. Anymore I come back and crash here." He adds. "Also, thank you for cleaning." He notices the much more organized and clean apartment I'd been working on ever since Steven left three hours ago. "Which brings me to my last purchase I know you would need." He puts a can of disinfectant spray on the counter next to the blanket and sheets and I can't hold back to laugh that comes when I see it. "I suggest using the whole can."
"I'm planning on it don't worry." I chuckle as he takes can of spray and the sheets into the bedroom.
I'm assuming to spray down the mattress and put the sheets on.
I dry off and towel dry my hair before slipping on a pair of pajama shorts and a Crüe band tshirt.
Once I'm done in the bathroom, I see Duff sitting on the couch with his bass and I sit beside him as he goofs off with it for a couple minutes before I point to a note his finger is on.
"What's that?" I ask him, curiously.
"J." He tells me and I furrow my brows a little.
"There's a 'J' note on bass?" I ask and he nods, his expression serious for a moment before he cracks into a smile. "Duff, I'm serious." I push at his shoulder lightly and he chuckles.
"I don't know what note it is." He tells me.
"Bullcrap." I state.
"I'm being serious. I don't know a single name of any of the notes."
"You play by ear?!"
"Yep."
"Why?!"
"I just wanted to play bass. I didn't want to learn it step by step. It's obviously working out for me the way I do it now, so." He shrugs. "Is that not what Nikki does?"
"Yeah...but he's Nikki I don't expect him to know all of it. He sticks to the same template of decently easy notes in every song anyway because he's too fucked up to remember anything elaborate." I tell him and he chokes a little, looking at me.
"That's mean." He points at me.
I think about it for a second and sigh out.
"Yeah, you're right. I'm just tired and moody I guess." I mumble, running a hand through my hair.
"Do you need to go to bed?" He asks me.
"Probably." I admit, seeing it's 1:17am on their crooked wall clock, standing up and stretching.
I look towards the bedroom, then to Duff and back to the bedroom before sitting back down.
"What is it?" He asks me.
"I'll just chill here with you for a few more minutes." I tell him.
"Okay."
I lay down, my legs curling to my chest as the top of my head brushes against the side of his thigh, my eyes closing.
I'm probably asleep for another hour before I'm being woken up.
"Viv." Duff slowly shakes me awake and I groan a little, blinking up at him.
"C'mon, I'm helping you to bed." He tells me and I nod sleepily, taking his hands as he helps me up.
I'm half asleep when I fall to the matress on the floor and he chuckles at me grabbing the blanket to cover me up.
"You good?" He asks me after covering me up and I nod. "Okay, I'm crashing on the couch if you need anything."
"Sleep in here." I tell him, rubbing the sleep from my eyes in an attempt to wake myself up a little.
It's obvious he's thinking really hard about the invitation.
"Please?" I ask. "I don't like sleeping alone."
He thinks about it for a moment longer before getting his boots off, laying down beside me as far away as possible, not even taking his jacket off.
"Goodnight, Viv." He says.
"Goodnight." I barely mumble back.
This is where the very strict "friends" line that separated Duff and I began to slowly blur, and I despised myself for it.
I'm tired, but I can't bring myself to sleep, turning to face Duff.
I wonder if he's asleep.
"Duff?" I whisper.
"Hmm?" He replies.
He's laying on his back with an arm tucked behind his head, the other across his abdomen.
I think about how he kissed me, and how did it like he meant it, openly and honestly, and I freaked out over it.
And why?
Because of Nikki?
I remember the reminiscent feeling I got with Duff, when he made his drunk move, mirrored how I felt when Nikki first made his five years ago.
My eyes go back to the blonde beside me, the temptation to either scare him away or draw him in more is pulling at me strong.
"Take your jacket off." I say to him lowly and he looks at me in the dark of the room, the only sliver of light coming from the neon glowing lights of the strip.
"Viv." He says it like he knows what I'm thinking he's begging me not to because he couldn't possibly resist.
I sit up getting on my knees, pulling my tshirt over my head and discarding it.
"Shit." He mumbles to himself, sighing out as I crawl to him.
All it takes is my leg swinging over his hips to straddle him and he's caving.
He doesn't dare make a move to touch me, probably trying to decide if this is real or not, until I'm pressing my lips against his, moaning softly as my nipples gently rub against the fabric of his clothes.
My hands grab either side of his unzipped jacket, pulling him up to a sitting position, pushing the leather from him, he discards the jacket across the room and my hands run down his arms to his wrists to guide his hands to my hips as I slowly start rocking against his groin as my forehead rests against his, my breath catching in my throat as pleasure sparks through me.
"Fuck, Viv..." he breaths out, finger tips lightly pressing into the flesh of my hips.
Pull up on the bottom of his shirt, leaning into him when it's off, feeling his skin against mine as our lips meet once more before I'm running my tongue along his bottom lip to give him the hint.
His hands move to my ass, guiding the slow, needy movements of the junction of my thighs against the hardness in his pants.
Our tongues tangle together as he moves one of his hands up to run his thumb against my nipple.
I whimper, the ache in my core growing stronger as he gets comfortable and shifts from being shy and acting like he doesn't know what to do, to complete dominance, pushing me onto my back, my hair hanging off the foot of the bed.
He takes his pants off as I pull at my shorts, rubbing my thighs together, looking up at him as he gives me a happy smile, pressing his lips to my ankle, working his way up inch by inch, worshipping me with each caress, each kiss, each move.
He's running his tongue against my clit, eliciting another moan from me, my back arching as my hands fall into his blonde hair.
When he hits a certain spot, I gasp, my eyes nearly watering.
"Right there, please, Duff." I quietly whine out a beg.
He listens, continuing to move his tongue against me, causing me to resort to shallow breaths as pleasure builds.
One of his hands goes to my breast, rolling my nipple between his fingers, only encouraging me to grind into his face with his slow, savoring, pace.
I'm coming before realizing it, my toes curling, his name catching in my throat as I arch my back.
He looks like he's about to go back for seconds but I'm sitting up and pulling his lips to mine before taking my hand and wrapping it around his prick.
The thought of it inside of me sends me into overdrive and he groans out as I run my thumb over his tip, my thigh hooking around him as my legs spread, wanting him inside of me.
I fall back on the matress taking him with me as our lips stay locked, and both of his hands are on either side of my head as we break our kiss.
"Are you sure about this?" He asks me. "I mean really sure. I don't want to hurt you, Viv, I--"
I cut him short, giving him reassuring kiss before looking up at him again.
He nods, as if convincing himself to disrespect Nikki and our marriage as he jerks himself off a couple of times before placing his head at my entrance.
He slowly pushes himself in, and by the time he's in as far as my body has room for him to be in, he's grasping the blanket we're on, under his hands, obviously trying to keep his control.
"Are you okay?" He asks me, giving me time to adjust to him.
I don't answer, my hands pushing at his sides to get him to pullout of me, and he thinks I want him off of me, nearly moving completely out of me before I'm wrapping my legs around him, causing him to push back into me.
The feeling forces a loud, wanton, nearly pornish sound from me and he realizes I want him to keep going.
He smiles to me, kissing me again while pulling out and thrusting back into me, gently.
"Duff," I start, breathing out.
"Y-Yeah?" He asks, stopping suddenly.
"I'm not gonna break." I tell him with a shy smile as a subtle hint to screw me into the mattress.
He's chuckling a little, loosening up, before thrusting into me a little faster, rougher, and harder.
"Fuck, Duff!" I can't control myself, my nails screaming against the skin of his back as his length moves inside of me addictively.
He repeatedly hits against my tender cervix, and the thought of him finishing inside of me is fucking crazy but nearly primal.
"You feel so fucking good." He tells me, his cigarettes laced breath adding to the comfort of him pulling pressing his body against mine, taking my lower lip between his teeth.
My fingers curl into his blonde hair, my nipples aggressively move against him with his desperate pace.
"I'm gonna come." I tell him, my eyes closing, my lips slightly opened as tremors course through me.
I cry out so loudly he has to put his hand over my mouth incase any of the guys are home.
Tears roll down my face as he picks up the pace, chasing after his high with my legs locked around him.
"I love you." He tells me, his lips brushing against mine.
"I love you, too." I say back, my hand going between my legs to play with my clit to try have another hit before he finishes.
His hand is moving mine out of the way and rubbing at me far better than I can in my love-high state.
More of my juices flood onto him as my brain fills with more endorphins, my eyes heavy with a floating high.
"I'm about to come." He tells me.
"Come in me." I tell him, hazily, not thinking clearly.
"Viv, I--"
"Please, I wanna feel it, Duff. I wanna feel you." I beg, arching into him, pulling his hips into mine with my thighs.
He doesn't argue, cursing out as streams of his cum pump into me.
He doesn't get off of me until he's finished, the both of us laying in silence as nausea forces it's way through me.
I'm sitting up, throwing up, my body sweating and my face soaked with tears.
I realize I'm throwing up on the living room's stained carpet as Duff startles awake from where he fell asleep beside me on the couch.
Izzy's passed out on the floor on the other side of the coffee table and I look at the clock to see it's 5:00am.
"Viv, are you alright?" Duff asks me, but all I hear in the sound of his voice is the terrifying idea that I just dreamt up an entire fantasy about him that seems so unbelievably realistic, that if he weren't still fully dressed, jacket and boots included, I would swear it actually happened.
My heart sinks to my stomach.
I need Nikki.
It was one hell of a foreshadow.
79 notes · View notes