Rewriting Code is Good for you.

Posted by Astryl on Jan. 26, 2011, 1:17 a.m.

Or so the books say. IMO it's good for the code, and has a slightly debilitating effect on the poor soul doing the rewrite.

Now why do I bring this up? Because I have rewritten Scourge to use SFML as a base instead of SDL. There are some nice advantages so far: The code is smaller, cleaner, more efficient, etc. And it gave me the opportunity to include a CFG file reader, so settings such as Screen Resolution etc can be set by any testers easily.

Learning from my previous stupidity, I have now put all my global variables into a global structure, as opposed to scattering the things all over my code.

Oh. And Minecraft++ has been relegated to the bin of neglect, cancellation and replacement. I am instead spending my time designing something that I feel will be a Minectraft killer, though having absolutely nothing to do with Minecraft, besides using OpenGL. More details when I have a playable demo.

Comments

JuurianChi 13 years, 10 months ago

Minecraft killer eh?

Intrested.

death 13 years, 10 months ago

it's about time somebody killed Minecraft -_-

PY 13 years, 10 months ago

The existence of better games would indeed make minecraft stop being good.

Because that is how it works.

JuurianChi 13 years, 10 months ago

I would love to see someone come up with a game that uses clay as a mechanic.

Alert Games 13 years, 10 months ago

There should be a minecraft, only with 4x4 blocks to 1x1 blocks in minecraft in proportion. So you could make indents when you mine, and more elegant buildings.

but then again, its just minecraft with more options and detail. and maybe more lag unless theres a way around it.

OR: Just make a new game that is fun that you can play when you dont feel like playing minecraft.

Astryl 13 years, 10 months ago

The engine is coming along fast as lightning now that I rewrote it in SFML. SFML has much better OpenGL support, windowing… EVERYTHING except the sound support is excellent :D

Now I know my design is better, because I'm still interested in it :D