Commit Graph

718 Commits

Author SHA1 Message Date
c77f2ca46e Optimize choice screen constants and variables 2023-11-18 19:47:40 +01:00
42c3804b66 Improve weather in different ways
make the move subpixel
remove the old unused cloud_move
separate the three clouds' moves, both the yoffset, the x speed and the x start time (with a time offset)
2023-11-18 17:06:40 +01:00
166184a362 Fix and improve big_bang
the "on show" wasn't working for some reason and wasn't necessary anyway
easeout was probaly mixed up with easein, in any case easein renders much better
using easein_cubic for a sharper explosion
2023-11-18 16:30:05 +01:00
d124579be4 Fix weather storm and create the weather image tag 2023-11-18 15:41:23 +01:00
da6b7d11ae Clarify and simplify weather
remove two blank images (useless and slower than Null())
clarify in weather.rpy which are images directly shown on the screen and not just ingredients for the others
simplify the screen code
2023-11-18 15:23:15 +01:00
d7a5aa8d66 Fix inventory layout 2023-11-18 03:58:59 +01:00
f8251f921b Avoid using an actual image reference instead of direct null 2023-11-18 02:01:37 +01:00
a88706142f Don't use mutables in signatures 2023-11-17 04:37:45 +01:00
8d3eede436 Tweaks 2023-11-17 04:35:53 +01:00
d40af370a8 Upgrade brewing menu
the usual : make variables dynamic, use call screen instead of show screen...
2023-11-17 04:31:20 +01:00
9479859edd Simplify menu position 2023-11-17 04:07:53 +01:00
e84d5cbdf0 Sort inplace and skip unused variable 2023-11-17 04:05:49 +01:00
f6c0054be0 Fix variable name and move defaults 2023-11-17 04:04:15 +01:00
a29b7ec28b Merge labels into menus 2023-11-17 04:03:52 +01:00
15b15b9085 Remove mutable in signature and pop todo 2023-11-17 03:52:56 +01:00
3fef941366 Remove dependency 2023-11-17 03:52:39 +01:00
6b2766e668 Better pass kwargs
this is not py2 anymore
2023-11-17 03:46:34 +01:00
2f2a9b985b Don't use protected variable name 2023-11-17 03:46:18 +01:00
d132436843 Use scene statement instead of equivalent 2023-11-17 03:41:56 +01:00
110847e9e6 Simplify and quicken summon list iteration 2023-11-17 03:38:06 +01:00
1918def870 Make variables dynamic
or constant, in one case
2023-11-17 03:31:07 +01:00
d34a96284c Internal tweaks 2023-11-17 03:29:45 +01:00
acfb09516c Improve and fix last 2023-11-17 03:16:28 +01:00
1672b2381a Replace show screen with call screen 2023-11-17 03:13:17 +01:00
e242c0e43a Factorize pos 2023-11-17 03:08:51 +01:00
d7c8e39b08 Factorize pos 2023-11-17 03:07:16 +01:00
313849696c Avoid single-use function 2023-11-17 03:05:12 +01:00
9a7a1d4686 Fix 32cf1de
the call is useless anyway, always has been
2023-11-17 02:59:23 +01:00
2e80d3a8d8 nitpicks 2023-11-17 02:53:09 +01:00
38787bdc4c Add safe return
otherwise the implicit return is at the end of the file, which means if we add another label down the file, it will be executed after give_gift
2023-11-17 02:49:44 +01:00
aefa88e4d2 Add data privacy when computing house points
the dynamic variables are needed for the show screen call
2023-11-17 02:47:17 +01:00
ebcfa4b78d Use hide instead of single-use function 2023-11-17 02:39:35 +01:00
b2196d3ca5 Fix abe5d55 2023-11-17 02:34:05 +01:00
a7ad9fafc7 Simplify position and parameters 2023-11-17 02:31:46 +01:00
6216b62ef9 Turn two actions into functions
technically not as correct, but works all the same and is relatively faster (but it will be replaced with better actions in the future anyway)
the pickle lock, if any, for removing them in the future, becomes easier to solve
2023-11-17 02:15:31 +01:00
abe5d551fc Roll most local actions out 2023-11-17 02:12:26 +01:00
87a77163de Probable typo 2023-11-17 02:07:57 +01:00
38a94e774b Some big work on the inventory system
turn the show into a call screen
replace all return actions with specific local actions (WIP, more changes to come)
make the global variables at least dynamic
make the mode parameter a parameter of the label (so, a dynamic variable too, as a result)
replace the bigger actions with local labels
tweak text entries, comparisons, iterations... details
2023-11-17 01:48:07 +01:00
25f375c88b Better and faster iteration, using foreach 2023-11-17 01:48:05 +01:00
c1ab7f7b85 Use a grid for the inventory 2023-11-17 01:48:03 +01:00
837d6b378e Use the correct operator(s) for None 2023-11-17 01:48:01 +01:00
14607f2eb1 Better text interpolation in screens 2023-11-17 01:47:59 +01:00
def10a09ac Simplify crop_image_zoom calls 2023-11-17 01:47:57 +01:00
3278b1f4af Remove get_zoom and use builtin fit feature
using renpy.render, wtf
2023-11-17 01:47:55 +01:00
ed2a817c84 Fix 070d14a 2023-11-17 01:47:28 +01:00
87ce17df8b Use inplace sort and generator expressions 2023-11-16 02:17:25 +01:00
eae844ef0b Re-enable some menu yaligns and reimplement menu sets
these menu yaligns had been disabled for a long time (the menu_y variable was never read)
2023-11-16 02:12:22 +01:00
070d14a685 Remove unused xalign 2023-11-16 01:55:20 +01:00
a36c0ba222 Separate xalign and yalign 2023-11-16 01:54:22 +01:00
fbe8035c43 Refactor states.menu_pos and remove reset_menu_position 2023-11-16 01:51:18 +01:00