Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (577)
games submitted by our members
Games in WIP (498)
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  
  Boris - A 2D Tower Climber  (Read 3383 times)
0 Members and 1 Guest are viewing this topic.
Offline theBasicMelon

Junior Member


Projects: 2



« Posted 2013-08-03 17:02:05 »

I've been working on this 2D platformer for a while now. Its not finished but hopefully you can have some fun with it in it's current state.



You play as Boris, a hard working and devoted employee. You arrive at the office as you do on any other morning, but today is no ordinary day. During the night a space fleet from the planet Jobswerth descended on the office block and now the hallways are teeming with alien beings.  I don't know how they expect you get any work done!

Battle your way up the tower, popping aliens for points and harvesting the spawners for health. Climb as high as you can before succumbing to the alien horde.



Controls
  • WAD to move and jump
  • MOUSE to aim, LEFT CLICK to shoot
  • ESC is pause
  • E to open doors
  • 1,2,3 selects the weapons

TODO:
  • More Patterns (the level generator is a bit repetitive at the moment)
  • More Enemies
  • More Weapons
  • At least local leaderboards
  • Options Menu
  • Fullscreen mode
  • Mod support starting with the ability to add extra patterns to the generator

Known Issues:
  • The launcher is a bit crappy. Windows users are having some trouble.
  • If the character stops aiming at the cursor then move the cursor out of frame and then back in to reset it
  • The frame rate for the particles tanks quite badly. This doesn't affect speed of gameplay much
  • The grenade guns that the enemies have cause some pretty buggy movement. I left them in because explosions are fun.
  • The enemies have been known to spawn in the same spot, resulting in a huge shower of blood when they shoot each other in the face
  • Semi-random crashes caused by particle and mob cleanup routines

Yeah the launcher seems to be a bit rough around the edges. If the launcher won't download, just download the zip instead and tell me which OS you are on. If you follow the instructions in the README then hopefully the launcher will see the files and act like the game is up to date.

Hopefully the above problem is fixed. Let me know if this is not the case.

Here is the download page
http://basicmelon.com/boris/download

 
Offline drabla

Junior Member


Medals: 5



« Reply #1 - Posted 2013-08-03 17:18:51 »

Sweet Smiley Nice work!

Random map generation?

Some issues:  (Using Win7 64)

- I started the launcher: It notified me that i hadn't downloaded the game but wouldn't do anything. So i clicked on play an it downloaded boris.jar into the my %appdata% folder*. The play button stayed grayed out and nothing happened. Restarting the launcher didn't do anything.
Opening %appdata%/boris it had 3 empty folders in there (bin, saves, mods) and a tmp folder from which i could start the game. The tmp folder contains your .dlls and boris.jar

- The Launcher doesn't re size itself to fit in the elements (browser)

- The game freezes add random points. Only could replicate the behavior where it freezes sometimes when i re-size my window

- The fact that your arms & weapon are seperated from your body looks kinda wierd Smiley



- Most enemies kill themselfs when shooting at me (for the first time)

The fact that i can't destroy the spawers is annoying - like that Cheesy

* I really don't like when apps (without a nice uninstaller) do this : / But thats a personal preference.
Offline theBasicMelon

Junior Member


Projects: 2



« Reply #2 - Posted 2013-08-03 17:36:31 »

Noted.

I think that may be part of the problem with the launcher on windows. All the files download but then the function that transfers them to the bin directory fails.

Can you explain the window resizing thing a bit more, does the game just completely freeze or just the cursor?

Those enemies that appear to be shooting themselves are actually two enemies on the same spot shooting each other. I'll have to rework the AI a bit to stop them doing that.

And you can't destroy the spawners? That's worrying  Undecided Do the sparks fly off them when you shoot them?

I hadn't thought of thought of an uninstaller. That'll be added when I fix some other issues ^^
 
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline drabla

Junior Member


Medals: 5



« Reply #3 - Posted 2013-08-03 17:50:16 »

@ Window re-sizing: Yes the game completely freezes. Happened first time at the very start of the level. (No enemies, particles, ... on the screen)

The enemies are a real PITA ^^ I just try to get to the door as my health resets in the next level Wink

Now i can destroy them. Either it was a bug or i was just too stupid ^^ It is kinda hard to aim. the 3 bullets you shot rarely end up where your aiming at ^^
Offline SHC
« Reply #4 - Posted 2013-08-03 17:58:23 »

The starting launcher:



The next screen: (I've manually copied all the files in tmp to bin)



The resized issue: (Scroll bars need to be at the ends)



Clicking on Play just closes the game. Manually launching the "boris.jar" runs the game but the health quickly decrease. Though, nice design.

Offline theBasicMelon

Junior Member


Projects: 2



« Reply #5 - Posted 2013-08-03 18:08:52 »

It is kinda hard to aim. the 3 bullets you shot rarely end up where your aiming at ^^

Have you tried the other weapons? The machine gun bound to 3 is slightly more OP.

Clicking on Play just closes the game. Manually launching the "boris.jar" runs the game but the health quickly decrease.

So the health just drains out and you die instantly?
Offline SHC
« Reply #6 - Posted 2013-08-03 18:14:29 »

Not instantly but somewhat fast.

Offline Herjan

Senior Member


Medals: 6
Projects: 1



« Reply #7 - Posted 2013-08-03 18:15:07 »

Unimportant question (just curious), which libraries do you use?
Offline SHC
« Reply #8 - Posted 2013-08-03 18:23:20 »

Newt, jogl and jinput right?

Offline theBasicMelon

Junior Member


Projects: 2



« Reply #9 - Posted 2013-08-03 18:28:59 »

Newt, jogl and jinput right?

Yup. There's also LuaJ in there as well which i'm using for scripted AI behaviours ect..

I'm stumped on the health drain thing. I can't think of a single reason why that might happen. Huh
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline SHC
« Reply #10 - Posted 2013-08-03 18:38:16 »

The problem is that the damage done on a single shot is more. Can you reduce it?

Offline theBasicMelon

Junior Member


Projects: 2



« Reply #11 - Posted 2013-08-03 18:44:09 »

Oh wait, do you mean you're dying too quickly because the enemies are shooting you? Or do you mean that the health is just draining away for no reason?
Offline SHC
« Reply #12 - Posted 2013-08-03 18:49:26 »

The enemy bullets come very fast with more damage.

Offline theBasicMelon

Junior Member


Projects: 2



« Reply #13 - Posted 2013-08-03 18:54:18 »

From what I can see they're dealing about 3 damage per shot, which is correct according to the code. Is that what you're getting or is it more drastic than that?
Offline Bearded Cow

Senior Newbie




¬..¬


« Reply #14 - Posted 2013-08-03 20:16:59 »

Nice concept, interesting use of the camera controls and also particle effects. Of course tons of bugs and changes to be made but a good start none the less.

N.B.
1707 Points, before I had to go for dinner.

With a variety of levels, maybe some rpg weapon upgrading element to it I can see myself playing this for hours.

BUG REPORT
  • I can be knocked through the floor if I stand in a corner for too long
  • Weapon missiles from first weapon despawn after short distance
  • Enemies aimed at me, so over longer distances they would always miss
Offline theBasicMelon

Junior Member


Projects: 2



« Reply #15 - Posted 2013-08-03 21:01:39 »

Thanks for having a go. Glad you enjoyed it despite the bugs  Grin

I agree that the computer's aiming abilities aren't the best. The AI makes an assumption that bullets fly straight. So at some point I'll have to work out how to calculate the path of the bullets and adjust behaviour based on that.

I was thinking of adding an upgrade system. I thought rouge-like upgrades would be a good idea. You would get upgrades over the play-through then start from scratch again when you die. This would mean the playing field was always level if people were competing for score. It would also make the gameplay more varied because the upgrades would change the weapons throughout the play-through.
Offline Drenius
« Reply #16 - Posted 2013-08-03 21:11:38 »

The launcher says that it has 100% of the download and does nothing then.
When restarting, it wants to download again.

But the 'story' sounds funny!
Offline theBasicMelon

Junior Member


Projects: 2



« Reply #17 - Posted 2013-08-03 21:16:38 »

The launcher says that it has 100% of the download and does nothing then.

Yeah there's a problem on windows that causes it to hang when it's moving the files out of the tmp folder. If you move them manually to the bin folder the launcher should say you're up to date.

I promise I'll get the launcher fixed ASAP  Kiss
Offline Drenius
« Reply #18 - Posted 2013-08-03 21:55:00 »

It works, but only when starting the game without launcher.
Some location stuff (eg seperated arms) is quite confusing, but a nice beginning!
Offline theBasicMelon

Junior Member


Projects: 2



« Reply #19 - Posted 2013-08-04 17:52:50 »

I've issued a patch for the launcher to fix a few problems highlighted yesterday.

I've tested on a couple of windows machines and this update seems to have solved the problem. Do let me know if this is not the case.

Changelog (Launcher):
  • Fixed problem with downloading and running the game on windows machines.
  • Fixed newsfeed not resizing to fit the screen.

The launcher won't update itself so you will have to go and re-download it from the website.
http://basicmelon.com/boris/download
Offline Drenius
« Reply #20 - Posted 2013-08-04 19:13:37 »

About that 'location stuff': it's very hard to target an enemy, because sometimes I can't find the cursor.
Offline theBasicMelon

Junior Member


Projects: 2



« Reply #21 - Posted 2013-08-04 19:25:21 »

Is this a problem with the colour of the cursor? Or is Boris not following the cursor properly? Or is it simply the elastic arm movement that is causing you bother   Clueless
Offline Drenius
« Reply #22 - Posted 2013-08-04 19:43:34 »

It's just a personal problem with always having two positions (player and cursor) always changing their relative position...
Maybe you could make a little beam from the gun to the targeted direction.
Offline theBasicMelon

Junior Member


Projects: 2



« Reply #23 - Posted 2013-08-04 20:49:49 »

Maybe you could make a little beam from the gun to the targeted direction.
That is a vey good point and a very good idea. I'll see if I can work out something that looks good.
Offline dermetfan

Senior Member


Medals: 11



« Reply #24 - Posted 2013-08-05 00:24:46 »

Looks nice, unfortunately the lags make it unplayable for me. It looks like it's the background scrolling.

Offline gongalf
« Reply #25 - Posted 2013-08-06 11:50:23 »

Nice work  Cheesy

I got one bug when I was playing. When an enemy was shooting me I went through the ground and I appeared in other level. In addition, the game slow down so much when I fire my gun (I think it's because of the explosions).

Offline theBasicMelon

Junior Member


Projects: 2



« Reply #26 - Posted 2013-08-06 23:40:34 »

Thanks for playing, I'm glad you enjoyed it.  Smiley

There is definitely a performance problem in the particle engine, but it's threaded so it shouldn't effect the game logic too much. What sort of numbers are you getting in the bottom left?
Offline theBasicMelon

Junior Member


Projects: 2



« Reply #27 - Posted 2013-12-30 16:04:56 »

It's been a little while since I've posted an update for Boris, I hope I'm not breaking any rules by replying to the same topic after so long.  Undecided

Anyway there have been quite a few changes in various parts of the game. Here goes:

Under the hood I've made some changes to how the Lua scripts are executed. For starters I've been more clever about compiling and execution and this seems to have stabilised the frame rate somewhat. Due to the performance boost I was able to make the way that mobs are managed more flexible and interesting.

As an example I've created a whole new enemy that is almost entirely different from the original. Size, shape, speed, weapon,  behaviour, and respect for the laws of gravity have all changed. The only thing that hasn't changed is the venomous hatred for humans in blue jackets. Anyway, they spawn in swarms of 5 or so randomly among the original enemy. The explode on impact so keep your distance. Smiley



I've messed with some damage values to hopefully make the game a little more challenging. The blunderbuss isn't a complete waste of time now, especially with the new enemies.

The GUI is so much more advanced than it was. We've got scrolling lists and self refreshing forms in the menus!  Shocked

You can now save scores to a leaderboard now which is nice.



So yeah, grab the launcher if you don't have it and go shoot some aliens.
Offline Bearded Cow

Senior Newbie




¬..¬


« Reply #28 - Posted 2013-12-30 17:45:59 »

I am having some troubles downloading, I tried the launcher seemed to download ok but when I open it nothing happens. So then I tired the 'Essential Files' but got an error while extracting.

"Confirm Encryption Loss"
'A problem is preventing this folder from being encryted.'

I don't know what it is talking about, would really like to see the improvements made to the game.
Offline theBasicMelon

Junior Member


Projects: 2



« Reply #29 - Posted 2013-12-30 18:10:29 »

Darn! I see what you mean about the Launcher. This is especially worrying seeing as I haven't updated the Launcher at all.  Cry

Could you give me some system info: OS, Java version, ect?
Surprisingly I can get the Launcher to open in OSX, but only if I use the terminal. Windows isn't running at all.

As for the zip, have you tried re-downloading it? It seems to unzip just fine over here?
Pages: [1] 2
  ignore  |  Print  
 
 

 

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 (19 views)
2014-04-15 18:08:23

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

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

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

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

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

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

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

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

CJLetsGame (187 views)
2014-04-01 02:16:10
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

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:05:20
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!