Register
Sir Happenlance and the Spear of Density » Blog

Phillip Trudeau-Tavara
4 days, 1 hour ago
TL;DR: You have to do a "Low Level Keyboard Hook" and then write the screenshot function yourself.

Hey there Happenlancers, this is a quick aside technical post about windowing & fullscreen - more devlogs are forthcoming, promise!

I recently read "Fullscreen Exclusive is a Lie" by Mason Remaley and was happy to discover that Happenlance already offers most of the functionality recommended in the conclusion of the article. It's a good read and I recommend you investigate this on your own project before jumping into this quick blog post.

In the article, Mason dives into the ways you can enable, ... Read More →


Miles
5 months, 1 week ago
This one's a doozy. I talk about new editor features, sprite serialization, new enemy behavior, game AI and game design, arrow physics, gif rendering, fast image resizing, and a new method for implementing a foolproof undo system.



As promised at the end of the video, here is the image resizing code as it currently exists:

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45 ...
Read More →


Miles
6 months ago
In this devlog I show off the weekly progress, including level serialization and new editor tools. I also talk at some length about what kind of thought process goes into deciding how to organize and structure the data in a program, and specifically how that applies in the context of this game. I'm sure it will be familiar topic to most people in HMN. And finally I gripe for a bit about some C++ related problems we've been running into.

Read More →