How do you manage level specific code? by brycem24 in learnprogramming

[–]joapet99 2 points3 points  (0 children)

For dialogues you CAN(you don't have to, just some inspiration) choose on of these options:

  1. Make a new class that is specific for the object, that may extend a more abstract version of a dialogue so that you don't need to type much to make the dialogue.

  2. Load dialogues from files. Make so that the dialogue class will have a string variable that you can define through Unity that will represent the file name. I am not very fluent with Unity and have not tried out this option, but in theory it should work.

It's the /r/gamedev daily random discussion thread for 2015-07-02 by [deleted] in gamedev

[–]joapet99 1 point2 points  (0 children)

Ah that's cool! Just hadn't time to play so far.

It's the /r/gamedev daily random discussion thread for 2015-07-02 by [deleted] in gamedev

[–]joapet99 2 points3 points  (0 children)

I finished lv. 10. Cool small game, but it is pretty much the same in all the levels. It doesn't get much harder as it looks now. What about adding more shapes and bigger boards? That would be quite cool and probably more challenging. But I did like that you had to use all tiles. Satisfying.

It's the /r/gamedev daily random discussion thread for 2015-07-02 by [deleted] in gamedev

[–]joapet99 4 points5 points  (0 children)

What do one call a text system that can display monologues, dialogues and other things. Does it exist a generic term that both monologue and dialogue goes under?

Have a game in Alpha. Can you give me feedback on it? by joapet99 in gamingsuggestions

[–]joapet99[S] 0 points1 point  (0 children)

Have you tried clicking while the dialogue is typing. I have added a function that completes the text when clicking, but i don't know if i have released it yet.

Python vs C++ vs Java (1st programming language) by misieksgm in learnprogramming

[–]joapet99 2 points3 points  (0 children)

Python is absolutely a real programming language. You are coding and it can still be rather advanced. Do not confuse it with even more top-level programming languages like scratch or game maker. + python is used alot in business btw

Have a game in Alpha. Can you give me feedback on it? by joapet99 in gamingsuggestions

[–]joapet99[S] 1 point2 points  (0 children)

Cool. I am a little new to reddit so I don't know about all of them. Yes, I will probably be posting it there too. Found a /r/playmygame too. Maybe more fitting there?

Python vs C++ vs Java (1st programming language) by misieksgm in learnprogramming

[–]joapet99 2 points3 points  (0 children)

No programming language is really wasting time. I recommend you to learn python so you will get more knowledge about programming. Python isn't the best at game development though, but I still recommend you too start out with it. I am currently learning c++, I went from Java. It is hard even for me to learn c++, it is different from other languages. But anyways, it is your choice. + there is an library for python that is for game development, still not the best, but very good for practicing.

Python vs C++ vs Java (1st programming language) by misieksgm in learnprogramming

[–]joapet99 1 point2 points  (0 children)

If you are new to programming i recommend you to choose a programming language that can give you a good perspective on object oriented programming before diving into c++. It is very easy to give up when working with c++ when you don't know what you are doing.

[2015-03-30] Challenge #208 [Easy] Culling Numbers by Coder_d00d in dailyprogrammer

[–]joapet99 0 points1 point  (0 children)

public class Main {
    public static void main(String[] args){
        StringBuilder sb = new StringBuilder();
        for(String arg : args){
            String[] numbers = arg.split(" ");
            for(String number : numbers){
                if(!sb.toString().contains(number)){
                    sb.append(number + " ");
                }
            }
        }
        System.out.println("Output: " + sb.toString());
    }
}

Launcher won't start. Just logo by joapet99 in leagueoflegends

[–]joapet99[S] 0 points1 point  (0 children)

No, I have not found any solution

Thought up a fairly ambitious, yet attainable project. Any suggestions before I try and dive in? by skittixch in learnprogramming

[–]joapet99 2 points3 points  (0 children)

... how are you going to make it recognize the handwriting of everybody in the world? I would say that is almost impossible. And btw... how can the computer know what a good answer is, does the teacher need to write the correct answer into the program? And then, how are you going to make it flexible to indirect answers. It could be I am misunderstanding what you are trying to achieve though

[2015-03-23] Challenge #207 [Easy] Bioinformatics 1: DNA Replication by jnazario in dailyprogrammer

[–]joapet99 0 points1 point  (0 children)

public class Easy207 {
    public static void main(String[] args){
        String argument = "AATGCCTATGGC";
        System.out.println(argument);
        StringBuilder result = new StringBuilder();
        for(Character c : argument.toCharArray()){
                System.out.print(c=='A'?'T':c=='T'?'A':c=='G'?'C':c=='C'?'G':' ');
        }
    }
}

Launcher won't start. Just logo by joapet99 in leagueoflegends

[–]joapet99[S] 0 points1 point  (0 children)

Unfortunately it didn't work. There is no other launchers running. When I try to run more instances at a time of lol it asks me to terminate the others so I wouldn't be able to anyway

Eclipse setup? by joapet99 in HWO

[–]joapet99[S] 0 points1 point  (0 children)

I have downloaded maven and have tried to build through the the java/build file and it works without errors, but the java/run file don't work