A kinda large question.

Discuss and distribute tools and methods for modding. Moderator - Grognak
User avatar
Kieve
Posts: 952
Joined: Tue Sep 18, 2012 2:21 pm
Location: Low Orbit
Contact:

Re: A kinda large question.

Postby Kieve » Tue May 21, 2013 8:50 pm

kartoFlane wrote:
Kieve wrote:coding the program in such a way as to ignore "useless" tags is about the trickiest part of this mental exercise.

Code: Select all

if (weapon.missileCost > 0) {
    write("\t<missiles>" + weapon.missileCost + "</missiles>");
}

:|


Smartarse. :roll: I haven't touched real code in about five years, my code skills have atrophied disgracefully.
TheNewbie
Posts: 138
Joined: Thu Mar 28, 2013 9:56 am
Location: In HELL!

Re: A kinda large question.

Postby TheNewbie » Tue May 21, 2013 9:55 pm

You need to start with some super-basic "Programming 101" lessons


Uh... How about programming for dummies? :? P.S. By HUD I really didn't meant the HUD used in FPS games. I meant something around the screen with various options. I said HUD 'cause I had no clue how I could describe what I wanted to say. So my simple mind thought that a HUD was a very good word to implement my idea. Screw you mind! :x
shark
Posts: 173
Joined: Thu Nov 08, 2012 10:11 am

Re: A kinda large question.

Postby shark » Wed May 22, 2013 6:13 pm

I'll break it down really simply for you:
- first two years of college you learn how to write code that does nothing of value
- then you learn how to write code that actually works good, but does nothing of value
- then you learn how to make that code run much better and crash less (optimization), while also doing nothing of value
- you make your first user-interface program and realize that what is very good UI for you makes no sense for the real user that uses this software
- you learn how to better accomodate the actions that your user should be performing during his interaction with your app
- you learn basics of UI design
- you learn that, in order to have the thing look pretty and have it fully functional, you need a designer.
- the more you want it user-friendly and user-helping, the HARDER it is to make because - duuh, you have to expect what the user wants. All the while, making sure you do not make a mistake while expecting because then you have that "ugh, why did it do this now, why does it think i wanna do B every time i do A, this is stupid" frustration and instant un-install of your app.
- you learn that writing and maintaining software for free leads nowhere unless you are content with the gratitude of a very few people.

That's programming college + Masters degree in a few short lines.

But hey, on the brightside - we all started as complete noobs. So, for starters- the HUD you're referring to is called GUI - Graphical User Interface, abbreviated UI, or sometimes wrongly reffered to as "front-end". Being pragmatic, if you want to learn how to make GUI apps, lets start with a language where making GUI is easy. Which would be Java, exactly the language of choice for Superluminal, because not even seasoned C/C++ programmers don't like fucking around with QT.

So... I guess you can plan your summer around
- getting to know java
- compiling your first java program
- using SWING package.

and if all goes well, at the end of it you'll have a barely usable Alpha. Which then needs to be refined and bugfixed until a very stable Beta ;) then you poll for feedback, maybe come up with what else is missing, put it in and call yourself MyWeaponApp v1.0 and feel like you just beast-fucked and cummed all over the Universe's face. It's a very good feeling. And I really look forward to you having it, just know - it comes at a big (time) cost :)

Like, the difference between a program that prints "Hello World" on the screen and that actually opens a window that contains a text labes whose value changes to "Hello World" upon application start is a whole world apart ... they look (and work) drastically different under the hood. For one, we're not talking about the traditional "what happens next?" procedural approach, but rather a "what happens when I do/click this?" which is the event-driven approach... But hey, who am I to give you the ordering at which to pick things up ;)

@kartoFlane: and GridBagLayout, MiGLayout or QT if you prefer C++. Personally, I'd go for command-line for a first try.

* When i say "nothing of value" these are mostly academic tests revolving around a clearly-defined math problem; in the real world, you are not trying to solve a math problem but a real-life software/algorithmic problem - meaning that "things left to do/fix on this" constantly change. When you're solving a math problem, it is always constant, very clearly defined and not changing. Example is "comparing bubble sort vs merge/shell sort" when all we do is use qsort and nothing else. The 'weapon modding tool' falls in this category because well, it's much easier to learn and make any sort of weapon by hand than making a tool to handle the basest of weapons with a very rudimentary UI, something like a 'calculator' or 'money exchange' app
Roses are #FF0000
Violets are #0000FF
All of our mods
are belong to you.
shark
Posts: 173
Joined: Thu Nov 08, 2012 10:11 am

Re: A kinda large question.

Postby shark » Wed May 22, 2013 6:25 pm

Upside of sticking with Java is - if you happen to like this, getting into Android app development will be a breeze and you can actually make money off of that. So while this tool you end up with might be completely useless, experience gained and generated along the way won't go to waste at all.

Heck, just finding out if you really like messing with this sorta shit or not goes a long way.
Roses are #FF0000
Violets are #0000FF
All of our mods
are belong to you.
TheNewbie
Posts: 138
Joined: Thu Mar 28, 2013 9:56 am
Location: In HELL!

Re: A kinda large question.

Postby TheNewbie » Wed May 22, 2013 8:05 pm

Shark, you make me feel so confident. :D Thanks for the support! About Java, you mean JavaScript right? And about making money from the programme, nah. :roll:
put it in and call yourself MyWeaponApp 1.0 and feel like you just beast-fucked and cummed all over the Universe's face
:lol:
User avatar
kartoFlane
Posts: 1470
Joined: Mon Jan 14, 2013 10:20 pm

Re: A kinda large question.

Postby kartoFlane » Wed May 22, 2013 8:17 pm

Nope; Java is a programming language, generally for applications and such, while JavaScript is a scripting language used mostly by web pages to provide dynamic content.

Java is related to JavaScript in the same way that a grape is related to a grapefruit.
Superluminal2 - a ship editor for FTL
shark
Posts: 173
Joined: Thu Nov 08, 2012 10:11 am

Re: A kinda large question.

Postby shark » Wed May 22, 2013 10:04 pm

TheNewbie wrote:Shark, you make me feel so confident. :D Thanks for the support!

You're welcome.
TheNewbie wrote: About Java, you mean JavaScript right?

No :)
TheNewbie wrote:And about making money from the programme, nah. :roll:

Not from the MyWeaponsApp - maybe you get an idea for a useful mobile app, like something that calculates your current wage which is handy if you're doing waitressing, walking dogs and babysitting along college. Or maybe even a cool game ;)
Roses are #FF0000
Violets are #0000FF
All of our mods
are belong to you.
TheNewbie
Posts: 138
Joined: Thu Mar 28, 2013 9:56 am
Location: In HELL!

Re: A kinda large question.

Postby TheNewbie » Thu May 23, 2013 4:56 am

kartoFlane wrote:Nope; Java is a programming language, generally for applications and such, while JavaScript is a scripting language used mostly by web pages to provide dynamic content.

Oh, OK that's good to know.



shark wrote:Not from the MyWeaponsApp - maybe you get an idea for a useful mobile app, like something that calculates your current wage which is handy if you're doing waitressing, walking dogs and babysitting along college. Or maybe even a cool game ;)

I have to admit that I hate my part time job with passion. :? So, a bit of extra money wouldn't be bad. :P

Who is online

Users browsing this forum: No registered users and 10 guests