News for hackers. Stuff that matters.
Re:Halley: Lightweight Game Engine Written in C++14 by haolez on Saturday February 23, 2019 @10:32AM (#19233726)
I grew up with the author of this library. He was absurdly intelligent. He started studying quantum physics in high school because he was bored with the “normal” content of our classes. And, of course, he always dreamed on working in the games industry :)
Re:Halley: Lightweight Game Engine Written in C++14 by CreepGin on Saturday February 23, 2019 @01:03PM (#19234565)
Hmm maybe your friend has forsaken physics. He did not implement any physics in his engine! (not yet?) =D
Re:Halley: Lightweight Game Engine Written in C++14 by haolez on Saturday February 23, 2019 @01:22PM (#19234686)
He has a famous blog post somewhere teaching beginners how to do physics on 2D platformers.
Re:Halley: Lightweight Game Engine Written in C++14 by leshow on Saturday February 23, 2019 @02:39PM (#19235088)
Link?
Re:Halley: Lightweight Game Engine Written in C++14 by azhenley on Saturday February 23, 2019 @03:34PM (#19235317)
I'm not the OP, but here you go: http://higherorderfun.com/blog/2012/05/20/the-guide-to-imple...

It looks quite nice.

Re:Halley: Lightweight Game Engine Written in C++14 by Impossible on Saturday February 23, 2019 @08:52PM (#19236652)
This is probably the most comprehensive single written guide to how platformers are implemented. Definitely worth a read.
Re:Halley: Lightweight Game Engine Written in C++14 by gcb0 on Saturday February 23, 2019 @07:36PM (#19236330)
this is mostly sprite/collision well known patterns summaries. not much on physics.
Re:Halley: Lightweight Game Engine Written in C++14 by gcb0 on Saturday February 23, 2019 @07:30PM (#19236318)
it has quantum physics, which can be approximated to zero based on experiments on the applicable scales :D
Re:Halley: Lightweight Game Engine Written in C++14 by Trombone12 on Saturday February 23, 2019 @07:39PM (#19236340)
Right, tell that to your semiconductor based computing device.
Re:Halley: Lightweight Game Engine Written in C++14 by microcolonel on Saturday February 23, 2019 @10:29PM (#19236944)
To a first approximation, this would be something like

    vec3 pos = {0f, 0f, 0f};
which I think was the joke, you may now laugh.
Re:Halley: Lightweight Game Engine Written in C++14 by lettergram on Saturday February 23, 2019 @10:09AM (#19233615)
For those interested in what was built with build with this engine, in the docs it says wargroove:

https://wargroove.com/

Definitely, a 2D game engine, but the game looks fun enough.

Re:Halley: Lightweight Game Engine Written in C++14 by all2 on Saturday February 23, 2019 @10:54AM (#19233841)
As a sibling to this post said, it reminds me of Advanced Wars (Sturm!), and also a little of Tactics Ogre.

I love the art style quite a lot.

Re:Halley: Lightweight Game Engine Written in C++14 by mattnewton on Saturday February 23, 2019 @09:17PM (#19236736)
This is basicaly a huge love letter to advance wars. The gameplay of capturing income producing buildings, then making unit types, and the units themselves all map directly to advance wars units.

There are a few key innovations (COs as units on the map, archers can fire and move in the same turn (which are more like rangers from Warbits than artillery because they are infantry), some units have abilities that cost money, units have crit conditions, and the building capture mechanic). But the basic loop is there: Swordsman are infantry, pikemen are heavy infantry/mech, dogs are recons, knights are tanks, mages are anti air guns, trebuchets are rockets and ballista are missles, etc etc. Terrain bonuses are similar, costs are tweaked, but it plays exactly like advance wars.

And that is a really good thing. Can’t recomend the game enough.

Re:Halley: Lightweight Game Engine Written in C++14 by eropple on Saturday February 23, 2019 @09:35PM (#19236789)
Eh--I tried a little Wargroove but I thought its maps were pretty unbalanced. It became really easy to end up in a meat-grinder fight where in Advance Wars you had to mess up to find yourself in that state.

The art style (particularly the human portraits) also did not work for me.

Re:Halley: Lightweight Game Engine Written in C++14 by mattnewton on Sunday February 24, 2019 @06:55PM (#19241494)
I mean, the reason there was less meat grinding in advance wars was broken CO powers IMO. I’m more of a fan of the wargroove balance and slow pushes.
Re:Halley: Lightweight Game Engine Written in C++14 by gcb0 on Saturday February 23, 2019 @07:39PM (#19236341)
fire emblem is the direct influence. this is exactly like fire emblem with worse voice acting.
Re:Halley: Lightweight Game Engine Written in C++14 by cwyers on Saturday February 23, 2019 @03:21PM (#19235266)
I've had that game in mind for a while, ever since I heard about it from them calling out Sony for only enabling cross-play for the big publishers. I think between that and this, it's pushing me to buying it.
Re:Halley: Lightweight Game Engine Written in C++14 by sandos on Monday February 25, 2019 @06:52AM (#19244955)
The crossplay issue is getting a bit silly, really. Come on Sony, get with the game!

I have a hard time believing that Sony will really loose anything valuable by allowing crossplay.

Re:Halley: Lightweight Game Engine Written in C++14 by apsdsm on Saturday February 23, 2019 @07:00PM (#19236212)
I would buy this in an instant if it were available for macos. Looks great!
Re:Halley: Lightweight Game Engine Written in C++14 by jorvi on Saturday February 23, 2019 @09:21PM (#19236749)
Wargroove is on macOS. Steam displays only the Windows icon because the macOS client is still beta-ish, but once you’ve bought it you can install it like normal. Has full cross-platform multiplayer and everything.
Re:Halley: Lightweight Game Engine Written in C++14 by apsdsm on Sunday February 24, 2019 @12:51AM (#19237341)
Really? That’s great news! Thank you for letting me know! Going to buy a copy now!
Re:Halley: Lightweight Game Engine Written in C++14 by FrankDixon on Saturday February 23, 2019 @10:40AM (#19233763)
awesome, looks like a reboot of Advance Wars. Loved it back in the day
Re:Halley: Lightweight Game Engine Written in C++14 by mattnewton on Saturday February 23, 2019 @09:23PM (#19236760)
Another one to check out then is WarBits, which is an excellent advance wars game for iOS.
Re:Halley: Lightweight Game Engine Written in C++14 by ArtWomb on Saturday February 23, 2019 @08:44AM (#19233291)
If nothing else, providing a clean implementation of a working Entity system will be a great boon to those learning gamedev. Kudos!
Re:Halley: Lightweight Game Engine Written in C++14 by gmueckl on Saturday February 23, 2019 @04:13PM (#19235508)
I found entt to be a good, reasonably approachable entity system for C++. It written in a modern, very generic style, but I don't find it to be obscure.

https://github.com/skypjack/entt

Re:Halley: Lightweight Game Engine Written in C++14 by pgruenbacher on Saturday February 23, 2019 @05:14PM (#19235786)
yep its great and very active
Re:Halley: Lightweight Game Engine Written in C++14 by gcb0 on Saturday February 23, 2019 @08:15PM (#19236497)
This is still far from a learning-from project. The template doesn't even have a README file or instructions anywhere.
Re:Halley: Lightweight Game Engine Written in C++14 by sagartewari01 on Sunday February 24, 2019 @08:17AM (#19238432)
I'm reading the source and it's pretty smooth. Feels like reading english.
Re:Halley: Lightweight Game Engine Written in C++14 by forrestthewoods on Saturday February 23, 2019 @09:05AM (#19233347)
This is great.

I usually roll my eyes at game-engine posts. But seeing an open source engine that has successfully shipped on multiple platforms, including console, is fantastic.

Re:Halley: Lightweight Game Engine Written in C++14 by Const-me on Sunday February 24, 2019 @12:00PM (#19239333)
Video playback is inefficient.

The code uses media foundation for decode (this part is good), but then it downloads NV12 data to system RAM, then uploads back to VRAM.

Better approach is making it work entirely on GPU. The simple way to implement that is to drop Windows 7 support already, and use IMFMediaEngine interface. That object decodes video directly into D3D 11 textures, with very little work required, doesn't even need any custom shaders.

Here’s a working example: https://github.com/Const-me/vis_avs_dx/tree/master/avs_dx/Dx...

Re:Halley: Lightweight Game Engine Written in C++14 by soup10 on Saturday February 23, 2019 @08:50AM (#19233311)
its a 2D engine. (just clarifying because it wasn't immediately clear)
Re:Halley: Lightweight Game Engine Written in C++14 by chooseaname on Saturday February 23, 2019 @10:03AM (#19233582)
Even better!
Re:Halley: Lightweight Game Engine Written in C++14 by feiss on Saturday February 23, 2019 @06:06PM (#19235996)
well said! +1
Re:Halley: Lightweight Game Engine Written in C++14 by johnisgood on Saturday February 23, 2019 @03:14PM (#19235235)
Does Starbound use this engine?
Re:Halley: Lightweight Game Engine Written in C++14 by aarpmcgee on Saturday February 23, 2019 @03:19PM (#19235260)
I don't think so. I believe the Starbound development was led by someone else. This is an interesting article written by that person. https://kyren.github.io/2018/09/14/rustconf-talk.html
Re:Halley: Lightweight Game Engine Written in C++14 by johnisgood on Saturday February 23, 2019 @03:27PM (#19235285)
> Chucklefish games that are made 100% in house: Starbound obviously, also Wargroove (made with the generic C++ engine halley, but the main dev for the engine is the main dev of Wargroove).

Hmm...

Re:Halley: Lightweight Game Engine Written in C++14 by minasss on Saturday February 23, 2019 @10:03AM (#19233580)
link to samples is broken (octo-cat 404) https://github.com/amzeratul/halley-samples
Re:Halley: Lightweight Game Engine Written in C++14 by irq-1 on Saturday February 23, 2019 @10:24AM (#19233677)
Re:Halley: Lightweight Game Engine Written in C++14 by mmkos on Saturday February 23, 2019 @03:16PM (#19235244)
Doesn't compile - header files are missing from the project.
Re:Halley: Lightweight Game Engine Written in C++14 by reassembled on Saturday February 23, 2019 @05:09PM (#19235769)
This looks like its probably the latest one, updated 7 days ago:

https://github.com/amzeratul/halley-template

Re:Halley: Lightweight Game Engine Written in C++14 by xpaulbettsx on Sunday February 24, 2019 @06:40PM (#19241409)
I like it but having to fiddle with dependencies makes it harder to get started, maybe submodule them?