Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (581)
games submitted by our members
Games in WIP (500)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1] 2 3 ... 34
1  Games Center / WIP games, tools & toy projects / Re: MERCury - 2d Game Engine on: 2014-04-12 23:13:05
Leaked Conversation from #mercdev:
<wessles> Opi, what the heck is this? Why am I in sweden?!
<opiop65> Wes! I am glad you got to see this before you go!
<wessles> ...
<opiop65> I saw all those useless 'loops,' and 'graphics' in the engine! I just decided to clean those out.
<wessles> define: "clean out"
<opiop65> Well I removed them, silly! Aren't you proud of me!?
<wessles> ...
<opiop65> Also, I saw a whole bunch on lines describing what the source code does. They all started with "/**." I just cleaned those out as well! Wouldn't want anyone stealing our work, now would we?
<wessles> Opi, have you ever heard of 'Open Source?'
<opiop65> OH YEAH! Google emailed me, or maybe I emailed them.. and said they wanted to integrate Google+ into it! They gave us the go, if we just pay them $100! I just took it out of our super secret doge-coin vault; really no big deal!
<wessles> wait, how much 'integration' did you do?
<opiop65> WELL, now ALL games made with Opiopury show the G+ splash screen before they start for 50 seconds!
<wessles> ... Is it optional?
<opiop65> NO! That makes no sense, wessles. Srsly, I should have taken over a while ago!
<opiop65> I also made it so that all your high-scores go straight to G+, along with a facecam of accomplishment!!!
<wessles> How long have you been in charge?
<opiop65> idk lol
<wessles> You're fired opi.
<opiop65> no pls, what will Team Opiridius do?
<wessles> You're fired again.
== opiop65 [webchat@ool-423452.dyn.comcast.net] has left #mercdev


See you in a week, Jev is not in charge.
-wes
2  Games Center / WIP games, tools & toy projects / Re: MERCury - 2d Game Engine on: 2014-04-12 22:38:49
@Gibbo3771

I only read the words 'Timer' and 'Utility,' and I liked the idea!

I too ran into the whole seperate-thread issue when making a command line. Some commands were bound to the OGL context thread. It is very annoying, working with threads in that way. Still trying to work that out.

@Everyone
Just a heads up, I will be going on a vacation to a place where I cannot get internet easily, so I will probably be gone for spring break. I leave tomorrow morning. Until then, opiop65 is in charge.

@opiop65
Please do not mess anything up  Wink.

-wes
3  Games Center / WIP games, tools & toy projects / Re: Izzy's Revenge on: 2014-04-12 21:14:52
The enemies remind me of the Hotline Miami pig-skin  Smiley.
4  Games Center / WIP games, tools & toy projects / Re: MERCury - 2d Game Engine on: 2014-04-12 21:10:16
@matheus23

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
CommandList playerctrl = new CommandList("playerctrl");

playerctrl.addCommand(new Command("setspeed")
    {
        public void run(String...args)
        {
            speed = Integer.valueof(args[0]);
        }
    }
    // Completely unrelated, anyone else wish lambdas were in Java 7?
);


I have talked about lambdas in the past. I really like the idea of them, but the problem is that people take a while to adapt to a new JDK. Remember how long it took for Java 7 to be standard? Well, what with all the change in this update, I predict it will take even longer Tongue!

I plan on releasing a more Java 8 optimized version of MERCury soon after our beta release. I really hate splitting releases across two different JDK's, but I will probably do it for the lambdas. They are just so... amazing.

Actually, come to think of it, why hasn't everyone just switched on to Java 8? According to here, it is heavily backward compatible. You could run Java 7 source on Java 8, no? Eclipse even has some beta plugin support for Java 8, and it seems like they will update it to recognize Java 8 soon. I really have no clue why it should take any time at all to switch! My only real guess is that users themselves might not want to update Java?

-wes  Smiley
5  Games Center / WIP games, tools & toy projects / Re: MERCury - 2d Game Engine on: 2014-04-09 03:03:05
Welp, I figured that I would begin commenting out a bunch of stuffs in the engine. I feel that this will give me a good opportunity to review all that MERCury has right now. In turn, this will let me document the engine a bit better. So far, I have commented out a whopping 21 whole classes! These are all the classes in the packages merc.cmd, merc.data, merc.env, merc.exc, and merc.fmwk. This is 5/21 classes, over about 2.5 hours.




In other news, I totally did not copy the idea behind Gibbo's utility published just today thanks bro!. Here is how my totally original idea works:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
// In 1000 milliseconds (1 second), it will do whatever the task says!
TaskTiming.addTask(new Task(1000)
        {
            public void run()
            {
                Logger.debug("It has been 1 second.");
            }
        });
// Will recur 10 times every 7 seconds
TaskTiming.addTask(new Task(7000, 10)
        {
            public void run()
            {
                Logger.debug("10x RECURRING 7 SECOND REMINDER");
            }
        });
// Since the recurrence variable is negative, this will go on forever, every 7 seconds.
TaskTiming.addTask(new Task(7000, -1)
        {
            public void run()
            {
                Logger.debug("INFINITELY RECURRING 7 SECOND REMINDER");
            }
        });


This was made for all those of us who hate making a new Timer for every time we want to time something! Have fun with it!

Just a little update on today's work,
-wes
6  Games Center / WIP games, tools & toy projects / Re: Text Adventure Creation Tool on: 2014-04-08 23:40:24
You should wrap the text in the console and the text-boxes. It is very annoying.
7  Games Center / WIP games, tools & toy projects / Re: Astrofirm on: 2014-04-08 20:51:54
What change made you remove biomes?  Sad
8  Games Center / WIP games, tools & toy projects / Re: MERCury - 2d Game Engine on: 2014-04-08 01:27:38
@Slyth2727
This is my dream project. You see, I am not that good a game developer. I take more joy in making the tech behind games than actually making games. Thus this is really rewarding for me, regardless of whether or not you use it, just because this is a project I can pour tons of effort into. And when I do get more into making games themselves, this engine will help my pet-peeve of only using my own code...

In addition to what Jev has said, just email me at wesley.laferriere@gmail.com.

@kpars
Please Jev, do not tell them what you are doing. Leave it as a surprise for the Beta release.
9  Games Center / WIP games, tools & toy projects / Re: MERCury - 2d Game Engine on: 2014-04-08 00:58:19
Well guys, we are approaching a Beta release, in which we will vigorously bug test by making games.

  • Rename-
    No, I am not going for the obviously superior name 'MERC.ury.' I mean we will more re-classify it. It is currently called an engine, and, by Jev's definition:
    Quote
    [A Game Engine] is a program that acts as a game that is to be completed with assets and gameplay. A Game Library only gives you the basic components required to make a game.
    This is highly misleading as to what I intended for the engine. I think I did not know the difference between an engine and a library back then. Now that I do, I realize that we were aiming more for a library. Thus the rename.
  • New Logo-
    Because we changed the name, and the current logo is a bit boring. It is good, but not great.
  • GUI-
    Someone on our team (not naming names), has been on vacation for a bit. He is back as of today, and can continue his work on the GUI. So it's a start!
  • Rewrite documentation (as of now, it is utter crap)-
    It is just unorganized. I hate how it turned out so far, and need to restart most of it, taking heavy inspiration from other game engine documentation. From the beginning, I have been doing more a tutorial n00b spoonfeed approach. Now, I will go for a more straight, dry documentation. More on the docs later.

None of this is TOO difficult, but more time consuming. But there is one thing I would like a few opinions on, if you don't mind: how should the docs be ordered? I have no clue as to how to approach the engine. Start with Boilerplate code, of course. Then do we just go to graphics, sounds, plugins, and utils? It just makes me

In case we have a 'skimmer' here: TL;DR Beta is coming soon; we need your ideas on how the documentation should be done!

Thanks,
-wes
10  Games Center / WIP games, tools & toy projects / Re: NEW VIDEO: SixtyGig - Open World Retro RPG. on: 2014-04-08 00:08:11
Well, if I were to go about it (which I wouldn't), I would first just get a general image where all pixels of the sprite that have an alpha value of more than 0, it is black. Then you draw the shadow at a skewed angle, relative to a light source close to you.

All hypothetical of course  persecutioncomplex.
11  Games Center / WIP games, tools & toy projects / Re: NEW VIDEO: SixtyGig - Open World Retro RPG. on: 2014-04-07 23:47:51
 Shocked

Is that shadow on the player dynamic?

If so, kudos to you! That is AWESOME. How did you do it?
12  Discussions / General Discussions / Re: JGO Kickstarter on: 2014-04-07 21:29:42
What is an 'epoch?'
13  Games Center / WIP games, tools & toy projects / Re: [LibGDX] GameUtils on: 2014-04-06 17:35:10
I absolutely adore these kinds of projects. I am glad you are working on this! I always like projects that are made so that other projects can easily integrate into libraries, engines, tools, etc. It is a great thing to do for the community, as it cuts development time in half.

Good on you,
-wes  Smiley
14  Discussions / General Discussions / Re: Creating dev team Java 2d!! on: 2014-04-06 16:51:26
...and just an observation: why does everyone seem to want to form teams these days? You can accomplish vast amounts just on your own. Much more than you'll probably achieve with even two people. Every extra person you add to a team wastes a significant % of time to communications overhead.

As someone who is guilty of teaming up, I think that some coders feel like teams get more done, regardless of the person's people skills. Also, they may just want to be a part of a team. Doesn't it make you feel professional when you are working with others? Because of this, a lot of people just overestimate their people skills, and fall into the trap of forming a team without proper coding experience, or people skills, like VirtueeL here.
15  Games Center / WIP games, tools & toy projects / Re: MERCury - 2d Game Engine on: 2014-04-06 16:03:27
@trollwarrior1
You are missing the point. This is not for making the game, but for modifying it on the fly. Say you want to test something, but don't want to close the window so you can edit a single (or multiple) variable, and load the game up again. You can just change that variable to your liking on the fly, and when you find the golden spot, go back into the code and change it. It is good for just testing out certain things, like constants, and things like that. And say you want to find what is behind that wall, to check if everything spawned okay? Well, you can just noclip through it!

Of course, there is also the cheating implications, which Jev will have some fun with  Roll Eyes.

-wes  Smiley
16  Games Center / WIP games, tools & toy projects / Re: MERCury - 2d Game Engine on: 2014-04-06 06:47:12
Welp guys, I finally finished most of the Developers Console. It is all on github for you guys to try out. I am so far quite happy with my results so far. Thus, the only logical way to share this news is by naming off every single feature of it to make myself feel like I did more work than I actually did. Expect many a bugs, mispellings, and forgotten content by the way!



- Basic Commands: you can enter in small little commands with no arguments!

1  
[Command List] [Command]

As an example, let's end the program from the console.
1  
merc end


- Argumentative Commands: you can enter a command along with some arguments!

1  
[Command List] [Command] [Argument 1] [Argument 2] [And so on...]

Let's try echoing our own opinions to ourselves!
1  
2  
merc echo poop_is_funny
CONSOLE: poop_is_funny


- Quotation Marking: you can add in Strings of characters that will not be parsed, just loaded in regardless of what they are. A space inside of quotation marks will not separate the argument into two, but just add in a space to the argument.

1  
2  
merc echo "Algebraic Anime!"
CONSOLE: Algebraic Anime!


- Escaping Characters: you can make a quotation mark not do anything. You can basically make any single character not parse. Just put a '\' in front!

1  
2  
[Command List] [Command] "My name is \"Wessles\""
CONSOLE: My name is "Wessles"


- Variables: you can inject variables into your commands. Just remember the curly braces (which can also be escaped)!

1  
{[Command List] [Variable]}

These can also have arguments to feed into the code:
1  
{[Command List] [Variable] [Argument 1] [Argument 2] [And so on...]}

For an example, lets echo out our frames per second!
1  
2  
merc echo "The FPS is: "{merc fps}"; which is indeed rad."
CONSOLE: The FPS is: 60; which is indeed rad.


- Manuals: now Command List developers will have the ability to have in-console documentation on their product. Let's see the basic types:

1  
2  
// Shows the general Console guide
?

1  
2  
// Shows the Command List's manual
[Command List].?

1  
2  
// Shows the Command or Variable's manual
[Command List] [Command or Variable].?




And that is about all I have done so far! What do you think of it? Is it good, bad, in between? Please give me feedback on this, as I want this feature to be as fulfilled as possible!

Thanks,
-wes  Smiley
17  Games Center / WIP games, tools & toy projects / Re: Text Adventure Creation Tool on: 2014-04-06 00:00:39
Seems amazing!
Although I would put this and the source on github if I were you.
18  Game Development / Game Mechanics / Re: Sidescroller jumping/collision (Not Java, but Javascript) on: 2014-04-04 04:29:04
Just so you know, Javascript is VERY different from Java.

I'm well aware, as I'm writing in both languages. However this is the only forum I am on, that has anything to do with gaming, and seeing as collision detection is a general term, then I deemed it was okay to post it here(Someone correct me if I'm wrong) and I did write in the title that it was Javascript problem and not Java. Smiley

D'oh! I thought you were using Html+Javascript. *palm*
19  Game Development / Game Mechanics / Re: Sidescroller jumping/collision (Not Java, but Javascript) on: 2014-04-02 21:56:39
Just so you know, Javascript is VERY different from Java.
20  Games Center / WIP games, tools & toy projects / Re: MERCury - 2d Game Engine on: 2014-04-02 04:42:42
@opiop65
Darn you, opiop! I LOVED my old Texture[][]'s! HOW DARE YOU REPLACE THEM?!

Well, other than variable support, the console is pretty much done!
I am really liking the results so far!

Signing off for tonight,
-wes  Smiley
21  Games Center / WIP games, tools & toy projects / Re: MERCury - 2d Game Engine on: 2014-04-02 03:35:58
Actually, you may be right. I mean, it will get a bit more complex than that when I add in manuals, but great idea! You just made the parser less confusing! Up until this point, I was using solely '.' for syntax separation.
+1

-wes  Smiley
22  Games Center / WIP games, tools & toy projects / Re: MERCury - 2d Game Engine on: 2014-04-02 03:08:11
@saucymeatman
This. And if it gets below a certain threshold, it gets a spoiler  Smiley!

@Swordsminer
Swords, please; It was 11PM at night, and I just wanted to get this video out quickly. Of course, one can only dream to reach your level of speech  Cry!

@Everyone else
Dagnabbit, I'm not cas!

Also,
Idontwannagotothechitchatmonster
ON TOPIC
Idontwannagotothechitchatmonster

[/outburst_of_insanity]

Also, I am thinking of making a full blown video decribing all of the console system. I will also add in variables soon as well. MAYBE you will be able to do math, but I am not sure I can implement that in time!

-wes Cranky
See?! Its a different emoticon
23  Discussions / General Discussions / Re: JGO Kickstarter on: 2014-04-02 00:48:56
d
24  Discussions / General Discussions / Re: JGO Kickstarter on: 2014-04-02 00:32:06
@jonjava
At this point, this is like a more organized version of 'd' with Riven actively joining in.
25  Games Center / WIP games, tools & toy projects / Re: MERCury - 2d Game Engine on: 2014-04-01 04:42:15
<a href="http://www.youtube.com/v/SOX9rzjkLa4?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/SOX9rzjkLa4?version=3&amp;hl=en_US&amp;start=</a>

-wes  Wink
26  Games Center / WIP games, tools & toy projects / Re: MERCury - 2d Game Engine on: 2014-03-31 20:50:16
Will add in a new logging type: console.

@kingroka
Not so sure about cpu, but the rest seems doable! Thanks!
27  Discussions / Business and Project Discussions / Re: Looking for a small team!! on: 2014-03-31 03:38:59
Please, for your own good, back away from group work. It is way more difficult and stressful than single-work. Even with experienced people, it is often a challenge. Communication is just horrible with these types of projects.
28  Games Center / WIP games, tools & toy projects / Re: MERCury - 2d Game Engine on: 2014-03-31 03:33:52


Very low quality resize, so let me explain what just happened:
1: I opened a program
2: I typed in "end"
3: The program closed


Sincerly,
-wes  Wink
PS This should be on github soon
29  Games Center / WIP games, tools & toy projects / Re: MERCury - 2d Game Engine on: 2014-03-31 01:10:48
I have very little reflection in this engine; I intend to keep it that way for as long as possible.

I have been thinking about what commands there should be for 'merc.' Here are a few I came up with:

setFpsTarget [target fps]Will cap the FPS at a certain height.
setMouseGrab [true/false]Set whether or not the mouse is to be grabbed.
setVsync [true/false]Set whether or not vertical sync should be enabled.
sleep [milliseconds to sleep]Will stop the program for a given duration.
setTitle [window title]Set the title of the window.
setResizable [resizable]Set whether or not the window should be resizable.
endEnd the game.
setDeltaFactor [delta factor]Set the factor by which delta is to be multiplied.
setFreezeUpdate [true/false]Set the freezing of the logic.
setFreezeRender [true/false]Set the freezing of the screen.

Feel free to name off a few other defaults,
-wes
30  Games Center / WIP games, tools & toy projects / Re: MERCury - 2d Game Engine on: 2014-03-30 22:33:34
@saucymeatman
Calling methods by name infers reflection. I. do. not. do. reflection.

You will name the in-console name of the Command, and then give me a method to run when someone mentions said Command given arguments, if any.

@Phibedy
Pardon me, but I don't really understand what you are saying... Are you saying there is a built-in command line function for Java? Are you referring to System.in? Who is "we?"

EDIT:
Oh, I think I see what you are saying. You mean you want all commands to be listed when you type commandlist.?. I will implement that, now that you mention it!

-wes
Pages: [1] 2 3 ... 34
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (55 views)
2014-04-15 18:08:23

BurntPizza (53 views)
2014-04-15 03:46:01

UprightPath (66 views)
2014-04-14 17:39:50

UprightPath (49 views)
2014-04-14 17:35:47

Porlus (66 views)
2014-04-14 15:48:38

tom_mai78101 (90 views)
2014-04-10 04:04:31

BurntPizza (151 views)
2014-04-08 23:06:04

tom_mai78101 (247 views)
2014-04-05 13:34:39

trollwarrior1 (204 views)
2014-04-04 12:06:45

CJLetsGame (211 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!