Hello, I’m learning to code some html/javascript to create little web-games. So I just made my first steps creating this little game in javascript using p5.play.js. It can be runned on your browser following this link :
I made a folder on github too (here https://github.com/Codnpix/cervolab) to share the code but I couldn’t upload the subfolders for the other levels… So there is only the files of one out of six levels but they are all made on the same model.
Ok thanks ! I didn’t find at first how to create subfolders (this helped me to understand too).
Anyway, the full project is uploaded on my github now .
Nice work with your game @codnpix !
I never tried p5.play.js. was it helpful ?
I also started making game using p5 recently, you can check theme here. tell me what you think !
Thanks!
Yes p5.play was very helpful to me, for collision or bouncing stuffs for example it’s really great ! But I didn’t explore much more js libraries so I can’t really compare with anything … Anyway I found it very handy ad intuitive, and there is a lot of very useful examples for learning.
(http://p5play.molleindustria.org/examples/index.html, https://creative-coding.decontextualize.com/making-games-with-p5-play/)
The “asteroid” example helped me for the behavior of the car. For the bouncing questions I found some helpful things too but it took me quite a while to understand how to use the mass and friction properties of the sprites. I didn’t need it for the 5 first levels, but in the secret level where the bouncing question is a little more elaborated…
Anyway, it seems to work fine finally !
You’re work with p5 seems really great, the first one is very fluid. I did’nt imagine that we could do such of things with only javascript ! It reminds a lot of Torus Trooper, is it based on it (I saw you named Kenta Cho) ?
I was not sure if the questions asked along the game have an influence of the behavior of the game… Does it ?
The maze looks cool too, and the design is crazy ^^, creepy/childish/psychedelic :)
Nice work on 191! Very creative way to draw a tunnel without WEBGL, I will have to take a closer look into your code to figure it out. Anyway, I think it would be cool to start some sort of games thread so we can have more feedback on the games we make with Processing/P5
@codnpix Very cool game as well! Did you make your own sprites? The levels looked nice even while it was a simple game
Thanks for the links !
I have to play your game again because I didn’t find the secret level you mentioned.
It was originally inspired by the novel “Crash” by Ballard, but I can’t imagine making a speedy game with spaceships without thinking about Kenta Cho ! And yes there is absolutely no relation between the questions and the game.
I’m actually doing a sort of sequel of the maze game ‘the attic’s a dungeon’ where the user will be able draw the assets himself from an A4 sheet, very happy with the result so far
Thank you :)!
Yes I created all the visual elements with GIMP. And the music with LMMS. It’s a project I made in complement with a comic project wich is my main activity, but I really enjoyed myself a lot doing that so I think I’m going to persevere !
@colin
I’ve been trying to run your game The Attic’s a Dungeon on my computer from the source code on Processing but I can’t run the sketch, I seem to have a complicated-to-solve sound configuration problem…
Anyway, is there another way to run it on a linux system ? I’m curious to try it :).
Yes, there was a first error because the sound library was missing so I did install it, but now it remains an error due to a PCM device hw:0,3 or something… I think I don’t know enough to fix this… The first screen appears and it crash after 1 or 2 seconds…
Oh, now I remember reading that there were a sound issue on linux with processing That was the reason I didn’t make a linux build. You can still remove the sound by putting in comment what’s in the playMusic() function
I do, mostly little prototypes though, nothing too impressive. I will be on vacation soon though and I have some good ideas for some games I’d like to make
Done. But it still returns the same error… too bad. I think I must edit a sound configuration file. I’m not very aware of all that, I will stick myself to it when I find the courage !
Cool! I’m not really an artist but I have LMMS too so I definitely want to get into making music I noticed the french in your game, where are you from? I lived in France for most of my life but my parents are American so I speak both languages. I will be heading back there to study Computer Science hopefully
I’m french, i live in St Etienne. I hesitated to put the instructions in english for more universality, but the game goes with a comic project and most of the readers are going to be francophone, so …