This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
devlogs:30_4_2022 [2022/04/30 21:27] root |
devlogs:30_4_2022 [2023/10/19 15:25] (current) |
||
---|---|---|---|
Line 2: | Line 2: | ||
<wrap lo> This is the first dev log </ | <wrap lo> This is the first dev log </ | ||
- | \\ Today I started this log I guess... The plan is two fold. I want to learn the [[https:// | + | \\ Today I started this log I guess... The plan is two fold. I want to learn the [[https:// |
Bevy is a strange engine to me. I do not have any experience with entity component systems but this seems like a cool paradigm.I am mostly using it to use rust to compile down to web assembly. Rust makes me feel like a 90s hacker kid. ((also dokuwiki is pretty cool)) | Bevy is a strange engine to me. I do not have any experience with entity component systems but this seems like a cool paradigm.I am mostly using it to use rust to compile down to web assembly. Rust makes me feel like a 90s hacker kid. ((also dokuwiki is pretty cool)) | ||
Line 78: | Line 78: | ||
} | } | ||
} | } | ||
- | </ | + | </ |
\\ | \\ | ||
Line 87: | Line 87: | ||
== Some interesting snippits == | == Some interesting snippits == | ||
- | <wrap lo> | + | **code for sizing sprites in our tile system** |
<code rust> | <code rust> | ||
fn size_scaling(windows: | fn size_scaling(windows: | ||
Line 101: | Line 101: | ||
</ | </ | ||
- | <WRAP center round info 60%> | + | The sizing logic goes like so: if something has a width of 1 in a grid of 40, and the window is 400px across, then it should have a width of 10. |
- | The sizing logic goes like so: if something has a width of 1 in a grid of 40, and the window is 400px across, then it should have a width of 10. Next we can do the positioning system: | + | \\ |
- | </ | + | \\ |
+ | Im gonna leave this at here for now and pick it up later | ||
==== External links ==== | ==== External links ==== | ||
Line 113: | Line 114: | ||
[[https:// | [[https:// | ||
- | + | ~~DISCUSSION | wagsonwasoff~~ | |
- | + | ||