PyWeek 30 challenge: “Castaway”

Soul Town - We are on GitHub

Posted by Untriex on 2020/10/01 17:51

Good news.
We decided to add the source code of the game to GitHub and it will be maintained and new features will be added in the future (probably... it depends on the school)
Link is in the entry



3 comments

Alasala - How we made the 3D models

Posted by cyhawk on 2020/09/29 19:57

Alasala's models


I'm very happy with how our models worked out. Originally we planned to have just cubes. But then I wanted the cubes to have flappy ears. It escalated from there. The models are all defined as dicts by describing their structure.

Model definition.

This format describes the model as a tree of boxes of various sizes and colors. Each node is then fixed with a "Cone Twist Constraint". Basically a joint like a shoulder. Then as we move the models they wiggle around automatically thanks to the physics simulation. (Cannon.js)

Wizard walking.Knight walking.

Because of the simple format we were able to add all the models in one day. I think I'll add some more after PyWeek!

Add a comment

Apart - Hints for Apart

Posted by Tee on 2020/09/29 16:40

Important: There is a "bug" in one of the puzzles. The puzzle involving the lighthouse has an unintended solution that makes sense but does not work. If you think you have the right idea but it's not working, try something different. Sorry about that.

Here are some hints for Apart:

General hints (not very spoiler-y, but look away if you want to discover everything in the game by yourself):

1. The basic idea of the game is that you can move the puzzle pieces to form the map.
2. To solve the puzzles, you need to look carefully at the red pixels in the puzzle pieces and the environment. Look for patterns. Part of the puzzle is figuring out what needs to be done, so you may need some out-of-the-box thinking.
3. No red pixel in the puzzle pieces is a red herring. Each of them is relevant to at least one puzzle. But beware, it might not be relevant to the puzzle you are trying to solve.

Spoilers. Since there are no spoiler tags, apply ROT-13 to these to reveal. This is in order of puzzles.

1. Gur xrl
Hint: Lbh cebonoyl fnj gur xrl va gur frpbaq ybpngvba. Znlor lbh'ir gevrq chggvat nabgure cvrpr abegu gb guvf ybpngvba, ohg vg qvqa'g jbex. Ubj qb lbh haybpx vg? Qb lbh frr guvf xrl naljurer ryfr?
Solution: Gurer ner gjb chmmyr cvrprf gung pbaarpgrq gbtrgure sbez n xrl. Chg gubfr gbtrgure, naq nyfb chg n cvrpr abegu gb gur ybpngvba jvgu gur xrl. Lbh jvyy or noyr gb npprff vg.

2. Gnxvat gur obng bss gur ynxr
Hint: Lbhe tbny vf gb gnxr gur obng bss gur vfynaq. Gurer vf n evire pbzvat bhg bs gur ynxr, ohg vg pbaarpgf gb abjurer.
Solution: Pbaarpg gur ynxr gb gur evire oraq (gur bar gung unf n pbaarpgvba ba gbc), naq gura gb gur evire yrnqvat gb gur frn.

3. Oevatvat gur obng pybfre
Hint: Ybbx pybfryl ng gur obng. Lbh jnag gb znxr fher gur obng qbrfa'g qevsg njnl.
Solution: Lbh arrq na napube. Gurer fubhyq or guerr cvrprf gung sbez na napube. Abgr gung lbh arrq gur pvepyr sebz gur xrl va gur svefg chmmyr.

4. Gur qnex ubyr
Hint: Qvq lbh frr nalguvat gung pbhyq cebivqr n fbhepr bs yvtug? Ubj pbhyq lbh hfr vg gb yvtug hc gur ubyr? Frnepu sbe eryrinag cnggreaf naq ybbx ng ubj gurl ner qenja.
Solution: Fgnegvat sebz gur yvtugubhfr, lbh jnag gur yvtug gb trg gb gur ubyr. Orfvqrf gur yvtugubhfr naq gur ubyr, frnepu sbe cnggreaf jurer lbh unir gjb fznyy yvarf va gur pragre cbvagvat gb qvssrerag qverpgvbaf. Chg gur cvrpr jvgu gur "fbhgurnfg-rnfg" yvarf nobir gur ubyr, naq gur "jrfg-fbhgujrfg" yvarf nobir gur yvtugubhfr. Lbh pbhyq fraq gur yvtug qverpgyl ohg lbh jrera'g fhccbfrq gb, guvf vf n oht.

5. Pnir qbbe
Hint: Gur pnir qbbe fgvyy qbrfa'g bcra. Nccneragyl gurer vf n frpbaq zrpunavfz. Pna lbh vagrenpg jvgu nalguvat ryfr va gung ybpngvba?
Solution: Lbh arrq gb frg gur frrfnjf gb gur evtug cbfvgvbaf. Gur cbfvgvbaf pna or sbhaq ol pbaarpgvat guerr chmmyr cvrprf ubevmbagnyyl.

6. Pnir
Hint: Gurer vf n uvag vafpevorq ba gur sybbe. Lbh arrq gb hfr gur cvrprf jvgu gur fznyy gevnatyrf va gur pbearef gb svther bhg jung qverpgvbaf gb gnxr vafvqr gur pnir.
Solution: Lbh arrq gb hfr nyy bs gur cvrprf jvgu gur fznyy gevnatyrf gb trg onpx gb gur cynltebhaq, naq onpx gb gur pnir ragenapr. Nyy lbh arrq gb qb npghnyyl vf gb svther bhg gung qverpgvbaf gung lbh jbhyq zbir gb ybbc onpx gb gur pnir, vs lbh jrer gb cynpr gurfr cvrprf ba gur obneq. Guvf vf R, A, A, J, A.

7. Tenirfgbarf
Hint: Lbh svaq gur tenirfgbarf ol chggvat va nyy cvrprf va gur obneq. Vg gryyf lbh gb chg gbtrgure jung vf yrsg oruvaq. Jung ner va gur cvrprf gung jrer yrsg oruvaq? Guvf vf gur ynfg chmmyr, fb gurer vf bayl bar cvrpr bs vasbezngvba yrsg.
Solution: Vs lbh jrer gb bireynl gur erq cvkryf va gur sbhe cvrprf gung ner yrsg bhg, lbh trg gur jbeq "THVYG".

Add a comment

Marooned - Playthrough Video

Posted by mit-mit on 2020/09/29 11:38

I've finally gotten around to posting a playthrough video of the game:


https://youtu.be/bY_qMk63ET8


2 comments

PERA: LOST IN THE ISLAND - demo

Posted by booggiewho on 2020/09/29 03:52

demo

1 comment

I, Castaway - How we used Tiled

Posted by DR0ID on 2020/09/28 19:35

Here is a rough description how we used tiled. In the worse case 3 checks are needed (maybe I missed some other combination):
  • check properties of the object
  • check properties of the tile (within the object)
  • check properties of the type of the tile


Tiled usage

If you want to play around with this map it can be found in out entry under: data/maps/test_map_3.json
And all images and sprite-sheets used in the map are in: data/graphics

Add a comment

Alasala - Bug fix: abilities were invisible until unlocked

Posted by cyhawk on 2020/09/28 13:17

Abilities are now visible.

opacity:50% in our CSS changed to opacity:1% in the release build. (https://github.com/facebook/create-react-app/issues/7980) Sorry about that. If you want to fix it, you can either fix it in build/static/css/main.83228efb.chunk.css manually or you can use https://alasala.ew.r.appspot.com/ui which now has this fix. (Otherwise it's the same as the uploaded final version, just with Google authentication instead of a hardcoded user.)

Add a comment

Fire Dance - Should have written this yesterday

Posted by HipetyHopit on 2020/09/28 09:34

It is done. It was fun. I really needed this, I think. It's been too long since I've coded a game. I think I learned a few things along the way. I'm looking forward to trying everyone's games. I hope you all enjoy mine as well.

(For those wondering why there are more tracks under the license in the README than in the actual game: I removed two tracks at the last minute to reduce the zip size.)

Add a comment

Alasala - Questions?

Posted by cyhawk on 2020/09/28 07:58

I'll add a proper behind-the-scenes diary entry at some point. But here's a placeholder just to make it possible to comment! (We also try to follow #pyweek on Discord.)

Add a comment

Escape the Island - Escape the Island

Posted by ssjCoder_yt on 2020/09/28 07:43

I made this game in pygame==2.0.0.dev12. In the game you have to use commands to do things in game like hunt animals or eat them or harvest materials. The idea was to make the user be immersed in the experience and make the game more interactvie otherwise a user would just be moving up or down looking for things. While the game has a direct approach of doing thins like let's say you want to harvest a material, you would type the harvest command and then get all of the type of certain material you wanted to harvest, I hope you enjoy this game. I made this game all on my own with some help from my friends, I asked them if they wanted to be here and they said not really so I am not going to be putting their names here.

Add a comment