Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (406)
games submitted by our members
Games in WIP (293)
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
1  Games Center / WIP games, tools & toy projects / Re: 2D platformer (Boxman) on: 2013-05-11 23:11:43
One video to show those map sections loading:

<a href="http://www.youtube.com/v/0IWoWuarjhE?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/0IWoWuarjhE?version=3&amp;hl=en_US&amp;start=</a>
2  Games Center / WIP games, tools & toy projects / Re: 2D platformer (Boxman) on: 2013-05-11 23:10:03
Break your maps into "sections".  If the player nears the end of a section, load the next section (from disk) in a background thread.  It's probably a good idea to keep the previous section in memory until the player nears another section.  If you need more detail, let me know.

Yep I've done that. The map begins from (0,0) and each coordinate point is a section of a map containing blocks. The section in which the character and all adjacent sections are active, others are serialized to disk. It is not yet threaded because I had some weird problems and need to clean the design before adding concurrency. I'll post later how it works. :b I have some performance issues with Android and I think I'm killing the gc with those section loads and saves.

The game looks really cool!  I like how you can create a block when jumping.  What would be neat is if you could create the block, jump off it and after a second or two, it drops (maybe on an enemy below -- killing it).

Keep up the good work!

That sounds fun, I'll need to try it out! All the physics are not perfect yet. Earlier I had also moving blocks "done" but I had to redo most of the game when I started using Libgdx and haven't done them again yet.

Thanks a lot for the feedback!
3  Games Center / WIP games, tools & toy projects / Re: 2D platformer (Boxman) on: 2013-05-09 19:48:20
We have started using Libgdx for this game and it feels very promising so far. We will target both desktop and Android from now on.

http://louhigames.com/2013/05/07/we-are-back/

Here you can see "chunks" working:

<a href="http://www.youtube.com/v/HU3FMl0hsFI?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/HU3FMl0hsFI?version=3&amp;hl=en_US&amp;start=</a>

And here some new blocks:

<a href="http://www.youtube.com/v/elHqm3j_I20?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/elHqm3j_I20?version=3&amp;hl=en_US&amp;start=</a>
4  Games Center / WIP games, tools & toy projects / Re: 2D platformer (Boxman) on: 2013-02-04 15:57:23
Does anyone have an idea of how I could (should) make a "continuous" map, meaning that if you go far enough to one direction, you'll end up to the beginning at some point? And without the player noticing any "joints".
5  Games Center / WIP games, tools & toy projects / Re: 2D platformer (Boxman) on: 2013-02-04 08:35:26
Now there is line of sight too. LoS and block activation / deactivation runs in a separate thread scheduled to run in intervals.
6  Games Center / WIP games, tools & toy projects / Re: 2D platformer (Boxman) on: 2013-02-03 10:07:12
I want the maps to be very big, so I've been implementing a way to activate and deactivate blocks based on the distance from the player. The base functionality is done and surprisingly also somewhat working, but I still need to do some performance tuning. At some point I was able to play 100x100 map without the modification, and 1000x1000 with the modification, so I think it's going to work just fine. Enjoyable programming.
7  Games Center / WIP games, tools & toy projects / Re: 2D platformer (Boxman) on: 2013-01-29 10:52:58
If your OS is Windows, you can use Microsoft Expression Encoder for screen recording.

It has amazing performance even with high quality recordings.

And it's free for the full version.

http://www.microsoft.com/en-us/download/details.aspx?id=27870

That might help you get a better video.

Thanks a lot, I've added a better video. Didn't get the audio though, but I'll figure it out when I have the time.

http://www.youtube.com/watch?v=wMhLiHLCCnI

Edit: I also fixed a bug that caused a nullpointer ex and added some delay so that you could more easily jump from the edges (certain amount of time after the falling has started when the jumping is still ok).
8  Games Center / WIP games, tools & toy projects / Re: 2D platformer (Boxman) on: 2013-01-29 08:29:36
I've added digging and building, and simple sounds.

Arrow key + x => digging.
c + arrow key => building.

Seems to be buggy and may crash. Deleting objects probably causes some nullpointers.

Jar also works as standalone:
http://louhigames.com/2dplatformer/
9  Games Center / WIP games, tools & toy projects / Re: 2D platformer (Boxman) on: 2012-12-29 21:29:14
I added a bit longer tether to the camera and now this

http://louhigames.com/2dplatformer/

version looks "good" I think.

Content would be nice.
10  Games Center / WIP games, tools & toy projects / Re: 2D platformer (Boxman) on: 2012-12-29 00:47:26
A small update. Rendering is now done in a separate thread which could make things smoother... But somehow something is still missing. You can compare the old and new implementations:

Old:
http://arttu.louhigames.com/game

New:
http://louhigames.com/2dplatformer/


The new one doesn't look as good because it has smaller blocks. I'll figure out a way to draw them more nicely.

All feedback is welcome as well as tips on how to make the game run smoothly.
11  Games Center / WIP games, tools & toy projects / Re: 2D platformer (Boxman) on: 2012-12-12 10:01:24
Looks like I got the hardware acceleration to work after all. It would be nice to hear how smooth the game feels if someone has tested the Applet? You can also open the Java console while playing to see if the hardware acceleration works on your machine.

Edit: I've added one video (quite poor quality): http://www.youtube.com/watch?v=sTBJmiiL7Wo&feature=plcp
12  Games Center / WIP games, tools & toy projects / Re: [WIP] Android RPG with no name on: 2012-12-11 14:00:45
This is very impressive. Hopefully you'll manage to make the gameplay enjoyable and support gamepads.
13  Games Center / WIP games, tools & toy projects / Re: 2D platformer (Boxman) on: 2012-12-11 11:23:28
The graphics look very nice. What program do you use? (I use Paint.NET for pixel-art, and gimp for making backgrounds)  Smiley

Teemu did mock-ups with Google Drawing. I usually use Paint.NET for everything I need to do (which isn't much or sophisticated). The drawing in the game is currently just filled rectangles - the intention is to change tile size depending on the screen size.
14  Games Center / WIP games, tools & toy projects / Re: 2D platformer (Boxman) on: 2012-12-11 11:08:18
I think new graphics are pretty (Teemu did those). Tongue

15  Games Center / WIP games, tools & toy projects / Re: 2D platformer (Boxman) on: 2012-12-10 14:45:54
I've added a way to "attack" by pressing down when the character is jumping.

Looks like hardware acceleration is not an easy task achieve with plain Java. I want to make this game without any external libraries which makes it hard to get smooth drawing... I'll need to get back to this later.
16  Games Center / WIP games, tools & toy projects / Re: 2D platformer (Boxman) on: 2012-12-05 13:27:12
I've been trying to port this to Android, but something is not working as I think it should. Without any heavyweight things I get around 17fps, and with everything (especially physics) on, the game freezes to < 1 fps. Apparently I'm doing something very, very wrong.
17  Games Center / WIP games, tools & toy projects / Re: 2D platformer (Boxman) on: 2012-12-01 18:31:00
I made the highness of the jump depend on how long the player presses the up button. I don't know if it's better than before, but I like the idea of being able to control the jump better.

I should refactore the physics and collision detection part of the engine. Too many magic numbers, and the code isn't well structured.


Edit: Now you can also jump from the walls. Just lean to the wall (press to the side) and then jump. This can be done only once per jump (the character needs to be grounded in between).

I also noticed that when playing in browser, the game doesn't look as smooth as when using the Eclipse Applet viewer. Anyone got any thoughts on that?
18  Games Center / WIP games, tools & toy projects / Re: 2D platformer (Boxman) on: 2012-11-30 09:15:28
Nice! Seems to have potential. This reminds me of how mine started out (insert nostalgic smiley here) http://www.java-gaming.org/topics/bounce-2d-platformer-w-destructable-terrain/27023/view.html

Thanks, and wow! Cheesy Seems like you have put a lot more effort to your game. I'm trying to keep this small(ish), so I would actually finish the project at some point, and make it polished. I started this out as a "quick work sample" to my website, but it just keeps getting bigger (as they always do).

Two main things I'm considering right now are multiplayer and procedural map generation. Especially multiplayer is something I've never done, so it could be a real problem... And that's probably the reason I should do it.
19  Games Center / WIP games, tools & toy projects / Re: 2D platformer (Boxman) on: 2012-11-29 18:12:12
I made the game area a bit bigger, 600x300. I also fixed one bug on physics, but you may still go inside walls sometimes. The problem might be, that if the position of the object is corrected, I don't go through all the other objects to make sure it doesn't affect them. I need to start polishing the code and then figure it out.

I made a randomly created path so there would be a bigger area to test the game, and noticed, that at some point drawing starts to bug a bit. I think it might be when the x-position goes negative.

Edit: use + and - to change the size of the character.
20  Games Center / WIP games, tools & toy projects / Re: 2D platformer (Boxman) on: 2012-11-29 09:23:37
What are you supposed to do?  Clueless

I've just recently started to make the game, so there isn't much to do yet. Right now you can just jump around and so. I haven't even made the map editor yet, although I also try to add some kind of procedural map creation to this.

Edit: Right now I'm trying to make collisions work 100% accurately.

Problems:
a) Moving box on top of another moving box is not working all the time (sliding away)
b) Leaning against an object on the left seems to put you 1 pixel inside that object.
c) Some other problems I've not identified yet.
21  Games Center / WIP games, tools & toy projects / 2D platformer (Boxman) on: 2012-11-28 19:11:02
I started doing a 2d platformer and decided to share some thoughts of the development here. We are using Libgdx and aim for desktop and Android.

The latest screenshot:


Latest video:
<a href="http://www.youtube.com/v/elHqm3j_I20?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/elHqm3j_I20?version=3&amp;hl=en_US&amp;start=</a>

Something else:
<a href="http://www.youtube.com/v/0IWoWuarjhE?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/0IWoWuarjhE?version=3&amp;hl=en_US&amp;start=</a>
22  Games Center / Showcase / Re: ApoSnake on: 2012-11-19 08:49:04
Well done, the Applet version looks good.
23  Games Center / Showcase / Re: Flygames - An Android game for cats! on: 2012-11-15 14:29:16
We made a small update: flies hitting the display edges will cause vibrations. Also fixed some small bugs (you can change volume from the main menu now). We also made new website, where you can find the .apk too: http://flygames.louhigames.com/
24  Games Center / Showcase / Re: Bystanders - 2D shooting on: 2012-11-08 14:18:56
I had to test this again with my own computer and it seems to be working fine. I can't figure out what could be the problem, but I'll keep that in mind, if we continue this. Somehow each time I test the game, I start thinking that maybe I should start implementing new enemies and weapons etc. It just requires a lot of refactoring.
25  Games Center / Showcase / Re: Bystanders - 2D shooting on: 2012-11-06 09:03:17
It's fairly neat and feels like a good amount of thought has gone into it. But wouldn't this be better in the WIP forum?

Anyways, I downloaded it and gave it a shot. It starts fine but once I hit the 19seconds gameplay time, it slows down to a crawl. Something like 0.5 fps. I'm using Windows 7 with 8GB RAM. It's probly using the Intel graphics chipset and not nvidia, but that shouldn't really slow it down so much.

PS: Nice to see you're using slick. I've just recently started working with it. Smiley

I wanted to put this here, because it is kind of a finished prototype. We are not currently coding this anymore, but we might return to the subject in the future, and it's good to know if this doesn't work on some machines and so on.

That slowdown sounds strange, I should test the game more. I don't recall hearing about those problems before, but I made some changes before putting this here so maybe I broke something.

Slick is a good and simple to use library for these kinds of projects. I'm sure you will not have any problems with it. Smiley

Thanks for the feedback!
26  Games Center / Showcase / Re: Flygames - An Android game for cats! on: 2012-10-23 08:23:12
Hah yeah thanks. Cheesy I just wish we would have time to create a proper game now.
27  Games Center / Showcase / Re: Flygames - An Android game for cats! on: 2012-10-12 09:03:34
uploading an app to Amazon is about as complicated as uploading an application to Google Play... However Amazon does do a bit of screening (You shouldn't have to worry, they look for invasive stuff)... they also take a little longer to go live, it took me like 4 days after I uploaded before my app was visible(its been almost a year since doing it, maybe they have improved?)....

Ok, thanks. I need to check it out.
28  Games Center / Showcase / Bystanders - 2D shooting on: 2012-10-11 15:04:03
I wanted to share our older project with you, hopefully this isn't seen as spamming. During 2011 we made a small 2d shooting game demo called Bystanders. It took about 6 months for us to release this demo.



Download: http://bystanders.louhigames.com/ (About 8 mb.)

The objective is to defend the base that is located to the center of the screen. You can destroy and move the boxes and collect new ammo and health.

Use wasd to move, left mouse to shoot, and right mouse to move boxes.

Edit: I forgot to mention: This used to use webstart but is now just a normal jar file. We've tested the game only on Windows 7. Before it worked also on other platforms but now I can't guarantee it. Leave a comment if you have any problems.

A game play video:
<a href="http://www.youtube.com/v/l7vZmejtPZE?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/l7vZmejtPZE?version=3&amp;hl=en_US&amp;start=</a>

Right now we have ceased the development as we concentrate on Android, but we have been thinking whether we should continue this to make a finalized small game of out the demo. We have used Slick and JBox2d in the game.

Old posts about the development are in our blog: http://louhigames.blogspot.fi/search/label/Bystanders

All feedback is again appreciated. Smiley
29  Games Center / Showcase / Re: Flygames - An Android game for cats! on: 2012-10-11 08:18:15
Tried it on my motorola photon, got my cat interested, but he is very lazy, I think if it where on a bigger screen he might get more into it....
Any chance I could get a copy of the apk so I can put it on my kindle fire?

Sure, there you go: http://www.louhigames.com/flygames/

Thank you for testing! Our cats are very playful and usually they "play" at least a bit when I put the game on, but of course they also lose their interest rather quickly when something else gets their attention.

Has anyone put an Android app to Amazon store? Is it possible to do that easily? I didn't even remember that their Android devices don't use Google Play.
30  Games Center / Showcase / Re: Clouds: simple jumping on moving platforms on: 2012-10-03 10:43:19
Good small game. I'd like the character to feel more "real" with weight or something, but a nice little game. Hard. Cheesy
Pages: [1] 2
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Browse for soundtracks for your game!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (84 views)
2013-05-17 21:29:12

alaslipknot (92 views)
2013-05-16 21:24:48

gouessej (123 views)
2013-05-16 00:53:38

gouessej (117 views)
2013-05-16 00:17:58

theagentd (127 views)
2013-05-15 15:01:13

theagentd (114 views)
2013-05-15 15:00:54

StreetDoggy (158 views)
2013-05-14 15:56:26

kutucuk (180 views)
2013-05-12 17:10:36

kutucuk (180 views)
2013-05-12 15:36:09

UnluckyDevil (187 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.144 seconds with 20 queries.