Commit Graph

36 Commits

Author SHA1 Message Date
Red3Tango d3a0de2cea added damage flash to asteroids
asteroid will flash before being destroyed.
2023-12-12 15:45:42 -07:00
Red3Tango 4571943fe1 added asteroid health and damage
each hit takes 1 hard-coded damage right now. no effects, and all size asteroids are the same score of 1.
2023-12-11 14:44:37 -07:00
Red3Tango 62a8db361a added large asteroids
large asteroids now spawn, none rotate based on resource yet. also would like to add a little bounce to the them.
2023-12-10 13:41:18 -07:00
Red3Tango 131d4b83d4 added ability to reset high score
hitting delete key while at main menu or game over screen will reset the high score and save to file.
2023-12-09 15:08:00 -07:00
Red3Tango 0cb7f2d206 added medium size asteroid
medium asteroids are spawning with random resource selection, next maybe large?
2023-12-08 16:56:47 -07:00
Red3Tango 047939be9a asteroid collision size from resource
asteroid collision shape size is determined and set by the size of the texture used in the resource. randomly selects asteroid type from array in game. asteroid collision shape is now local_to_scene to allow changing size, this may not be the "best practice" though?
2023-12-07 12:18:10 -07:00
Red3Tango 9cbe43ee52 saving high score moved to main
file access removed from the ui and put into main script. game emits game_over signal instead of the ui.
2023-12-06 13:01:22 -07:00
Red3Tango 7806cc9485 current score handled by game scene
game scene will handle score and emit signal for ui to update with. this commit does break highscore functionality until that is refactored into the main scene.
2023-12-05 16:14:24 -07:00
Red3Tango 998205a0ba working on todo items
asteroid spawning checks against class instead of methods. also updated error checking for asteroids. setup min/max speed of asteroid from resource.
2023-12-04 10:37:43 -07:00
Red3Tango ac847d2c69 asteroid spawns based on resource
currently only the small asteroid resource is available, and the array it is grabbed from is static.
2023-12-02 21:55:43 -07:00
Red3Tango 006ff3c48b initial asteroid resource
not implemented yet, need to research more and figure out how to properly use and instantiate something.
2023-12-02 10:36:33 -07:00
Red3Tango f345345a03 added todo addon
removed addons for todo and kanban from ignore list, also removed kanban from local project. including todo addon into codebase.
2023-12-01 10:33:18 -07:00
Red3Tango 0659b20095 added multiple todo notes
these are for future refactorization, that needs to happen sooner than later.
2023-11-30 11:09:09 -07:00
Red3Tango 37a140601c save high score to user:// file
this code is getting extremely hacky, may need a massive refactor soon. it works, but many items are no longer in areas that make complete sense.
2023-11-30 02:11:53 -07:00
Red3Tango e2a3849996 reset game after game over
has button to reset the game when there is a game over. this is very rudimentary, and do not like the structure, will need to refactor later.
2023-11-29 13:28:00 -07:00
Red3Tango 0d73d65380 instancing game scene
game scene is instanced instead of being hard-coded, this is the first step to being able to restart the game after getting hit.
2023-11-28 10:07:34 -07:00
Red3Tango 78349a93d6 initial start screen
doesnt do any level-spawning, just unpauses and hides the main menu. moved cursor/reticle control to game instead of player.
2023-11-27 11:51:33 -07:00
Red3Tango 9e44513549 added reticle for mouse cursor
there is also a default pointer cursor set in the project settings for use later. this will be activated either through the ui or main scene, possibly make the load a global?
2023-11-26 15:02:37 -07:00
Red3Tango 79fa94a891 simple game over when hit
just pauses the game, will need to reload manually to restart. was lazy and just wanted something to push today lol.
2023-11-25 16:23:52 -07:00
Red3Tango d8d13731d5 rudimentary score system
emits a global signal through relay system which the ui is connected to.
2023-11-24 10:08:42 -07:00
Red3Tango 35f06a4f81 initial laser destruction
currently just destroys itself and the body it collided with.
2023-11-23 20:52:24 -07:00
Red3Tango 1a4951c3a9 randomized asteroid target position
will now randomly select spot around player for its target, instead of the player directly.
2023-11-21 20:32:53 -07:00
Red3Tango 28bcd048e3 refactored spawn position
asteroids now spawn just outside of the camera view, instead of being tied to player. was causing issues of spawning too far away and would despawn before entering view.
2023-11-21 13:08:35 -07:00
Red3Tango 198d43ebc5 Update .gitignore
ignoring addons that should be local, kanban and todo manager. this will still require to manually ignore the changes to project.godot file though.
2023-11-20 22:50:55 -07:00
Red3Tango 22d0eb1999 ttl for asteroids while off-screen
if asteroid is off screen for given amount of time, will queue_free itself
2023-11-20 13:13:55 -07:00
Red3Tango cf8bfb0a9e refactored max asteroid count
no longer a hard-coded int, now contained under another parent and uses get_child_count
2023-11-20 13:13:01 -07:00
Red3Tango 38c5929b12 basic asteroid spawning
much more work is needed to vary angle, and handle unloading them.
2023-11-19 03:06:53 -07:00
Red3Tango 0c950a50bd small asteroid for speed testing
this does not have any interaction, health, etc yet.
2023-11-18 17:26:08 -07:00
Red3Tango 3712c2a053 adjusted fire point and cam margins 2023-11-16 21:42:39 -07:00
Red3Tango 9506120ed0 moved fire_rate to projectile 2023-11-16 15:55:03 -07:00
Red3Tango 5ab16a2365 added laser projectile
simple and slow default timing/speed, will need to adjust/balance later
2023-11-15 13:01:02 -07:00
Red3Tango 164e9b9683 setup basic player scene and movement 2023-11-11 16:35:50 -07:00
Red3Tango 5888a37811 Ignore Drive submodule
This will require manual 'git add drive' and 'commit -m <msg>' to update submodule in the future.
2023-11-09 14:01:44 -07:00
Red3Tango c42d3367d1 Added new project icon 2023-11-09 13:03:30 -07:00
Red3Tango 43a9779701 Added Drive Submodule 2023-11-09 13:02:46 -07:00
Red3Tango cbf5091cf6 Initial commit 2023-11-09 13:00:39 -07:00