Heroel - A... project? (1 Viewer)

fdk

Contributor
Content Team
Been struggling to find myself a coder to build my dream game, so I've finally decided I'm biting the bullet and doing it myself.

Coding in PHP for now to see what I can come up with as it's probably my strongest language, even though I still don't know anymore than an average 12 year old could find out on Google.

If anyone wants to laugh at me along my journey, I'm developing on live and literally have been making miniscule edits by the minute for hours. I'm just about finished up for night, so nothing will change or break (hopefully) for a few hours (not that there's anything much to do anyhow): https://heroel.com/src/

You can use a fake email to sign up no worries there's no verification or anything, the database will likely be deleted anyhow once I work more on the game.

Feel free to laugh along in the thread, I won't take it personally! :ROFLMAO:
 
  • Clap
Reactions: frm
I mean, this isn't a bad start. This is exactly how my text-based game looked when I soft-launched, except I launched it within a container at least and with another font (some coloring) and a logo.

As I grew, so did the layout and functionality.

I learned PHP as a procedural programming language (PHP3), and when they introduced classes in PHP4 (I believe), is when I started to get lost, as I came from a Visual Basic 3 background. However, I managed to grasp that. Now, it's object-oriented and it looks like a foreign language to me with $this->function()->that = function(asdf); or whatever. So, I hope you're learning it as object-oriented and using it that way, with hooks to add in features so you don't need to rebuild an entire module (like the gym) if you just want to add a bench press to the mix or something.

I take that back. I at least validated emails and hashed passwords for storage as a dumbass, I passed passwords in the URL string for about a month or two before I learned sessions/cookies. Anyone could've accessed anyone's account if they shared a link, but they wouldn't have been able to change the password.
 
Looks like a great start! And you do have to start somewhere - getting the core stuff working, then getting it pretty is usually a winning combination.
 
ffs who put me back in the hospital when I was training?

i got you rhianna GIF
 
  • Haha
Reactions: frm
I love this game almost as is and it has great potential, @fdk . Keep up the great work on it!

Low graphics, text based. My kind of style. Adding too much graphics is what kills a game like this for me.

Your battle is going to need some work though, as I'm sure you know. There will be loops within loops within loops to determine.

Loop from 1 to X until HP is done for either one (something like this).
  1. Who can attack first - Speed
    1. How much damage they can get in or avoid - Agility
      1. How much damage they can inflict (by comparing the other person's speed and agility) - Strength
        1. How much damage is averted by either party - Defense
 

Users who are viewing this thread

Back
Top