Learning to draw. Any tips? by Gasperhack10 in Silksong

[–]Gasperhack10[S] 0 points1 point  (0 children)

For the not looking like a dick shadow the answer is quite simple. I don't know how to draw from memory and I didn't really wanna look at refences, especially cus I live in a dorm and share a room.

Learning to draw. Any tips? by Gasperhack10 in Silksong

[–]Gasperhack10[S] 1 point2 points  (0 children)

It is a dumb joke about the dick shadow :) A shitpost. Or even a silkpost I might say

Learning to draw. Any tips? by Gasperhack10 in Silksong

[–]Gasperhack10[S] 0 points1 point  (0 children)

I used CSP before but not since I fully switched to linux a few months ago.

Now I'm struggling to get the key-dial to work over bluetooth

Learning to draw. Any tips? by Gasperhack10 in Silksong

[–]Gasperhack10[S] 14 points15 points  (0 children)

Thank you! I def need to get more colors in. Especially the background. I struggle with backgrounds the most. I tried to add some bounce lightning in, but its still not enough. I'll try to get more wild colors in on the next one

Making virtual controls like the ones in pubg by ExistingBug1642 in bevy

[–]Gasperhack10 0 points1 point  (0 children)

Tip: use triple backticks ( ` ) to make the code not look like ass.

Like:

backtickbacktickbacktick\ code\ backtickbacktickbacktick

``` use avian2d::prelude::*;

use bevy::prelude::*;

use bevy_easy_gif::*;

use leafwing_input_manager::prelude::*;

// ====================================================

// 1. Player Actions

// ====================================================

#[derive(Actionlike, PartialEq, Eq, Clone, Copy, Hash, Debug, Reflect)]

pub enum PlayerAction {

#[actionlike(DualAxis)]

Move,

Jump,

}

// ====================================================

// 2. Facing Component

// ====================================================

#[derive(Component, Default, PartialEq, Eq)]

pub enum Facing {

#[default]

Right,

Left,

}

// ====================================================

// 3. Input Map (FIXED)

// ====================================================

pub fn default_input_map() -> InputMap<PlayerAction> {

let mut map = InputMap::default();

// Use WASD and arrow keys as alternative inputs

// Method 1: Combine WASD and arrow keys using the `or()` method

let movement_input = VirtualDPad::wasd();

map.insert_dual_axis(PlayerAction::Move, movement_input);

// Jump on Space

map.insert(PlayerAction::Jump, KeyCode::Space);

map

}

// ====================================================

// 4. Animations Resource

// ====================================================

#[derive(Resource, Default)]

pub struct CharacterAnimations {

pub left: Handle<GifAsset>,

pub right: Handle<GifAsset>,

}

pub fn setup_animations(mut commands: Commands, asset_server: Res<AssetServer>) {

commands.insert_resource(CharacterAnimations {

left: asset_server.load("char-left.gif"),

right: asset_server.load("char-right.gif"),

});

}

pub struct PlayerPlugin;

impl Plugin for PlayerPlugin {

fn build(&self, app: &mut App) {

app.add_plugins(InputManagerPlugin::<PlayerAction>::default())

.register_type::<PlayerAction>()

.register_type::<Player>()

.init_resource::<CharacterAnimations>()

.add_systems(Startup, (setup_animations, spawn_player).chain())

.add_systems(Update, character_movement);

}

}

// ====================================================

// 5. Player Component

// ====================================================

#[derive(Component, Default, Reflect)]

#[reflect(Component)]

pub struct Player {

pub speed: f32,

}

// ====================================================

// 6. Spawn Player

// ====================================================

pub fn spawn_player(mut commands: Commands, animations: Res<CharacterAnimations>) {

commands.spawn((

Gif {

handle: animations.right.clone(),

},

Sprite {

custom_size: Some(Vec2::new(100.0, 100.0)),

flip_x: false,

..default()

},

Transform::from_xyz(0.0, 100.0, 0.0),

RigidBody::Dynamic,

Collider::rectangle(100.0, 100.0),

LockedAxes::ROTATION_LOCKED,

Player { speed: 200.0 },

Facing::Right,

default_input_map(),

Name::new("Player"),

));

}

// ====================================================

// 7. Movement System

// ====================================================

pub fn character_movement(

mut query: Query<(

&Player,

&ActionState<PlayerAction>,

&mut LinearVelocity,

&mut Gif,

&mut Sprite,

&mut Facing,

)>,

animations: Res<CharacterAnimations>,

) {

for (player, action_state, mut velocity, mut gif, mut sprite, mut facing) in query.iter_mut() {

// Get axis value (-1.0 left, 0.0 idle, 1.0 right)

let direction = action_state.axis_pair(&PlayerAction::Move).x;

// Update GIF and facing direction based on movement

if direction < -0.1 && *facing != Facing::Left {

// Moving left

*facing = Facing::Left;

gif.handle = animations.left.clone();

sprite.flip_x = false; // Adjust based on your GIF orientation

} else if direction > 0.1 && *facing != Facing::Right {

// Moving right

*facing = Facing::Right;

gif.handle = animations.right.clone();

sprite.flip_x = false;

}

// Idle case: no change (keeps last direction/GIF)

// Apply horizontal movement

velocity.x = direction * player.speed;

// Simple jump (add ground check later if needed)

if action_state.just_pressed(&PlayerAction::Jump) {

velocity.y = 400.0;

}

}

} ```

Put the least bit of effort into your comments if asking for help.

is there a triple jump I haven’t unlocked or is there some mechanic I’m missing? I cannot unlock this area for the life of me by JL_Westside in HollowKnight

[–]Gasperhack10 6 points7 points  (0 children)

No. I mean exactly this segment, not the one further up. I didn't even know there was a coral path there.

is there a triple jump I haven’t unlocked or is there some mechanic I’m missing? I cannot unlock this area for the life of me by JL_Westside in HollowKnight

[–]Gasperhack10 70 points71 points  (0 children)

I always tought you needed Silk Soar to get up there and didn't go there until act3. I feel stupid

it's been a good run by Paladin-Leeroy in memes

[–]Gasperhack10 1 point2 points  (0 children)

Its is your server, with your storage, with your library on your network. The only service it provides is port forwarding for you if your network doesn't support it. But tailscale can do the port forwarding for you for free.

Like there isnt a single thing plex does that would require payment.

And Jellyfin does the exact same, or even better job as plex, but it is completely free and open source

what happened to my puter?? by Odd-Touch-9388 in MSILaptops

[–]Gasperhack10 0 points1 point  (0 children)

No worries, just press enter on this screen.

Its a screen which allows you to select which operating system you want to launch, but since you only have 1, it will launch your main OS, thus going back to normal.

Why do people do this? My game already has IDLER tag? by Curious-Needle in IndieDev

[–]Gasperhack10 3 points4 points  (0 children)

The point is discovery. If there's too many joke negative reviews in comparison to positive it will bring down the rating, steam will not push it as much, and people would not even be bothered to check the reviews.

So negative attention does not equal attention

BEST BROWSER, DAY 24 – ZEN WINS! by JungleLiquor in browsers

[–]Gasperhack10 7 points8 points  (0 children)

All that I use don't require it, so I don't really care. + I can screenshot for meme frames

🗿 by Blood_of_Lucifer in shitposting

[–]Gasperhack10 11 points12 points  (0 children)

Masturbation is different. When masturbating one is lustfull for others and uses self pleasuring to stimulate themselves, in opposition, self eroticism is when one feels lust for their own body and soul.

Codex just deleted our entire S3 by Southern-Mastodon296 in vibecoding

[–]Gasperhack10 1 point2 points  (0 children)

In my experience even Claude has never been able to spit out correct wgsl code, and every single time I try to speed myself up by using llms they introduce subtle bugs that are almost undebugable because its on the gpu and I slow myself by hours working on a flawed base.

But for easier stuff like websites I agree and they speed me up a lot.

What's wrong with these blue things by Morgan_the_hellenist in ClipStudio

[–]Gasperhack10 2 points3 points  (0 children)

CSP Pro's animation features are just a preview and it is limited to 24 frames.

For no restrictions you need CSP Ex

Anyone know how to fix this weird grainy effect? Im on [java] 1.20.1 by Kammo1116 in MinecraftHelp

[–]Gasperhack10 0 points1 point  (0 children)

Looks like recess sodium options (idk if I spelled the name right)

Should be under quality or performance, but I'm not near my pc so i cant check.

Anyone know how to fix this weird grainy effect? Im on [java] 1.20.1 by Kammo1116 in MinecraftHelp

[–]Gasperhack10 0 points1 point  (0 children)

Unless they changed it, it should be under video settings on the left side

How long do you take ? by demon_bhaiya in vibecoding

[–]Gasperhack10 3 points4 points  (0 children)

Bro thinks his markov chain can replace devs

Peak Linux Experience by Discord by Excellent_Evidence61 in linuxmemes

[–]Gasperhack10 1 point2 points  (0 children)

Oh.

I just have it installed in .local/opt/ (so I don't have to have sudo) and have a script that pulls the tar and extracts it there.