]> git.lizzy.rs Git - nothing.git/log
nothing.git
6 years agoRender everything blacknwhite when the game is paused (#93)
rexim [Sat, 27 Jan 2018 19:35:15 +0000 (02:35 +0700)]
Render everything blacknwhite when the game is paused (#93)

6 years agoAdd color module (#93)
rexim [Sat, 27 Jan 2018 19:12:32 +0000 (02:12 +0700)]
Add color module (#93)

6 years agoPass rects to camera by value (#93)
rexim [Sat, 27 Jan 2018 19:07:20 +0000 (02:07 +0700)]
Pass rects to camera by value (#93)

6 years agoMerge pull request #95 from tsoding/87-triangle-rendering-functions
Alexey Kutepov [Sat, 27 Jan 2018 19:04:24 +0000 (02:04 +0700)]
Merge pull request #95 from tsoding/87-triangle-rendering-functions

Make triangle rendering funcs accept triangle_t

6 years agoMake triangle rendering funcs accept triangle_t (#87)
rexim [Sat, 27 Jan 2018 19:01:07 +0000 (02:01 +0700)]
Make triangle rendering funcs accept triangle_t (#87)

6 years agoMerge pull request #92 from tsoding/90-remove-goal-wave
Alexey Kutepov [Fri, 26 Jan 2018 22:15:31 +0000 (05:15 +0700)]
Merge pull request #92 from tsoding/90-remove-goal-wave

Remove goal wave

6 years agoRemove the wave state (#90)
rexim [Fri, 26 Jan 2018 22:12:20 +0000 (05:12 +0700)]
Remove the wave state (#90)

6 years agoAdjust goal position (#90)
rexim [Fri, 26 Jan 2018 22:09:07 +0000 (05:09 +0700)]
Adjust goal position (#90)

6 years agoRemove wave goal (#90)
rexim [Fri, 26 Jan 2018 22:06:55 +0000 (05:06 +0700)]
Remove wave goal (#90)

6 years agoMerge pull request #91 from tsoding/88-triangle-rendering-artifacts
Alexey Kutepov [Fri, 26 Jan 2018 22:00:37 +0000 (05:00 +0700)]
Merge pull request #91 from tsoding/88-triangle-rendering-artifacts

Fix triangle rendering artifacts

6 years agoFix triangle rendering artifacts (#88)
rexim [Fri, 26 Jan 2018 21:58:13 +0000 (04:58 +0700)]
Fix triangle rendering artifacts (#88)

6 years agoMerge pull request #86 from tsoding/84-equilateral
Alexey Kutepov [Thu, 25 Jan 2018 19:40:43 +0000 (02:40 +0700)]
Merge pull request #86 from tsoding/84-equilateral

Equilateral goal

6 years agoGet rid of pragma once (#84)
rexim [Thu, 25 Jan 2018 19:33:05 +0000 (02:33 +0700)]
Get rid of pragma once (#84)

6 years agoLink TODO(#87)
rexim [Thu, 25 Jan 2018 19:32:19 +0000 (02:32 +0700)]
Link TODO(#87)

6 years agoAdd TODO (#84)
rexim [Thu, 25 Jan 2018 19:29:36 +0000 (02:29 +0700)]
Add TODO (#84)

6 years agoMerge pull request #85 from tsoding/79-fill-triangle
Alexey Kutepov [Thu, 25 Jan 2018 18:02:09 +0000 (01:02 +0700)]
Merge pull request #85 from tsoding/79-fill-triangle

Implement fill_triangle

6 years agoMake the goal equilateral (#84)
rexim [Thu, 25 Jan 2018 17:25:25 +0000 (00:25 +0700)]
Make the goal equilateral (#84)

6 years agoRemove TODO (#79)
rexim [Thu, 25 Jan 2018 16:39:50 +0000 (23:39 +0700)]
Remove TODO (#79)

6 years agoImplement fill_triangle (#79)
rexim [Thu, 25 Jan 2018 16:32:21 +0000 (23:32 +0700)]
Implement fill_triangle (#79)

6 years agoMerge pull request #81 from tsoding/78-abstract-out-point-tarnsformations
Alexey Kutepov [Wed, 24 Jan 2018 11:37:14 +0000 (18:37 +0700)]
Merge pull request #81 from tsoding/78-abstract-out-point-tarnsformations

Abstract out camera transformations

6 years agoAbstract out camera rectangle transformations (#78)
rexim [Wed, 24 Jan 2018 11:33:09 +0000 (18:33 +0700)]
Abstract out camera rectangle transformations (#78)

6 years agoAbstract out camera point transformations (#78)
rexim [Wed, 24 Jan 2018 11:19:23 +0000 (18:19 +0700)]
Abstract out camera point transformations (#78)

6 years agoMove all of the private camera functions down (#78)
rexim [Wed, 24 Jan 2018 11:07:36 +0000 (18:07 +0700)]
Move all of the private camera functions down (#78)

6 years agoMerge pull request #80 from tsoding/link-todos
Alexey Kutepov [Tue, 23 Jan 2018 20:35:15 +0000 (03:35 +0700)]
Merge pull request #80 from tsoding/link-todos

Link todos

6 years agoLink TODO(#79)
rexim [Tue, 23 Jan 2018 20:32:13 +0000 (03:32 +0700)]
Link TODO(#79)

6 years agoLink TODO(#78)
rexim [Tue, 23 Jan 2018 20:31:16 +0000 (03:31 +0700)]
Link TODO(#78)

6 years agoMerge pull request #77 from tsoding/74-triangular-goal
Alexey Kutepov [Tue, 23 Jan 2018 18:58:17 +0000 (01:58 +0700)]
Merge pull request #77 from tsoding/74-triangular-goal

Make the goal triangular

6 years agoMake the goal triangular (#74)
rexim [Tue, 23 Jan 2018 18:54:08 +0000 (01:54 +0700)]
Make the goal triangular (#74)

6 years agoMerge pull request #75 from tsoding/goal-hide-trigger-rect-int
Alexey Kutepov [Sun, 21 Jan 2018 14:43:58 +0000 (21:43 +0700)]
Merge pull request #75 from tsoding/goal-hide-trigger-rect-int

Make goals hide when player hitbox overlaps the hiding goal region

6 years agoMake goals hide when player hitbox overlaps the hiding goal region
rexim [Sun, 21 Jan 2018 14:35:22 +0000 (21:35 +0700)]
Make goals hide when player hitbox overlaps the hiding goal region

6 years agoasserts and const modifier
rexim [Sun, 21 Jan 2018 14:24:49 +0000 (21:24 +0700)]
asserts and const modifier

6 years agoImplement rects_overlap function
rexim [Sun, 21 Jan 2018 14:24:25 +0000 (21:24 +0700)]
Implement rects_overlap function

6 years agoRename rect_int_area -> rects_overlap_area
rexim [Sun, 21 Jan 2018 13:48:15 +0000 (20:48 +0700)]
Rename rect_int_area -> rects_overlap_area

6 years agoMerge pull request #73 from tsoding/72-oop-conventions
Alexey Kutepov [Sun, 21 Jan 2018 09:04:37 +0000 (16:04 +0700)]
Merge pull request #73 from tsoding/72-oop-conventions

OOP conventions

6 years agoRename update_player -> player_update (#72)
rexim [Sun, 21 Jan 2018 08:59:03 +0000 (15:59 +0700)]
Rename update_player -> player_update (#72)

6 years agoRename render_player -> player_render (#72)
rexim [Sun, 21 Jan 2018 08:55:10 +0000 (15:55 +0700)]
Rename render_player -> player_render (#72)

6 years agoRename render_platforms -> platforms_render (#72)
rexim [Sun, 21 Jan 2018 08:53:30 +0000 (15:53 +0700)]
Rename render_platforms -> platforms_render (#72)

6 years agoRename save_platforms_to_file -> platforms_save_to_file (#72)
rexim [Sun, 21 Jan 2018 08:51:49 +0000 (15:51 +0700)]
Rename save_platforms_to_file -> platforms_save_to_file (#72)

6 years agoRename is_game_over -> game_over_check (#72)
rexim [Sun, 21 Jan 2018 08:50:35 +0000 (15:50 +0700)]
Rename is_game_over -> game_over_check (#72)

6 years agoDocument OOP conventions (#72)
rexim [Sun, 21 Jan 2018 08:41:18 +0000 (15:41 +0700)]
Document OOP conventions (#72)

6 years agoMerge pull request #71 from tsoding/64-goal-hiding
Alexey Kutepov [Fri, 19 Jan 2018 20:00:53 +0000 (03:00 +0700)]
Merge pull request #71 from tsoding/64-goal-hiding

Goal hiding mechanism

6 years agoSeparate goal rendering into several procedures (#64)
rexim [Fri, 19 Jan 2018 19:58:30 +0000 (02:58 +0700)]
Separate goal rendering into several procedures (#64)

6 years agoMake platforms a little bit colder (#64)
rexim [Fri, 19 Jan 2018 19:52:19 +0000 (02:52 +0700)]
Make platforms a little bit colder (#64)

6 years agoExtract player jump power into a magic constant (#64)
rexim [Fri, 19 Jan 2018 19:47:41 +0000 (02:47 +0700)]
Extract player jump power into a magic constant (#64)

6 years agoReduce the interval between goal's waves (#64)
rexim [Fri, 19 Jan 2018 19:46:39 +0000 (02:46 +0700)]
Reduce the interval between goal's waves (#64)

6 years agoIncrease the player's jump power (#64)
rexim [Fri, 19 Jan 2018 19:46:28 +0000 (02:46 +0700)]
Increase the player's jump power (#64)

6 years agoFocus player at the center of the screen again (#64)
rexim [Fri, 19 Jan 2018 19:45:57 +0000 (02:45 +0700)]
Focus player at the center of the screen again (#64)

I think it's better

6 years agoAdjust the main goal a little bit (#64)
rexim [Fri, 19 Jan 2018 19:45:40 +0000 (02:45 +0700)]
Adjust the main goal a little bit (#64)

6 years agoMake the goal hide on entering the region (#64)
rexim [Thu, 18 Jan 2018 18:06:41 +0000 (01:06 +0700)]
Make the goal hide on entering the region (#64)

6 years agoAdd region support to svg2rects (#64)
rexim [Thu, 18 Jan 2018 17:26:38 +0000 (00:26 +0700)]
Add region support to svg2rects (#64)

6 years agoMerge pull request #70 from tsoding/65-glow-wave
Alexey Kutepov [Thu, 18 Jan 2018 17:25:48 +0000 (00:25 +0700)]
Merge pull request #70 from tsoding/65-glow-wave

"Glowing" wave for goals

6 years agoMake goals emit "glowing" wave (#65)
rexim [Thu, 18 Jan 2018 16:29:01 +0000 (23:29 +0700)]
Make goals emit "glowing" wave (#65)

6 years agoEnable alpha blending for SDL renderer (#65)
rexim [Thu, 18 Jan 2018 16:04:34 +0000 (23:04 +0700)]
Enable alpha blending for SDL renderer (#65)

6 years agoMerge pull request #69 from tsoding/67-camera-too-low
Alexey Kutepov [Thu, 18 Jan 2018 15:50:07 +0000 (22:50 +0700)]
Merge pull request #69 from tsoding/67-camera-too-low

Put the camera a little bit higher + README update

6 years agoUpdate gif in the README (#66)
rexim [Thu, 18 Jan 2018 15:46:43 +0000 (22:46 +0700)]
Update gif in the README (#66)

6 years agoPut the camera a little bit higher (#67)
rexim [Thu, 18 Jan 2018 15:42:35 +0000 (22:42 +0700)]
Put the camera a little bit higher (#67)

6 years agoImprove scaling behaviour of the camera (#67)
rexim [Thu, 18 Jan 2018 15:31:01 +0000 (22:31 +0700)]
Improve scaling behaviour of the camera (#67)

6 years agoMerge pull request #63 from tsoding/58-goal
Alexey Kutepov [Wed, 17 Jan 2018 12:37:42 +0000 (19:37 +0700)]
Merge pull request #63 from tsoding/58-goal

Implement the goal entity

6 years agoLink TODO(#64) and TODO(#65)
rexim [Wed, 17 Jan 2018 12:32:07 +0000 (19:32 +0700)]
Link TODO(#64) and TODO(#65)

6 years agoMerge pull request #62 from richardbraun/master
Alexey Kutepov [Tue, 16 Jan 2018 18:05:21 +0000 (01:05 +0700)]
Merge pull request #62 from richardbraun/master

lt: make the RETURN_LT and RETURN_LT0 safer

6 years agoAdd TODO about goal glow (#58)
rexim [Tue, 16 Jan 2018 17:46:31 +0000 (00:46 +0700)]
Add TODO about goal glow (#58)

6 years agoAdd TODO about level hiding mechanism (#58)
rexim [Tue, 16 Jan 2018 17:43:13 +0000 (00:43 +0700)]
Add TODO about level hiding mechanism (#58)

6 years agolt: make the RETURN_LT and RETURN_LT0 safer
Richard Braun [Tue, 16 Jan 2018 17:42:15 +0000 (18:42 +0100)]
lt: make the RETURN_LT and RETURN_LT0 safer

6 years agoMake goals a part of the level format (#58)
rexim [Tue, 16 Jan 2018 17:39:15 +0000 (00:39 +0700)]
Make goals a part of the level format (#58)

6 years agoMake goals_t entity actually support multiple goals (#58)
rexim [Tue, 16 Jan 2018 17:17:43 +0000 (00:17 +0700)]
Make goals_t entity actually support multiple goals (#58)

6 years agoMake the platforms grey
rexim [Tue, 16 Jan 2018 17:01:58 +0000 (00:01 +0700)]
Make the platforms grey

6 years agoRename goal -> goals (#58)
rexim [Tue, 16 Jan 2018 17:00:16 +0000 (00:00 +0700)]
Rename goal -> goals (#58)

6 years agoAdd the goal entity (#58)
rexim [Tue, 16 Jan 2018 16:56:29 +0000 (23:56 +0700)]
Add the goal entity (#58)

6 years agoMerge pull request #60 from tsoding/55-scale-depend-on-view-port
Alexey Kutepov [Tue, 16 Jan 2018 16:17:35 +0000 (23:17 +0700)]
Merge pull request #60 from tsoding/55-scale-depend-on-view-port

Dynamic camera zooming

6 years agoImplement dynamic scaling for the camera (#55)
rexim [Tue, 16 Jan 2018 16:01:07 +0000 (23:01 +0700)]
Implement dynamic scaling for the camera (#55)

6 years agoMake the junctions overlap (#55)
rexim [Tue, 16 Jan 2018 15:00:42 +0000 (22:00 +0700)]
Make the junctions overlap (#55)

6 years agoMerge pull request #57 from tsoding/creative-session
Alexey Kutepov [Wed, 10 Jan 2018 21:09:00 +0000 (04:09 +0700)]
Merge pull request #57 from tsoding/creative-session

Creative session

6 years agoLevel design
rexim [Wed, 10 Jan 2018 21:07:09 +0000 (04:07 +0700)]
Level design

6 years agoAdd inotifyTools to default.nix
rexim [Wed, 10 Jan 2018 21:06:46 +0000 (04:06 +0700)]
Add inotifyTools to default.nix

Close #56

6 years agoMerge pull request #52 from ear/patch-1
Alexey Kutepov [Wed, 10 Jan 2018 20:38:46 +0000 (03:38 +0700)]
Merge pull request #52 from ear/patch-1

add `make watch`

6 years agoMerge pull request #54 from tsoding/creative-session
Alexey Kutepov [Wed, 10 Jan 2018 17:55:16 +0000 (00:55 +0700)]
Merge pull request #54 from tsoding/creative-session

Creative session

6 years agoLink TODO(#55)
rexim [Wed, 10 Jan 2018 17:50:48 +0000 (00:50 +0700)]
Link TODO(#55)

6 years agoAdd TODO for camera scaling
rexim [Wed, 10 Jan 2018 17:48:29 +0000 (00:48 +0700)]
Add TODO for camera scaling

6 years agoImplement the camera zoom
rexim [Wed, 10 Jan 2018 17:44:27 +0000 (00:44 +0700)]
Implement the camera zoom

6 years agoadd `make watch`
ear [Wed, 10 Jan 2018 17:26:29 +0000 (18:26 +0100)]
add `make watch`

😈 Enjoy Recursive Make ðŸ˜ˆ

Beware of bugs in the above code; I have only proved it correct, not tried it.
Rather, tried it a bit, well, ok.

6 years agoFirst level design prototype
rexim [Wed, 10 Jan 2018 17:15:43 +0000 (00:15 +0700)]
First level design prototype

6 years agoReload only platforms in the level
rexim [Wed, 10 Jan 2018 16:57:35 +0000 (23:57 +0700)]
Reload only platforms in the level

6 years agoFix NPE in LT implementation
rexim [Wed, 10 Jan 2018 16:57:14 +0000 (23:57 +0700)]
Fix NPE in LT implementation

6 years agoReload with r, duh
rexim [Wed, 10 Jan 2018 16:26:44 +0000 (23:26 +0700)]
Reload with r, duh

6 years agoMerge pull request #51 from tsoding/rects2svg-support-for-player-position
Alexey Kutepov [Fri, 5 Jan 2018 08:44:10 +0000 (15:44 +0700)]
Merge pull request #51 from tsoding/rects2svg-support-for-player-position

Support player position for rects2svg script

6 years agoSupport player position for rects2svg script
rexim [Fri, 5 Jan 2018 08:37:56 +0000 (15:37 +0700)]
Support player position for rects2svg script

6 years agoMerge pull request #50 from tsoding/level-format-player-position
Alexey Kutepov [Thu, 4 Jan 2018 08:45:02 +0000 (15:45 +0700)]
Merge pull request #50 from tsoding/level-format-player-position

Level format with player position

6 years agoRemove camera from the game entity
rexim [Thu, 4 Jan 2018 08:40:12 +0000 (15:40 +0700)]
Remove camera from the game entity

6 years agoMake level entity use its internal camera
rexim [Thu, 4 Jan 2018 08:37:54 +0000 (15:37 +0700)]
Make level entity use its internal camera

6 years agoIntroduce camera as the part of the level entity
rexim [Thu, 4 Jan 2018 08:35:29 +0000 (15:35 +0700)]
Introduce camera as the part of the level entity

6 years agoRename load_platforms_from_file -> create_platforms_from_file
rexim [Thu, 4 Jan 2018 08:23:04 +0000 (15:23 +0700)]
Rename load_platforms_from_file -> create_platforms_from_file

6 years agoRemove deadcode
rexim [Wed, 3 Jan 2018 18:02:31 +0000 (01:02 +0700)]
Remove deadcode

6 years agoReload entire level including the player's position
rexim [Wed, 3 Jan 2018 17:53:04 +0000 (00:53 +0700)]
Reload entire level including the player's position

6 years agoImplement loading level entity from a file
rexim [Wed, 3 Jan 2018 17:29:11 +0000 (00:29 +0700)]
Implement loading level entity from a file

6 years agoFix level generation script
rexim [Wed, 3 Jan 2018 17:28:14 +0000 (00:28 +0700)]
Fix level generation script

6 years agoInclude player's position into the level's format
rexim [Wed, 3 Jan 2018 17:09:39 +0000 (00:09 +0700)]
Include player's position into the level's format

6 years agoMove relevant logic to level entity
rexim [Wed, 3 Jan 2018 16:52:55 +0000 (23:52 +0700)]
Move relevant logic to level entity

6 years agoImplement level entity lifetime
rexim [Wed, 3 Jan 2018 15:54:13 +0000 (22:54 +0700)]
Implement level entity lifetime

6 years agoIntroduce the level entity
rexim [Wed, 3 Jan 2018 15:33:08 +0000 (22:33 +0700)]
Introduce the level entity

6 years agoMerge pull request #48 from tsoding/limited-amount-of-jumps
Alexey Kutepov [Wed, 27 Dec 2017 17:36:14 +0000 (00:36 +0700)]
Merge pull request #48 from tsoding/limited-amount-of-jumps

Limited amount of jumps