Notings of Attention™
Acmlmboard 2 Released
Github/GIT | @acmlmboard
Chatting Places
Discord

Affiliates
Super Mario Bros. X | Kuribo64 | NeoRHDN
Views: 11,030,510
Main | FAQ | IRC chat | Memberlist | Active users | Latest posts | Stats | Ranks | Online users | Search
11-21-24 12:45 PM
Guest: Register | Login

0 users currently in Kafuka Gaming Arcade | 20 bots

Main - Kafuka Gaming Arcade - Terraria thread! (3)
Next newer thread | Next older thread

Pages: 1 2

Kawa
Posted on 01-07-12 02:04 PM Link | ID: 1323
Retired Staff

Not okay
Prophet of Celestia
Level: 94


Posts: 67/2423
EXP: 8183350
Next: 173307

Since: 01-01-12
From: The Netherlands

Last post: 2237 days
Last view: 552 days
That reminds me. Even with Player.Hurt() always returning 0.0, you still gotta breathe. Because apparently drowning and burning are handled separately.

In other news, something I've ranted about on IRC earlier that bears repeating: this game is very sloppily coded. It's in C#, they've got all these wonderful toys to work with. But what do they do? They make all enemy encounters and friendly NPCs a single class (NPC), and each and every item too (Item). Each of these has a bunch of insanely huge methods to update and create instances.

So why not have your Item base class and have subclasses for each kind of item? You could have Powder, which would be as unavailable as Item is, to define a certain behavior, then have Purification and Vile Powder as subs on that, differing only in icon, name, price and what exactly they spread. Sure, you get a whole lot of classes, but the system can handle it and it makes your code so much more readable. And that makes it easier to extend, so you can add even more content to it!

Same for NPCs, of course.


Lunaria
Posted on 01-07-12 02:10 PM Link | ID: 1324
Normal User
Professional Lurker
Level: 36


Posts: 26/262
EXP: 290910
Next: 17200

Since: 01-03-12

Last post: 2221 days
Last view: 2220 days
Expecting people of this day and age to code smart? Surely you jest? :P

I'd love many game to be coded better then they are so they run smoother and use less resources, but people just don't care anymore.

____________________
Broken layout got nuked. :v

Kawa
Posted on 01-07-12 02:15 PM Link | ID: 1326
Retired Staff

Not okay
Prophet of Celestia
Level: 94


Posts: 69/2423
EXP: 8183350
Next: 173307

Since: 01-01-12
From: The Netherlands

Last post: 2237 days
Last view: 552 days
Even I code "smart", compared to Re-Logic. I'm dead fucking serious.


Ailure
Posted on 01-07-12 03:55 PM Link | ID: 1452
Retired Staff

Buzzy Beetle
Red pandas and stuff
Level: 43


Posts: 55/398
EXP: 544785
Next: 20261

Since: 01-01-12

Last post: 2696 days
Last view: 898 days
Posted by Kawa
In other news, something I've ranted about on IRC earlier that bears repeating: this game is very sloppily coded. It's in C#, they've got all these wonderful toys to work with. But what do they do? They make all enemy encounters and friendly NPCs a single class (NPC), and each and every item too (Item). Each of these has a bunch of insanely huge methods to update and create instances.
Indie games in general seem to suffer from some weird coding decisions. It's the same thing for Minecraft for one (using floats where integers are a whole better is one thing).

I hadn't played Terraria in awhile, I just hadn't gotten in the mood again. I wanted to reroll a new character but the game is so slow in the beginning.

____________________
AIM: gamefreak1337, MSN: Emil_sim@spray.se, XMPP: ailure@xmpp.kafuka.org, YouTube



Kawa
Posted on 01-07-12 03:57 PM Link | ID: 1453
Retired Staff

Not okay
Prophet of Celestia
Level: 94


Posts: 78/2423
EXP: 8183350
Next: 173307

Since: 01-01-12
From: The Netherlands

Last post: 2237 days
Last view: 552 days
Posted by Ailure
Indie games
What am I then, a professional developer?


Haz
Posted on 01-07-12 04:01 PM Link | ID: 1457
Banned

Shyguy

Level: 23


Posts: 18/92
EXP: 60531
Next: 7192

Since: 01-04-12

Last post: 3784 days
Last view: 3644 days
Kawa, a lot of times it's just the easier, or the first way, of doing things they thought of, and they ran with it.
One of the nicer things about indie developers is that they're often times easier to contact, so why not suggest that to them?

____________________


~

Jet
Posted on 01-07-12 04:03 PM Link | ID: 1459
Banned
Unbanned indefinitely.
Level: 38


Posts: 103/295
EXP: 347588
Next: 22859

Since: 01-03-12
From: Scotland

Last post: 3784 days
Last view: 3783 days
Some Indie developers though, like Team Meat, are very stubborn..

Ailure
Posted on 01-07-12 04:04 PM (rev. 2 of 01-07-12 04:04 PM by Ailure) Link | ID: 1460
Retired Staff

Buzzy Beetle
Red pandas and stuff
Level: 43


Posts: 56/398
EXP: 544785
Next: 20261

Since: 01-01-12

Last post: 2696 days
Last view: 898 days
Team Meat hardcoded SQL login info into their client, and uses that for nearly everything in the game (scoreboard and custom levels database). And they were in kind of denial when they were found in the "We know what we are doing" way. That's pretty much top class stubborness.

____________________
AIM: gamefreak1337, MSN: Emil_sim@spray.se, XMPP: ailure@xmpp.kafuka.org, YouTube



Kawa
Posted on 01-07-12 04:21 PM Link | ID: 1484
Retired Staff

Not okay
Prophet of Celestia
Level: 94


Posts: 79/2423
EXP: 8183350
Next: 173307

Since: 01-01-12
From: The Netherlands

Last post: 2237 days
Last view: 552 days
The problem is that Terraria is too damn big by now. Even though there's an obvious way to keep savegames exactly the same between the "everything in one class" and "sane" styles, there's just too much work involved to make that switch. It's just too unlikely they'll say something like "hey yeah that's actually a pretty good idea".

But that's just my opinion.

Pages: 1 2


Next newer thread | Next older thread
Main - Kafuka Gaming Arcade - Terraria thread! (3)


Acmlmboard v2.5.6 (06/11/2024)
© 2005-2024 Acmlm, Emuz, et al.

Page rendered in 0.055 seconds. (798KB of memory used)
MySQL - queries: 118, rows: 535/571, time: 0.044 seconds.