Activity

haohaohaoyan

Shipped this project!

I tried my hand at making a 3D game, inspired by games like Titanfall and Celeste. It doesn’t really have any actual levels, but it has (plenty tested) movement mechanics like slides, wallslides, and walljumps, a death and checkpoint system, a grappling hook, and a bit of a start to some levels! It’s a work in progress, but I’m hoping to get it finished when I have more time.

haohaohaoyan

I wasn’t able to put the amount of time in that I would have liked because of a flood of exams. I’ll ship what I have so far. As for everything since the last devlog:

  • A bit of environment for what was planned to be the first “chapter” of the game.
  • Some fine-tuning for the audio. I tried compressing it to reduce file size, but that resulted in processing spikes when decompressing the audio. I left it in raw form for performance. (This is literally the same thing that happened to Titanfall 2.)
  • The screen wipes have been polished somewhat because they used to disappear randomly when the animation was cancelled by switching scenes before the script calling the animation finished, prematurely ending it. Instead, it just starts the animation and there is no failsafe to end it after loading the new scene.
  • Some mesh optimization on the new structure. As it turns out, Godot’s lighting really doesn’t like planes, so I thickened a few corridors. I haven’t gotten to the main mountain bit yet.

I really hope that I will be able to find more time to work on this over the summer, because I think this would really make a great game. I just happen to not have enough time.

0
haohaohaoyan

Shipped this project!

I finished rebuilding my website essentially from the ground up. It’s webOS-styled (not an actual webOS), and I wanted it to be more interactive and something that isn’t just a brag sheet. Hopefully it’s much more interesting now.

haohaohaoyan

FINAL DEVLOG!!! I FINALLY FINISHED IT!! YIPPEE!!!! Not much actual development happened this time. Most of this was adding content to the pages, making a few goofy “shortcuts”, and making the contacts page. The minimize button (which doesn’t work yet) has been hidden. I’m pretty happy to finally finish this project for now.

0
haohaohaoyan

Not as much happened this time (too many exams and working on a background: details below), but it feels like a whole ton. Pardon the artifacts on the video. I have no clue what caused them. Here are the new things:

  • FANCY new background i made in blender after maybe 8 hours of sitting at my computer wondering why the mist pass was breaking (the compositor hates me so i just switched to using a transparent plane to make fake fog) but it’s cool and acts like a wallpaper. i turned off hdr for it bc snipping tool screws up the brightness when hdr is on but i think that’s what caused the color artifacting.
  • i actually got to making some content to put in the pages, with a landing page and project gallery already up. i scrapped my old blog bc i couldn’t be bothered to update it. they’re just regular html pages that are shown in the iframes in each window. getting them to open other windows was a bit tricky considering the iframe content works in its own context, but i made it work by making a custom class that had a data attribute for its page link. the main page would select elements in the window with that class, then set their onclick to the the create window function so that it would run in the context of the main page, not the window.
  • spicing up the main page and making it actually look like an operating system (definitely not windows 10) there are app shortcuts on the “desktop” now that open windows (i would have made this dynamically read the repo but i don’t think i can do that so i might give up on that idea and the file explorer) the taskbar has a “start button” that opens the landing page and a clock on the right that displays to seconds. fun fact: i mixed up setTimeout and setInterval so i accidentally had every single repeating time updater spawn another repeating time updater and it kept snowballing into a really big problem that i didn’t notice until it crashed my browser twice. it’s fixed now
  • animations for opening and closing windows. not very complex.

that’s all the big stuff. i am SO CLOSE TO SHIPPING i can practically SMELL IT. now that the file explorer is really an afterthought, what’s left is to finish up the content pages and add some fun thingamajigs for users to play with. yay!

0
haohaohaoyan

I added a couple of features this time and polished a few:

  • Resizing windows is now possible. It’s controlled by two invisible divs on top of the bottom and right edges of the window, and works similarly to the drag function, but it only tracks the change in position of one axis and changes the width/height css attributes of the window accordingly. The resizing is also clamped so that the windows can’t be too small.
  • Dragging and resizing windows are smoother thanks to setting pointer-events on the iframes to “none” when dragging, so that you won’t stop dragging when your cursor accidentally moves into them.
  • I fixed that header thing last time by first making the function wait for the iframe to load before continuing, then using querySelector for the title. For the pages that I get security errors on, the page link is a fallback (the or operator is SO useful). As an added bonus, it automatically returns “Error” when there’s an https error that I can’t really figure out yet.
  • There’s a right click context menu now. At the moment, it just opens a dialog to open another file, but it will expand as I add more features. It suppresses the regular context menu with event.preventDefault, which is a pretty neat function.
  • The aforementioned file opener was added. It’s a bit goofy now, but it works and even handles errors when you leave the field blank.

After adding a file explorer, I should be ready to add content and actually put it online (the github pages is still set to my old website to keep it clean)

0
haohaohaoyan

I got the windows to hold content through iframes, which was initially confusing because I couldn’t embed most websites. I initially wanted the window headers to have the title of the page instead of the link, but I couldn’t get it to work because it always returned null before the content loaded (I’m not going to use jQuery yet). The taskbar is active and syncs with the actual windows, so I’ll get the minimize button working and some resizing next, then I can start working on some pages to display.

Attachment
0
haohaohaoyan

I was initially thinking of a webOS-type thing, so now there’s a draggable window system in place. These are all div elements that have a couple of event listeners tied to them that start moving it once you start holding onto the header bar. (It’s mostly copied from w3schools with a few tweaks, so check out their tutorial.) The copiable windows come from cloning the contents of a template tag, which took a bit to figure out because it kept returning the document fragment (which was somewhat useless at the moment) until I had it return the document fragment’s first child instead, which was the window. The fullscreen system was one that I made up, which was adding windows to a div that made all children 100% viewport size and locked to the top left, but I’m thinking of changing that to just a class because the div idea was something I thought of earlier while eating lunch.

Attachment
0
haohaohaoyan

I worked on plenty this weekend! Screen wipes! Better transitions! More stuff for the first area! Figuring out particles! Context tooltips! A start of level design! Some work in loading and unloading sections!!!!11!!!!!!!11!!! I’m not even sure I’ll make it in time !!!!! btw i can’t record rn so here’s an image (i’ll edit later witha video)

Attachment
0
haohaohaoyan

at this point i’m just going essentially weekly, but loads of changes happened! (mostly due to deadlines and stuff pressuring me)

  1. grappling hook is working and essentially finished
  2. loads of menu things: a title screen with a (placeholder) name, level/chapter select, and an options menu for the pause menu
  3. checkpoint and death system
  4. tweaks to other things (you can wallrun cleanly on curved surfaces now)
    hopefully i’ll have something done by next week but i’m not sure anymore
0
haohaohaoyan

Schoolwork has been ridiculous lately so not too much work, but I added a camera effect for wallrunning, slide and fast movement sound loops, a slightly different pause menu, and started reworking the grappling hook (now with an actual model) and midair movement. I’m also beginning work on a puzzle thing for level design, and you can see the progress on it below!

Attachment
Attachment
0
haohaohaoyan

ok so there’s loads of new stuff now. 1. fixed the speed doubling bug (velocity doubled when slide-jumping) 2. added pause menu 3. some fancy effects and better speed-lines 4. started work on the grappling hook but it’s kinda broken rn 5. fixed a wallrun-jump bug (sliding momentum wouldn’t change upon walljump so they kinda got broken)

0
haohaohaoyan

I added ANOTHER new gym (that looks better) and am currently fixing up the movement and sliding. It isn’t bad, but it’s super buggy in some cases. The video attached is an example of some ridiculous acceleration that I find amusing, but bad for gameplay.

0
haohaohaoyan

I added camera movement, a wallrunning prototype, and a new gym. It’s looking pretty good so far.

0
haohaohaoyan

ok so I got some basic movement, collision, and jumping working. i’ll be working on camera movement next.

Attachment
Attachment
0
haohaohaoyan

I didn’t get to the AI training yet, but I changed the movement system a little and got dragging to work.

0
haohaohaoyan

I started working on this early today but just added it to Flavortown, at the moment it has camera view for debugging, point finger for mouse movement and close fist to click. I can’t wait to start making my own gestures….tomorrow!!!!!!

0