Java-Gaming.org Hi !
Featured games (81)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (119)
games submitted by our members
Games in WIP (575)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2
  ignore  |  Print  
  Balanced Energy  (Read 4863 times)
0 Members and 1 Guest are viewing this topic.
Offline opiop65

JGO Kernel


Medals: 156
Projects: 7
Exp: 3 years


JumpButton Studios


« Posted 2013-09-01 12:30:45 »

For the past couple days, I decided to re-code my high school computer science final. Its a real time strategy game about controlling the map. The rules:
-two or more teams
-each team starts out with equal number of players
-when a player dies, that player is sent to the team that killed him/her
-always a set amount of players. For instance, if there are 100 players at start, there will be 100 at the end. No one dies, they just switch teams.

Download the launcher, then click the update button in the launcher to download the game! Make sure the launcher and game files are in the same directory before running, though.
http://goo.gl/FDKQ6S
Note: See huge post made on 10/8/13 for latest changelog and other info!

Four Classes
-------------
-miners to gather resources and build
-scouts to look ahead for the enemy
-warriors for the heavy duty fighting
-engineers for designing new weapons and repairing structures/players

To Win
-------
-capture a majority of the bases and kill all enemies
-have at least some research completed
-other things I'll think of later!

Right now I have the basics set up, like the entity class, lighting and the camera. Lighting is affected by tiles such as stone, and will become darker faster. I have basic path finding setup and teams.

What I need to do
------------------
-all the AI
-win game situations
-terrain gen(Done)
-gui(25% done)
-(Maybe) multiplayer, it would be my first attempt(going to use Kryonet)
-saving and loading
-different types of levels(50% done)
-switch to spritesheets
-better fonts

Some screens:

Some placeholder graphics(the red and blue things are the placeholders for my entities. I want to keep the textures basic as I love that art style for games):


Very alpha main menu:


Lighting in the day:


Lighting in the dark:


Its a very alpha version of the game, but keep in mind this is the result of around 6 hours of coding. I just wanted to put it up here so I could get some feedback on my ideas! Plus, its fuel to keep coding when people talk about you Smiley

If anyone wants, I'll upload the "game" and create an instruction manual because the key mappings are crazy. But, I am realistic, and I doubt many people would download it right now!

Other Notes
------------
-game runs very smooth even on poor setups
-using LibGDX
-plan on coding this to the end!

Offline elamre

JGO Coder


Medals: 17
Projects: 1


hitar!


« Reply #1 - Posted 2013-09-01 12:36:22 »

Cool i'm working on an rts as well. Id love to see your pre alpha Smiley

My projects:
Tower Defence!]http://www.java-gaming.org/topics/iconified/25690/view.html]Tower Defence! [lll.......] 30%!
Lightsnakerider! [llllll....] 60%!
Offline opiop65

JGO Kernel


Medals: 156
Projects: 7
Exp: 3 years


JumpButton Studios


« Reply #2 - Posted 2013-09-01 12:39:21 »

Ooh, could you show me some screens? Smiley I like looking at other games!

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline elamre

JGO Coder


Medals: 17
Projects: 1


hitar!


« Reply #3 - Posted 2013-09-01 12:43:26 »

Haha there is not much to see yet. Working hard on implementing pathfinding and networking code

My projects:
Tower Defence!]http://www.java-gaming.org/topics/iconified/25690/view.html]Tower Defence! [lll.......] 30%!
Lightsnakerider! [llllll....] 60%!
Offline Herjan
« Reply #4 - Posted 2013-09-01 13:49:22 »

LoL, I really love your menu XD

Quote
-when a player dies, that player is sent to the team that killed him/her
-always a set amount of players. For instance, if there are 100 players at start, there will be 100 at the end. No one dies, they just switch teams.

I don't understand this idea (I think), but I will see how it turns out, seems interesting. (Especially because I love to play some RTS against my friends)

Offline opiop65

JGO Kernel


Medals: 156
Projects: 7
Exp: 3 years


JumpButton Studios


« Reply #5 - Posted 2013-09-01 13:55:27 »

Oh that beast? Yeah I threw it together in about 30 minutes, pretty prou of myself xD not!
Basically you control a team. The team is made up of players that you control. If an enemy kills one of your players, your player that died is sent to the enemies team so that there are alwy a set amount of players. I find its very interesting because it makes you have to be very involved with the game and actually have a strategy to win or else you'll just be crushed by teams that are way bigger than yours!

Offline Herjan
« Reply #6 - Posted 2013-09-01 14:04:00 »

Your player that died is sent to the enemies team so that there are always a set amount of players.

Aha, that's more clear, cool idea, but Im curious how it will turn out in 'real gameplay' Tongue

Anyways, keep your code clean and have fun developing Tongue

Offline opiop65

JGO Kernel


Medals: 156
Projects: 7
Exp: 3 years


JumpButton Studios


« Reply #7 - Posted 2013-09-01 14:05:52 »

Oh, I tested the idea out before with a prototype in Java2D, it worked awesome actually Smiley! But thank you!

Offline Jeremy
« Reply #8 - Posted 2013-09-01 18:34:32 »

You should change your first image to gameplay, it looks like just a black screen in the 'latest in showcase\WIP' section.

JevaEngine, Latest Playthrough (This demo is networked with a centralized server model)

http://www.youtube.com/watch?v=rWA8bajpVXg
Offline opiop65

JGO Kernel


Medals: 156
Projects: 7
Exp: 3 years


JumpButton Studios


« Reply #9 - Posted 2013-09-01 19:18:47 »

Ah, thank you very much! Images now swapped for the sake of gaining popularity Smiley

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Ashedragon

Junior Duke


Medals: 2
Projects: 1


The best person you could possibly be is yourself.


« Reply #10 - Posted 2013-09-12 02:37:17 »

This sounds like an interesting idea thus far, best of luck to you!

Also: are you using an algorithm to determine the spaces around the light to get that shape?  Or are you just manually setting them up like that?

Need an amateur composer for your project? I charge $4~ (depending on the length) a song, and need the practice. Check out examples here: https://soundcloud.com/literature-corner

I also might help with game jams free of charge (keyword: might).
Offline opiop65

JGO Kernel


Medals: 156
Projects: 7
Exp: 3 years


JumpButton Studios


« Reply #11 - Posted 2013-09-14 02:44:38 »

Ah yes, my lighting. Its very basic actually, I'll try to explain it in the best way possible. So, I have a tile. I decrease the lightvalue of that tile by a set amount, then check up down left and right of that tile and change the lightvalue of those tiles also in the same way as the first one. There are a few checks to make sure the lightvalue doesn't exceed the range of the RGBA scale (0 - 255), and honestly that's about it. Hope that helped! Also, thanks for your feedback!


Offline opiop65

JGO Kernel


Medals: 156
Projects: 7
Exp: 3 years


JumpButton Studios


« Reply #12 - Posted 2013-09-29 01:55:28 »

So, I've been working on the game a little. Nothing too major as I'm currently in the process of moving!
-redid render system so it's now even faster than before!
-sprite sorting so there are fewer texture binds
-rewrote tile system to make it lightweight and to start preparing to accept custom tiles specified in external files
-rewrote level class so I can make it easier to create wacky levels
-general rewrite of everything/cleaning code up/making everything more OO.

I plan on tackling file loading and saving and the GUI plus a launcher for the game next!

Offline Seiya02

JGO Coder


Medals: 3
Projects: 4
Exp: 5 years


No Text Here :x


« Reply #13 - Posted 2013-09-29 13:12:14 »

This looks nice, keep up the work Smiley will the game be bound to the "grid" or will the players move free?
Offline opiop65

JGO Kernel


Medals: 156
Projects: 7
Exp: 3 years


JumpButton Studios


« Reply #14 - Posted 2013-09-29 13:20:34 »

The players will move freely Smiley (in fact, they already do!) Oh and thanks for the encouraging words!

Offline Seiya02

JGO Coder


Medals: 3
Projects: 4
Exp: 5 years


No Text Here :x


« Reply #15 - Posted 2013-09-29 14:57:34 »

I like the idea of the game Smiley so the players are npcs? do they choose their class randomly or what? (Cause they don't get created, they are just there no?)
Offline Seiya02

JGO Coder


Medals: 3
Projects: 4
Exp: 5 years


No Text Here :x


« Reply #16 - Posted 2013-09-29 16:40:11 »

This could be a lot of fun like there's 4 teams (different colors) and like 128 players on a server so that each player controlls just one character Cheesy with the same die -> change team system, that would be nice too though
Offline opiop65

JGO Kernel


Medals: 156
Projects: 7
Exp: 3 years


JumpButton Studios


« Reply #17 - Posted 2013-09-29 17:13:31 »

Oh, that's a cool idea! Right now I just assign one human player to a team which consists of a few or more little NPCs. But I might consider adding in your idea, that sounds fun!

Right now I take the total amount of players, divide them by the number of human players/AI players into teams and then divide the teams into 4 and assign a class to each NPC so that I should have an equal amount of classes on each team. I'm also planning on adding random monster that smash through the map and kill everything, it may force teams to work together for a few minutes. And it could also leave teams vulnerable, and you could backstab them while they save you!

I know I already answered your question, but I'm having fun talking about it Smiley I think the game idea is awesome if you actually see it in action. Because players never die and just switch teams, you have to carefully balance your team between defending and attacking because if you lose too many players, you're pretty much done for. I find the concept absolutely fascinating!

Offline Seiya02

JGO Coder


Medals: 3
Projects: 4
Exp: 5 years


No Text Here :x


« Reply #18 - Posted 2013-09-29 18:27:25 »

Yeah, i like that idea Cheesy also, when miners gather resources and build houses and stuff, what are these houses for? Just for changing the stats of your warriors weapons?
Offline opiop65

JGO Kernel


Medals: 156
Projects: 7
Exp: 3 years


JumpButton Studios


« Reply #19 - Posted 2013-09-29 19:21:47 »

Oh, no they'll build walls/bases. I'm going to let the player build wherever they want, so you can create your own structures. These blocks will behave health so after they are damaged a lot, you'll need to repair them or they'll break down and won't be usable anymore. Engineers will be able to research new weapons, stuff for defense and probably some other things. But they'll only be able to research when they are close to a specific tile type called something like research tile or lab or whatever I decide to go with!

Offline Seiya02

JGO Coder


Medals: 3
Projects: 4
Exp: 5 years


No Text Here :x


« Reply #20 - Posted 2013-09-29 19:23:51 »

Ah, that sounds nice Cheesy so there's like basic tiles (idk stone or sth) for making walls etc. and there's some more specific tiles like an oven or engineering table or sth?
Offline opiop65

JGO Kernel


Medals: 156
Projects: 7
Exp: 3 years


JumpButton Studios


« Reply #21 - Posted 2013-09-29 20:01:20 »

Exactly! Except I actually am going to use different tile types than stone for the walls. I want to have the ability to have tile sets for easy random terrain generation. For instance, I could have a grassy and stone tile set, a water and mud tile set etc...that I can just throw into the terrain generator to make unique levels. So I can't just use stone for the walls, I'll have to make a crafting system to make walls.

Offline Seiya02

JGO Coder


Medals: 3
Projects: 4
Exp: 5 years


No Text Here :x


« Reply #22 - Posted 2013-09-30 13:13:42 »

Sounds nice to me Cheesy
Offline opiop65

JGO Kernel


Medals: 156
Projects: 7
Exp: 3 years


JumpButton Studios


« Reply #23 - Posted 2013-10-04 03:08:02 »

Worked on it a little:
-added a spritestore class to sort my sprites and make tile creation easier
-started day night cycles
-redid player class
-started on the basics of the gui
-created a launcher for the game

Offline opiop65

JGO Kernel


Medals: 156
Projects: 7
Exp: 3 years


JumpButton Studios


« Reply #24 - Posted 2013-10-04 13:53:40 »

Damn, I accidentally deleted the project. Fortunately I have a Jar file that has all the latest sources, I'm thinking I can just use a Java decompiler and just copy and paste all the files back into the project folder, but is there an easier way? I was trying to set up GitHub and I screwed it up... *sigh*

Offline Seiya02

JGO Coder


Medals: 3
Projects: 4
Exp: 5 years


No Text Here :x


« Reply #25 - Posted 2013-10-04 17:32:35 »

If you got no backups decompiling it is probably the only way :/
Offline Drenius
« Reply #26 - Posted 2013-10-04 17:45:26 »

Maybe decompiling is not the best idea...
Do you remember the solutions for most of your problems?
If so, you could maybe recode it in a few days...
Offline opiop65

JGO Kernel


Medals: 156
Projects: 7
Exp: 3 years


JumpButton Studios


« Reply #27 - Posted 2013-10-04 17:52:07 »

Ah well, that's alright. It's worth the 30 minutes it'll take because I have a good feeling about my game! Not to sound cocky or anything, I just like my idea Smiley

Offline opiop65

JGO Kernel


Medals: 156
Projects: 7
Exp: 3 years


JumpButton Studios


« Reply #28 - Posted 2013-10-04 18:01:02 »

No, my game had around 20 classes and contained thousands of lines of code. I'd much rather just take a little time and copy and paste the code into a new project!

Offline Seiya02

JGO Coder


Medals: 3
Projects: 4
Exp: 5 years


No Text Here :x


« Reply #29 - Posted 2013-10-04 19:26:15 »

That's a solution though the comments are gone now and you maybe need to understand something again Cheesy
Pages: [1] 2
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

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

The first screenshot will be displayed as a thumbnail.

Longarmx (35 views)
2014-10-17 16:59:02

Norakomi (25 views)
2014-10-17 04:22:06

Norakomi (24 views)
2014-10-17 04:20:20

lcass (26 views)
2014-10-16 05:18:58

TehJavaDev (50 views)
2014-10-14 13:39:48

TehJavaDev (50 views)
2014-10-14 13:35:47

TehJavaDev (40 views)
2014-10-14 13:32:37

BurntPizza (63 views)
2014-10-12 12:24:42

BurntPizza (36 views)
2014-10-12 12:10:45

BurntPizza (75 views)
2014-10-12 11:30:10
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-10 11:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-03 11:36:02

List of Learning Resources
by Longor1996
2014-08-16 23:40:00

List of Learning Resources
by SilverTiger
2014-08-06 08:33:27

Resources for WIP games
by CogWheelz
2014-08-02 05:20:17

Resources for WIP games
by CogWheelz
2014-08-02 05:19:50

List of Learning Resources
by SilverTiger
2014-08-01 05:29:50

List of Learning Resources
by SilverTiger
2014-08-01 05:26:06
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!