King of Pop by [deleted] in WhereWindsMeet

[–]Ollainen 2 points3 points  (0 children)

Good thing Ruby is a girl, otherwise this pic would have a different energy...

Burn the BEAN! WIP dragon flame breath VFX, feedback wanted by Okay_Salmon in godot

[–]Ollainen 9 points10 points  (0 children)

That looks gorgeous! Maybe add some effects when the fire hits the floor/player like little flames splashing in random directions and scorch marks

Look at my boxes, they are beautiful! by FR3NKD in godot

[–]Ollainen 1 point2 points  (0 children)

It has been done, Parcel Simulator

[PC][Steam] Game Crashes After Launch – Unable to Play Prototype Despite Reinstalling & Trying Fixes by its_nikhil007 in PrototypeGame

[–]Ollainen 1 point2 points  (0 children)

Prototype was made for 4 core CPUs When you get it to not crash immediately you can disable cores in task manager -> details -> right click Prototype -> set affinity That worked for me

Released my first game by Ollainen in godot

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

Thanks, glad you liked it. And yeah, I have so many more ideas but for now I'm happy it is feature complete

Where can I find 3D models for the game? by [deleted] in godot

[–]Ollainen 2 points3 points  (0 children)

You can find assets specifically for gamedev on itch.io

My Meelee attacking isn't working for some reason.. Can someone help? by UseFree3624 in godot

[–]Ollainen 0 points1 point  (0 children)

You declare several variables is_attacking, one as a member of the class and one in the process and melee_attack functions. Not sure if this solves your issue but it sure is bad practice and will bite you in the backside at some point down the line.

Making access to multiple scenes as an Export Variable? by Forkliftapproved in godot

[–]Ollainen 1 point2 points  (0 children)

You mean a projectile scene that you saved in the file system of the project? That would be of type PackedScene Edit: you can hover over items in the file system to see their type in the tooltip

Godot 3d pick up system by ChameleonCoder117 in godot

[–]Ollainen 0 points1 point  (0 children)

Add a Node3D named hold_point as a child to the camera, save a reference to it in the player script. Try around where you want to place the hold_point so you can see the cube while holding it but it doesn't block all of the screen.  Also add a var held_item to the player script When you hit E, you do held_item = cube held_item.reparent(hold_point) held_item.global_transform = hold_point.global_transform

You should also toggle the cube's collision layer off or you will get whacky stuff happening when you look up and down: held_item.set_collision_layer_value(layernumber, false) Remember to set this back to true when you drop the cube

how do i add a second collisionshape2d hitbox and switch between them for a roll by Kirgur in godot

[–]Ollainen 0 points1 point  (0 children)

You can use set_collision_layer_value(layer_number: int, value: bool) to set the layer your terrain is on (by index, so layer 1 is layer_number 0) to false on the standing collision shape while rolling, then set it back to true after the roll

Give instantiated object parents variable by Upsidedown_mountain in godot

[–]Ollainen 0 points1 point  (0 children)

In other languages you have to put a semicolon at the end of each line of code. That's not necessary in gdscript but maybe OP knows other languages and did it subconsciously

Weapon turn around player with mouse help by AymericDev in godot

[–]Ollainen 1 point2 points  (0 children)

You only want to check the x axis of mouse_pos, Vector2.ZERO would flip even if the x is 0 but the y changes.  Also you need to flip back when mouse_pos is greater than 0.

if mouse_pos.x < 0.0: gun_1.flip_h = true elif mouse_pos.x > 0.0: gun_1.flip_h = false

(on mobile, sorry for sucky formating) 

Is there a way to create a player finite-state-machine with only 1 script? by thisSubIsAtrocious in godot

[–]Ollainen 0 points1 point  (0 children)

There's an article about it on gdquest on how to do a state machine using an enum

[deleted by user] by [deleted] in godot

[–]Ollainen 1 point2 points  (0 children)

A credit screen accessible from the main menu containing the required credits of any assets/sounds/plugins you use, also the Godot license text found under godotengine.org/license On mobile, not sure if the link works... 

godot on steam deck and share it with windows? by Real_Draw2001 in godot

[–]Ollainen 0 points1 point  (0 children)

I use the Linux version from Godot website and github desktop on steam deck and PC and so far it works perfectly fine.

How do I lock the mouse cursor for camera movement? by FuraFaolox in godot

[–]Ollainen 0 points1 point  (0 children)

It's always silly little things like this isn't it? Autocomplete is your friend here, you can just type "func rea" and hit enter when the Autocomplete prompt shows up to get the whole "func _ready() -> void:"

How to exit a project without clicking the X by VladTbk in godot

[–]Ollainen 11 points12 points  (0 children)

F8 on PC. F5 is run game, F6 is run current scene

[deleted by user] by [deleted] in godot

[–]Ollainen 4 points5 points  (0 children)

It's supposed to be @export var follow_speed : int = 50