14
lxmcf
6y

Jumping back and revisiting some basics of game development that I've ignored for a while and decided to follow a tutorial for building a 2D minecraft clone just to see how easy it is to incorporate some of my engines capabilities...

Every single fucking function he is creating does not have arguments and instead uses hard coded numbers repeated throughout... Fucking send help

Comments
  • 0
    Well, rewrite the functions...
  • 1
    @iAmNaN I am but it's super irritating when I see people use magic numbers in code
  • 1
    @lxmcf agreed. Invariably, someone changes one somewhere and everything breaks. I guess it's good for honing debugging skills.
  • 3
    Time to wrtie your own tutorial!
  • 1
    what part you stuck?

    Most likely you'll be generating the mesh using the Meshfilter component, by drawing the triangles one by one
  • 0
    @nam17887 not stuck just always like to go back to basics, been working on mod support and internal engine components, thought it might be good just to go back to basics and ignore all the advanced stuff I've been doing, just to keep the brain active
  • 0
    @MrJimmy https://youtu.be/BluBl_O0BKY

    It's using and old version of GameMaker but I'm adapting it to the most recent version but the tutorial is getting worse the more I watch tbh :-/
Add Comment