Edit : Fixed Volfram's nose being too long and added the missing dog tag.
For a project. Everyone has a whole semester to make a game from scratch in Javascript. No engine to help.
So yeah, I decided to make turn my fic, Ahntrolan, into an RPG-sidescroller game. Only the intermission + extra part though because I failed to finish the combat section in time. These are the pictures behind the boxes used for the dialogue.
Programming is all about logic. Anyone can try and code a game or two after a certain amount of time spent learning. If you're interested, I can help you with the basic :P
That would be awesome, but I think it would have to wait. Maybe when its starts to get ugly outside again :P
Do you mean like basic logic? on/off type? Cause I already have that logic down xD
You have to perfectly describe and break down the command into an algorithm so it can do stuffs. That's pretty much the logic being used here. The On/Off looks more like a state in this case, a boolean logic, mainly used in "if-do case" condition for me. I haven't learned XML yet so when I do dialogue, I just save "Convo1 2 3" value as "True or false" and create conditions there to determine what the NPCs will say. After all, NPCs don't request the whole quest line again on the next time you decide to talk to them.
But yeah, an algorithm is crafted from many different logic combined. You know the programmer joke
"Get one milk, if they have egg, get six" right?
Human thinking : "Yeah, get milk. If they have egg, I also get 6 eggs"
Computer : "If they have eggs, get 6 milk. If they have no egg, get 1 milk"
The way we communicate constantly evolve. Shortened words, statements and slang happens. We understand this but computers don't. They are bound to mess up. Creating the right function, algorithm and statement to make sure the computer doesn't mess up like the above is what you will be learning for basic. Instead of writing the above statement, if you include the basic, you will probably say
"Get one milk. If they have egg, also get six eggs." instead to make sure the computer doesn't mess up.
I had taken Algorithm class and a class that pretty much force you to code a program to solve over 150 different basic and complex problems along with patterns so I can somewhat help you with stuffs to make programs cleaner, faster and work properly.
Link
Sammacha
I wish I had the knowledge to make a game...
Good luck, these look great as usual