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] 3
  ignore  |  Print  
  Build & Defend -- A Tale of Survival  (Read 22891 times)
0 Members and 1 Guest are viewing this topic.
Offline Archibald

Junior Duke


Projects: 1



« Reply #30 - Posted 2012-04-12 09:59:12 »

You have basicly 3 options. FPP, crazy camera that follows the character or hide/transparent walls. None of the options you posted will work because you need not only to see the character but also enemies and these coins you gather.
Offline appel

JGO Wizard


Medals: 51
Projects: 4


I always win!


« Reply #31 - Posted 2012-04-12 10:31:05 »

Reminds me a bit of minecraft, but what doesn't these days? Looks very good.

Check out the 4K competition @ www.java4k.com
Check out GAMADU (my own site) @ http://gamadu.com/
Offline ReBirth
« Reply #32 - Posted 2012-04-12 11:53:16 »

If it's about library, I bet it's libgdx (or lwjgl).

About hidden view, I vote current one.

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

Senior Newbie


Medals: 1



« Reply #33 - Posted 2012-04-12 12:21:16 »

>> Cruiser
I am not using any existing framework (I am kind of developing mine).
For the rendering, I use lwjgl (good guess >>ReBirth).
I hope to re-use this framework for a small bomber man game later on.

>> Archibald
What is FPP?
Since there are several players that use the same screen, I can't use a rotating camera.
The only thing I can do is making the camera to aim the center of the positions of the players (and eventually zoom accordingly).
The hide/transparent wall idea is also an option: With some shaders, I can put a "glow of transparency" around the players.
This might be an evolution. However, I want this game to be playable in slow computers -- therefore, I want the player to be able to disable the shaders and still be able to play.
I don't see the problems with the two current solutions and the displaying of monsters or coins.
Offline ReBirth
« Reply #34 - Posted 2012-04-12 12:43:07 »

Bomberman? in 3D? multi floors/roofs explosions! Grin

Offline Mads

JGO Ninja


Medals: 26
Projects: 3
Exp: 6 years


One for all!


« Reply #35 - Posted 2012-04-13 00:37:34 »

I think the one with just the outline, in true Age of Empires-style.

Offline Archibald

Junior Duke


Projects: 1



« Reply #36 - Posted 2012-04-13 08:12:11 »

FPP - First Person Perspective (in the old times I would say "like Doom" but now I guess I should say "like Minecraft" Cheesy)

You don't need shaders to make transparency/hidden walls, it was done ages before shaders were invented. The simplest solution would be to make half transparent several blocks that are in front of the character.
Offline achoum

Senior Newbie


Medals: 1



« Reply #37 - Posted 2012-04-13 22:48:45 »

I think the one with just the outline, in true Age of Empires-style.

Ho yes Smiley I was really feeling like : "I already saw that, but I could not figure where..."


(Top right of the picture)

>>Archibald
Using a doom like camera would not allow to play in cooperation (unless you split the screen).
All the game and the game play is designed to have an external camera.
We don't need a new Infiniminer Smiley
Offline Archibald

Junior Duke


Projects: 1



« Reply #38 - Posted 2012-04-14 09:51:36 »

How big the "fortress" will be? The one on the screen is very tiny, is it the final size? Or maybe the fortress can reach like 10 floors with roofs and everything? In such case making the outline won't work because you won't be able to find stairs inside the building.

Comparing with Age of Empires is not the best one, because AOE was 2D, while you have to deal with 3 dimensions. Plus there you moved hundreds of units so the exact position of a single one was of insignificant importance (the outline there was used to quickly count how many units you have in the area, you never had to care how many pixels away from the fire breathing monster your only character that absolutely can't die is).

Of course the feedback would be much easier and more accurate if we had a demo Smiley
Offline achoum

Senior Newbie


Medals: 1



« Reply #39 - Posted 2012-04-14 10:40:59 »

Hi,

Here is the first video of the game:
http://www.youtube.com/watch?v=l2altNI64eU

Also, you can try thedemo on http://shlum.wtfcontent.com
I started a server, so you can also play online.

The monsters are disabled --  it is a building only demo.

Enjoy!

Ps:
The applet seems to be have some problems with Linux 64bits and some version of Firefox.
I am on it.

Ps:
>>Archibald
You are right. In the case of large fortress. I should find something else.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Gjallar

JGO Coder


Medals: 13
Projects: 1


Follower of Nurgle


« Reply #40 - Posted 2012-04-14 12:02:49 »

I build a little something on your server  Grin ... although fullscreen doesn't seem to be toggle-able with F10 (unlike in Singleplayer (regarding which I already sent you an E-Mail (with my wrong E-Mail adress (but whatever (it's the gmx.at one))))).

Hope to see more  Smiley
Offline deathpat
« Reply #41 - Posted 2012-04-14 12:34:50 »

Hi,

I just tried your demo, it runs smooth and it's quite fun to build things Smiley

But I had a really hard time using the controls and the camera. The problem was that when your start touching the camera (rotating or zooming), then it doesn't follow your character anymore. It was really easy to have the character off screen.
For the controls, the problem is that when you go up, the character always goes in the same direction, independently of the camera ... so it's easy to get to a situation where pressing up goes down, left goes right .. etc
Another thing for the controls: at the beginning it says "press button 1 to start" .. and it took some time for me to understand that button 1 is not the mouse button 1 but the G key Smiley

I also had a kind of little bug : when reaching the top of a stairs block without any other block after ( like if you build just a stair ), my character was going up and down very quickly, as if there was a collision problem.

Hope this helps, keep up the good work Wink

work in progress : D A E D A L U S
Offline tberthel
« Reply #42 - Posted 2012-04-14 13:12:13 »

Great job.

Offline ra4king

JGO Kernel


Medals: 350
Projects: 3
Exp: 5 years


I'm the King!


« Reply #43 - Posted 2012-04-14 14:25:27 »

Wow runs smoothly and nicely on my computer.

I broke the rock tile at the edge of the screen and when I went through, I got this:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
Exception in thread "Thread-24" java.lang.NullPointerException
   at Terrain.Terrain.getEntitiesInCell(Terrain.java:1015)
   at Game.PlayInstance.getEntitiesInCell(PlayInstance.java:358)
   at Entity.InDestructionBlock.getDestruction(InDestructionBlock.java:83)
   at Object.PickaxeObject.hitWall(PickaxeObject.java:87)
   at Object.PickaxeObject.stateAction(PickaxeObject.java:116)
   at Object.ObjectInstance.stateAction(ObjectInstance.java:74)
   at Entity.Player.tick(Player.java:538)
   at Game.PlayInstance.tick(PlayInstance.java:1008)
   at Game.PlayInstance.move(PlayInstance.java:586)
   at Achoum.Main.dedicatedMove(Main.java:322)
   at Achoum.Main.move(Main.java:480)
   at Achoum.Main.start(Main.java:531)
   at Achoum.AppletLuncher$1.run(AppletLuncher.java:39)

I know this must mean I shouldn't be trying to fall off the map but then again....this is a stress test Wink

Offline achoum

Senior Newbie


Medals: 1



« Reply #44 - Posted 2012-04-14 14:45:43 »

Hey Smiley
Thanks for your returns.

I took a picture of Gjallar's castle before I restarted the server.

Offline Gjallar

JGO Coder


Medals: 13
Projects: 1


Follower of Nurgle


« Reply #45 - Posted 2012-04-14 14:52:11 »

haha thanks, it's awesome isn't it?  Grin

... probably not very efficient... but pretty  Cool
Offline Geemili

Senior Duke


Medals: 9
Projects: 1
Exp: 2 years


No Games Finished


« Reply #46 - Posted 2012-04-14 16:33:24 »

I built a house! Anyone want to join me?
Offline Tim Spekler
« Reply #47 - Posted 2012-04-14 17:16:58 »

Runs really smoothly, camera is really smooth too
No obvious collision problems except for the trees.
As it was said before, camera is pretty confusing as it is not linked to the character. You can press Up and go down, etc.. And when you zoom in and go in camera direction, you loose focus on him.
Sounds promising, waiting for monsters !   Grin
Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #48 - Posted 2012-04-14 20:04:20 »

Hm the applet is not starting for me (error occurring while calculating download size) on Mac OS X with Safari. Can I download an app somewhere? Applets have been bad on Mac lately.

See my work:
OTC Software
Offline achoum

Senior Newbie


Medals: 1



« Reply #49 - Posted 2012-04-14 20:45:19 »

Most of the bug have been corrected (except for the stair's one -- I'll deal with it tomorow).

I am trying a "occlusion wall see through" solution to display hidden players.

Here is a example of what I've got so far:


I will probably "smooth" the edges of the cut walls and add some semi-transparency.

Bonus:
The pyramid (I don't know who did that, but that's pretty cool)


>>Eli Delventhal
I don't have Mac, therefore it is difficult for me to debug the Mac applet.
I was expected for lwjgl to work directly -- what a fool.
If at some point you figure the solution, please tell me. Other wise, I'll ask a friend for a Mac.
Offline ReBirth
« Reply #50 - Posted 2012-04-15 02:57:29 »

As agree as Eli, maybe a standalone executeable would be fine.

Offline Geemili

Senior Duke


Medals: 9
Projects: 1
Exp: 2 years


No Games Finished


« Reply #51 - Posted 2012-04-15 22:30:47 »

Actually, I made the pyramid. The only problem I had with it was what to do with the corners, so I decided to just ignore them. You could carve out a house into it....
Offline zproc

Innocent Bystander





« Reply #52 - Posted 2012-04-16 11:14:08 »

Hello,

first, the sprites and graphics are really lovely. Looking forward to see more of the game. Smiley

Hm the applet is not starting for me (error occurring while calculating download size) on Mac OS X with Safari. Can I download an app somewhere? Applets have been bad on Mac lately.

But, I also got this error on my Macbook with the latest Firefox on OSX Lion. Sad
(tho it's the first time I encounter this error...)
Offline davidllanos22

Junior Duke


Projects: 2


I'm just a learner!


« Reply #53 - Posted 2012-04-16 19:36:39 »

Wow, amazing! I really love the art. This game is gonna go far, man! Keep it up! Smiley

Offline achoum

Senior Newbie


Medals: 1



« Reply #54 - Posted 2012-04-24 18:35:20 »

Hi,

The game is now fully playable with monsters and everything.
The scenario system is not yet fully enable, but I think you can enjoy Smiley

New picture:


New video:
http://www.youtube.com/watch?v=t6vex7Kc_Gk

You can play it on http://shlum.wtfcontent.com.
Offline _Al3x

Senior Duke


Medals: 7


Indie Games FTW!


« Reply #55 - Posted 2012-04-24 19:34:35 »

I just love it! Smiley
How do you drink a potion? I couldn't find how Sad
Also, why you no let us select 2 key layout at the begining? Or tell us from the start what key does what, so no need to go to the options or anything.
Plus, I think the game needs or either remove the mouse at all and make the camara turn with us automatically to where we're facing or make it mouse + keyboard friendly, so you can attack, place/remove AND move the camara with the mouse AND walk around with keyboard (wasd is a must + any other you want).

I wish you the best, this game is amazingly fun!

Offline davidllanos22

Junior Duke


Projects: 2


I'm just a learner!


« Reply #56 - Posted 2012-04-24 20:09:02 »

So nice<3 I've paused at day 10, I will continue playing later! MMm in the night when the monsters spawn the game slow down a bit, I noticed it at day 8 or so. So much monsters maybe xD And i'm agree with _Al3x , a better controls would make it better. Keep it up Smiley

Offline ReBirth
« Reply #57 - Posted 2012-04-25 03:05:49 »

I couldn't play it. The download keeps failling and wastes my bandwidthes.

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
Detected from bootclasspath: C:\\PROGRA~1\\Java\\jre7\\lib\\deploy.jar
This occurred while 'Downloading packages'
invalid entry size (expected 237633544 but got 0 bytes)
java.util.zip.ZipException: invalid entry size (expected 237633544 but got 0 bytes)
   at java.util.zip.ZipInputStream.readEnd(Unknown Source)
   at java.util.zip.ZipInputStream.read(Unknown Source)
   at com.sun.deploy.net.HttpDownloadHelper.decompressWrite(Unknown Source)
   at com.sun.deploy.net.HttpDownloadHelper.download(Unknown Source)
   at com.sun.deploy.cache.Cache$4.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at com.sun.deploy.cache.Cache.downloadResourceToCache(Unknown Source)
   at com.sun.deploy.cache.DeployFileOutputStream.close(Unknown Source)
   at java.io.FilterOutputStream.close(Unknown Source)
   at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.close(Unknown Source)
   at org.lwjgl.util.applet.AppletLoader.downloadJars(AppletLoader.java:1501)
   at org.lwjgl.util.applet.AppletLoader.run(AppletLoader.java:874)
   at java.lang.Thread.run(Unknown Source)

A standalone direct download for desktop will solve this.

Offline achoum

Senior Newbie


Medals: 1



« Reply #58 - Posted 2012-04-27 06:36:08 »

Hi again Smiley

>>_Al3x
To buy potion (of any other stuff), you have to go close to the marchant (a little "buy" appears on his head), open the marchand menu (button 2), put the cursor on the potion (arrow), select it (button 1), validate the buy (button 1 again).
To drink a potion that is in your inventory, you have to open the menu (button 2), but the cursor on it (arrows), select it (button 1), validate (button 1).
Actually there is a tutorial at the beginning of the game, but it is easy to miss it.
I might have to do a proper "tutorial mod" if a lot of people are confuse with that.
The camera is a real problem for me now.
In one hand, I want the game to be playable by several people on the same screen, on the other hand the game is a 3d game and players are not necessarily close together. I am still working on it.

>>davidllanos22
The game is actually slowing be cause of the music.
The music is encoded as ogg and I am using jorbis to decode it.
During the transition of the day/night the music of the day fade and the music of the night grow.
Therefore, for a few second, the two musics are decoded simultaneously -- and that is killing the performances (according to jorbis's devlopers).
In the last version, I cut that out. The transition are a little hard, but there is no more lagging because of that.

>>ReBirth
Arg! Smiley
At some poing of the day, the web server has a lot of visite (some other web site), it may be because of that.
A stand-alone version of the game is now avalable.
It has been test on windows 32, windows 64, linux 32, linux 64 and mac os x.
You can download it on the game page http://shlum.wtfcontent.com/
Offline ReBirth
« Reply #59 - Posted 2012-04-27 11:33:59 »

I tried it. It's awesome Smiley

Pages: 1 [2] 3
  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 03:59:02

Norakomi (26 views)
2014-10-16 15:22:06

Norakomi (24 views)
2014-10-16 15:20:20

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

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

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

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

BurntPizza (63 views)
2014-10-11 23:24:42

BurntPizza (36 views)
2014-10-11 23:10:45

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

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

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

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

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16: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!