Keyboard + Mouse support back in + Fixes
Finally buckled down and added back in keyboard and mouse support to Carpoon. Might not be the ideal way to play but then again not everybody has a Wavebird in Smash. You will get no animation frame jitter though with the keyboard though! The first person who had donated for the game had asked about it and it made sense to have for a wider player base.
At first, I was reluctant because of how hard it was to get 4-controllers setup and working but it was easier than I thought with a "stable" base to work off of. Sometimes getting started is the hardest part - after that it's a matter of breaking down the problem into solvable parts.
There's no reticle anymore, and as a result I found the mouse wandering offscreen to my other monitor. I found display_mouse_set as the solution to move the mouse back into the game screen with something like this:
if (display_mouse_get_x() > display_get_width() ){
window_set_cursor(cr_none);
display_mouse_set( display_get_width() , display_mouse_get_y() );
}
There was a also weird bug where the harpoon was shooting out again after dragging in a car without a click, but mouse_check_button_pressed and mouse_check_button_released fixed that. Slightly more complicated because a longer mouse click results in the harpoon going further.
Other than that, some fixes from the last feedback:
- SOMEWHAT FIXED - Lowered shard volume and chose a random sound playback priority in last 20 channels out of 100. SFX may have to be tweaked if it is to sound less distorted moreso : Limit volume of destroyed statue shards /' slight bit of distortion.
- FIXED including analog stick clicks. No Xbox button though!:I say "Press ANY button to start" but actually any button doesn't work - oops! Probably was for a keyboard when I wrote that.
- Fixed some bugs where instances where around anymore. I created a script to check more easily: /// Check that an instance exists and doesn't equal noone
var oObjToCheck = argument0; // consider doing an "undefined" check if (instance_exists(oObjToCheck )){ if (oObjToCheck != noone) { return true; } } return false; - Made initial screen code buttons clickable by mouse again. Turned out I only have to move it above an if statement and copy a line over to make the action equal true. Bonus: Got to add a little scale increase when the mouse hovers over the button, although not quite the bouncy effect I want yet.
There's still a lot of feedback to work on next. If you try Carpoon, let me know what you think!
Files
Get Carpoon [Early Access]
Carpoon [Early Access]
Twin Stick Tow Truck Harpoon-Recycling Action
Status | In development |
Author | Tom Arnold |
Genre | Action |
Tags | 2D, Arcade, carpoon, harpoon, harpooning, tombo, towing, tow-truck, Twin Stick Shooter |
Languages | English |
More posts
- New Carpoon Demo!20 days ago
- Keeping an eye on what’s important to players or "Hats"65 days ago
- Adding Clear Objectives - Another Milestone DownJan 21, 2024
- Fixing Carpoon's Shaky CameraNov 05, 2023
- The Road to Carpoon's First Tournament EverAug 05, 2023
- Autoworks Co-op Progress & Not Making Everything from Scratch - Carpoon Devlog U...Oct 13, 2022
- Devlog Update: Things I should have avoided + Autoworks!Feb 13, 2022
- The Big Surfing Update!Nov 30, 2021
- July Devlog Update after Steam Next FestJul 23, 2021
- Carpoon Development Update - Laser, New Level Progress, Discord & MoreMay 19, 2021
Leave a comment
Log in with itch.io to leave a comment.