StarArawn / kayak_ui

Other
469 stars 50 forks source link

Adding Context Plugin Panics #190

Closed njt1968 closed 1 year ago

njt1968 commented 1 year ago

I am trying to go through the book to learn Kayak, but even the first example copy pasted directly crashes at runtime. Even something as simple as this crashes:

image

image

Not sure how to proceed and I can't find any questions/previous issues about this.

Also, the book's first example has this line: image but in my program the UICameraBundle constructor doesn't take any arguments.

Any help would be appreciated TY

StarArawn commented 1 year ago

A lot of work has gone in since the 0.1 release. This issue looks like it is caused by something that was already fixed.

Also, the book's first example has this line: but in my program the UICameraBundle constructor doesn't take any arguments.

This is because main has a lot of changes. You can view the 0.1 book/examples here: https://github.com/StarArawn/kayak_ui/tree/v0.1.0 And a full list of releases here: https://github.com/StarArawn/kayak_ui/releases

If you would like to switch to the main branch I recommend the following cargo settings: kayak_ui = { git="https://github.com/StarArawn/kayak_ui/", rev="66b8dcda0272f1bf74ac2fbcfbf00d3bd68952e7" }

If you still have any problems please feel free to open a new issue!