Question about Unity and HuC

Started by soop, 03/01/2017, 10:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

soop

Just discussing starting a new project with my housemate, and I figured since he needs to learn C# for his new job, we could collaborate on a making game together in C#, probably using Unity as a framework.

Now, I've had a game in mind for years that's super, super easy, and it just struck me that we could knock it out Unity in maybe a week or so.  But since it was originally planned for me to get my feet wet with HuC, it was intended for the PC Engine.

I know I can't simply port the code over, it won't work that way, but before I start, is there anything I can do to make my life easier if I decide to rewrite it in HuC at some point?  I've never used either at this point, and I've barely ever touched C.  I'm guessing it's just going to be a case of "you need to rewrite it completely, but at least you'll have an idea of what needs to go where", and I'm ok with that.  I can probably reuse graphics if I go about it the right way.
Quote from: esteban on 04/26/2018, 04:44 PMSHUTTLECOCK OR SHUFFLE OFF!

elmer

Quote from: soop on 03/01/2017, 10:00 AMI know I can't simply port the code over, it won't work that way, but before I start, is there anything I can do to make my life easier if I decide to rewrite it in HuC at some point?  I've never used either at this point, and I've barely ever touched C.  I'm guessing it's just going to be a case of "you need to rewrite it completely, but at least you'll have an idea of what needs to go where", and I'm ok with that.  I can probably reuse graphics if I go about it the right way.
I suspect that you'll find that you won't get to re-use much of anything.

Unity provides a huge framework and library and, most-importantly, methodology, that just aren't going to be there when you go to HuC.

But you would be able to prototype how you want your game to actually behave, and you'd go through all the stages of game design and game construction that you'd need to do anyway for a PCE game, so that would be good.

I suspect that you might find it incredibly frustrating to go from the gentle fluffy hand-holding of the Unity environment back into the harsh and unforgiving old-skool world of HuC, but I expect that you can do it, if you have the will.

The biggest thing to remember (IMHO), is that in HuC you're going to want to avoid objects and structures as much as possible, and completely avoid recursion and too much (if any) parameter passing (except "fastcall" functions).

Which is pretty-much the opposite of how you code in a modern object-oriented language like C# and in the Unity environment.

Gredler

#2
I worked at a studio that used unity to make their games, we made these while I was there:
While I was there I became very familiar with Unity's image requirements, and C# integration.

I've now been working on a HuC based homebrew for almost as long as I was at that company, and I still have no idea how to modify the code beyond palettes, and can say that the art requirements are completely different.

I would say there is 0 crossover from Unity and C#, to HuC and C. Keep in mind, C# is a much much much higher level language than C++, which is higher level language than C - not all C languages are the same by any means.


I would also say, there are MUCH better 2D engines available that would be faster to prototype games in, Game Maker and Construct 2 (soon 3) are a lot easier to get up and running quickly, and the logic translates better to HuC than unity considering the 2D v 3D hurdles of unity which is a renderer that is forced to orthographic but is basically just forcing 3D stuff to appear in 2D.

soop

Got it, thanks guys :)

Quote from: Gredler on 03/01/2017, 01:30 PMI would also say, there are MUCH better 2D engines available that would be faster to prototype games in, Game Maker and Construct 2 (soon 3) are a lot easier to get up and running quickly, and the logic translates better to HuC than unity considering the 2D v 3D hurdles of unity which is a renderer that is forced to orthographic but is basically just forcing 3D stuff to appear in 2D.
I'll check these out, thanks :)
Quote from: esteban on 04/26/2018, 04:44 PMSHUTTLECOCK OR SHUFFLE OFF!

Pokun

Another thing to keep in mind is the sprite, color and resolution limitations of the PC Engine.
If you make a CD game sound may note be that much of a problem though.

Arkhan Asylum

The only thing you will get to reuse is any logic you might have for enemy behaviors and crap.   

But even that will need to be redone a bit, and will probably be slow if you don't go back to assembly with it.

Unity would still be good to use to prototype stuff out though, so don't think there is no point to using Unity.

This "max-level forum psycho" (:lol:) destroyed TWO PC Engine groups in rage: one by Aaron Lambert on Facebook "Because Chris 'Shadowland' Runyon!," then the other by Aaron Nanto "Because Le NightWolve!" Him and PCE Aarons don't have a good track record together... Both times he blamed the Aarons in a "Look-what-you-made-us-do?!" manner, never himself nor his deranged, destructive, toxic turbo troll gang!