Today, I tried two ways to merge my files (my two aspects of game together). However, none of them works.
I am kind of that I didn't consummate my project to how I want it to be. With the closing of the counterspell global submission, I probably will let this Myriad game sit for a while. For the past break, I have been trying to progress the game everyday, devoting majority of my waking hour toward this project. However, it confuses me because my project will run if they are in separate files. But when they merge, there are always countless new problems emerging. I know this is a learning process, but seriously, I don't remember much. Maybe I should more systematically learn javascript before I resume this project? I don't know.
For now, either I will advice other javascript experts on how should I approach javascript, or I will learn something else, like AI prompting or just focus on java
ummmm I fixed the collider box of my player sprite. for some reasons it became super super small
Today for the first half of the day I worked on adding more floating roads to the platformer aspect of my game. I also worked on getting the right heights for those roads, as they need to be proportional to the screen size. For the second half of the day, I worked on compiling the platformer and the CYOA aspect of the game together. It took me a lot of the time and I was super confused. But I am glad that it mostly worked out. However, it seems like my platformer doesn't work after the compilation.
didnt do much as today is thanksgiving. I modified the gravity number and upward speed according to the screen size.
today i worked on the platformer aspect of the game. I made a floor that is adjustable according to the window size. I also implement the "jump," "walk," and "idle" function in the code. I will code more tonight.
worked on making the title screen animated while still able to interact with the buttons! Now I use HTML for the buttons because for the p5js sprites, there are always some unknown problems that prevented me from interacting with them
yesterday (I forgot to log lol) I install the hackatime extension in my vs code studio! I usually use IntelliJ for my java project framework but now I am working on my unfinished-project from counterspell! I sorta recoded it because my js code didn't really work back then, so maybe restarting is a good idea. I made the framework for my game already, so today I am just going to implement all the functions needed (except for creating the obstacles). In addition, I scheduled with a javascript tutor online, so hopefully, that will make things better!
Today I tried to work on my project, which is a website for building habits and tracking projects using visualization like houses and stuff. I worked on it for a quick 40 mins. For the current stage, I am only building the framework for the project in java, since I don't really know other languages. The final product probably will be written in javascript tho. Okay, so I tried to import ascii art of houses to my code. I created a txt and a class called artmanager, but somehow I couldn't figure out how to correctly import the ascii art from the txt. So I just left it there and worked on something else for a little while.
Then, I worked on my main method, which provides four options: 1 .build habit, 2. record habit, 3. build project, 4. record project.
I finished the rough draft of method 1 and 2, fixed some little bugs that came along the way. I am actually pretty dissatisfied with my current framework and how the project looks like, but I also don't have a clear idea of how I should organize/create my "action map" either. (I don't know if "action map" is a real word, but I get what I meant, I hope). I created a rough Todo list for my project, and one of the steps include store everything that the user document into a file. Although I had learnt a little about FileWriter and stuff, I didn't pay much attention back then and now I need to review those knowledges ; <
In addition, I tried to set up my java IDE on raspebrri pi 4 for tmr's Counterspell! It wasn't easy for me, but at least I have chatgpt to help me! HAHA! I am kind of worried about raspberri pi's performance tmr since it seems really slow... only I wish I can have my own portable laptop so I don't need to use that smol and slow and weird computer :|
okay this is enough for tonight, good night everyone.