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   
Pages: 1 ... 3 4 [5] 6 7 ... 11
  ignore  |  Print  
  State of Fortune  (Read 38640 times)
0 Members and 1 Guest are viewing this topic.
Offline Longor1996
« Reply #120 - Posted 2013-03-09 14:52:46 »

Just a random question:
How does the collision work?

- Longor1996

Sorry for my bad English! That's because i am from Germany.
Offline Mike

JGO Wizard


Medals: 69
Projects: 2
Exp: 5 years


Java guru wanabee


« Reply #121 - Posted 2013-03-09 15:52:35 »

Just a random question:
How does the collision work?

- Longor1996

The collision is the worst written part of the code at the moment as I never had done collisions before and wanted to figure out what to put into the game before making it correctly Smiley I now have a pretty good idea so it's something I'll fix somewhere down the line.

The collision detection at the moment checks if the camera wants to move into a block (all block shapes have the same bounding box at the moment), if not it allows the move, and otherwise it checks if it is one of the new coordinates that limits it by combining the previous position with two of the new coordinates, if so it only moves the player in two dimensions. If it cannot move in two dimensions either it checks one dimension, and if it cannot move the player in one dimension either it doesn't move.

The downsides at the moment is that there are lots of tests, ergo lots of places where something could go wrong, and if you move quick enough you can potentially walk through blocks, as it only checks if you are inside them. and not if you passed through one.

It's quite ugly but it seems to work so I'm not going to touch it until I want to add some new functionality that demands it.

Mike

EDIT: The world is reset after having moved it to a new server. The new server is dedicated for State of Fortune and State of Profit (once I put that over), has an SSD, 4 times the ram, 16 times the cpu power and a quicker internet access, so should be good for quite some time Smiley

EDIT 2: You can now also level a lot of land at once by dragging an area instead of doing each tile individually

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline Mike

JGO Wizard


Medals: 69
Projects: 2
Exp: 5 years


Java guru wanabee


« Reply #122 - Posted 2013-03-09 21:35:46 »

Sorry for bumping but one of you guys built a very nice lake house and used walls for something I hadn't thought of (thin pillars), I love it when people do things in your game that you hadn't thought of but that turns out nice Smiley



Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline NegativeZero

JGO Coder


Medals: 14
Projects: 2


Zero but not.


« Reply #123 - Posted 2013-03-09 21:37:30 »

That would be me. But I hadn't roof'd it yet, I don't know who put that on.
Offline Mike

JGO Wizard


Medals: 69
Projects: 2
Exp: 5 years


Java guru wanabee


« Reply #124 - Posted 2013-03-09 22:12:01 »

Ah, nicely done Smiley

There is an annoying blinking going on when someone else builds something, I'll fix that Smiley

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline NegativeZero

JGO Coder


Medals: 14
Projects: 2


Zero but not.


« Reply #125 - Posted 2013-03-09 22:34:32 »


Finished Cheesy
Offline Mike

JGO Wizard


Medals: 69
Projects: 2
Exp: 5 years


Java guru wanabee


« Reply #126 - Posted 2013-03-09 22:49:17 »

With two "people" looking at it, nice! Smiley The missus is currently learning Blender and making some player models, will take some time before they are implemented though but it is nice to be able to leave that to her so I can focus on the programming part Smiley

The blinking should be fixed now.

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline NegativeZero

JGO Coder


Medals: 14
Projects: 2


Zero but not.


« Reply #127 - Posted 2013-03-09 22:54:44 »

Maybe be able to have names over people's heads for the time being? I would really like to be able to identify people somehow. Maybe even a chat system? Cheesy
Offline NegativeZero

JGO Coder


Medals: 14
Projects: 2


Zero but not.


« Reply #128 - Posted 2013-03-09 23:29:53 »

Whoever keeps on adding to my house: please stop ;_;
Offline Mike

JGO Wizard


Medals: 69
Projects: 2
Exp: 5 years


Java guru wanabee


« Reply #129 - Posted 2013-03-09 23:31:15 »

Yup, need both of them quickly, I'll grab it from state of profit soon, really need to communicate I noticed.

But I built a very nice path to the bridge! You mean-o! Smiley

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline erikd

JGO Ninja


Medals: 15
Projects: 4
Exp: 14 years


Maximumisness


« Reply #130 - Posted 2013-03-10 00:58:39 »

The missus is currently learning Blender and making some player models

lucky bastard Cheesy

Offline Mike

JGO Wizard


Medals: 69
Projects: 2
Exp: 5 years


Java guru wanabee


« Reply #131 - Posted 2013-03-10 14:40:52 »

Yup, she is way more artistic than I am and it's looking good so far.

The game now has a website and a log in system (pretty much just copied the one from state of profit). I'll now be able to store where you logged out, add a chat and show people's names over their heads.

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline Longor1996
« Reply #132 - Posted 2013-03-10 14:51:13 »

I tryed to register on the website and it seems like it worked.
But when i try to login, it just says "Incorrect username or password!".
Seems like a Bug to me.

- Longor1996

PS: I tryed to register as 'Longor1996'.

Sorry for my bad English! That's because i am from Germany.
Offline Mike

JGO Wizard


Medals: 69
Projects: 2
Exp: 5 years


Java guru wanabee


« Reply #133 - Posted 2013-03-10 15:28:15 »

Fixed it, you can now re-register Smiley

Thanks!

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline Longor1996
« Reply #134 - Posted 2013-03-10 17:05:19 »

The picture should explain the bug:



- Longor1996

Sorry for my bad English! That's because i am from Germany.
Offline Mike

JGO Wizard


Medals: 69
Projects: 2
Exp: 5 years


Java guru wanabee


« Reply #135 - Posted 2013-03-10 17:09:00 »

Nice bug Smiley I'll fix it, thanks!

It's really fun to build things with 5-6 people at once, lots of chaos as we can't talk to each other and everyone just builds what they think it should be like Tongue

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline wreed12345

JGO Knight


Medals: 22
Projects: 2
Exp: 2 years


http://linebylinecoding.blogspot.com/


« Reply #136 - Posted 2013-03-10 17:12:05 »


thats my house in the back left Cheesy

Offline Mike

JGO Wizard


Medals: 69
Projects: 2
Exp: 5 years


Java guru wanabee


« Reply #137 - Posted 2013-03-10 23:37:45 »

Ah, I saw you build it and added the stone path so it was connected to the rest of the buildings Smiley

I fixed the god ray issue and added so you now can see who is who above their "ball". I'll add chat tomorrow or Tuesday as that is very needed when you play together.

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline Longor1996
« Reply #138 - Posted 2013-03-11 16:11:06 »

Hi,

i found a bug (again)!

If you press ESC and enable the 'High quality Ground', all Nametags turn into white bars.
Picture:


I think it this is because you forgot to set the alpha-blending to the right mode.

- Longor1996

Sorry for my bad English! That's because i am from Germany.
Offline Mike

JGO Wizard


Medals: 69
Projects: 2
Exp: 5 years


Java guru wanabee


« Reply #139 - Posted 2013-03-11 17:47:02 »

Thanks, fixed it Smiley I had forgotten to register the class which arranges the player name textures so the textures didn't get recreated correctly when reinitializing.

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline Longor1996
« Reply #140 - Posted 2013-03-11 19:11:13 »

Suggestions/Ideas:
- A per-player 'torchlight' thing. (So you can see better at night)
- A ramp block.
- A fence block. (To make a garden)
- A sign block. (So you can name your build)
- A way to plant/remove trees.
- Bushes
- More flat land to build.

I know its possible to terraform the land,
but it would be nice if there already is a large flat area to build.
And i would really like to see a fence block!

- Longor1996

Sorry for my bad English! That's because i am from Germany.
Offline Mike

JGO Wizard


Medals: 69
Projects: 2
Exp: 5 years


Java guru wanabee


« Reply #141 - Posted 2013-03-11 20:02:48 »

Thanks for the suggestions! I think that almost all of you wrote will be part of the game (maybe except for the ramp block, I was going to add a stairs block instead to half the size needed for stairs). You can make a fence now already with some clever usage of the the wall shape.

I'll start with adding the chat (probably tomorrow) and then see where we go from there Smiley

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline NegativeZero

JGO Coder


Medals: 14
Projects: 2


Zero but not.


« Reply #142 - Posted 2013-03-12 05:07:20 »

Well ramps would make really nice roofs :S
Offline Mike

JGO Wizard


Medals: 69
Projects: 2
Exp: 5 years


Java guru wanabee


« Reply #143 - Posted 2013-03-12 22:45:29 »

That's true, and once stairs are in they should be quite easy to implement.

I put the chat on hold this evening and instead helped out with the character model. Not too bad for the missus first attempt at Blender Smiley

It's not in the game yet, once she improved the texture and added a walking animation I'll put him in.



Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline wreed12345

JGO Knight


Medals: 22
Projects: 2
Exp: 2 years


http://linebylinecoding.blogspot.com/


« Reply #144 - Posted 2013-03-12 23:41:39 »

This whole game is really taking shape and looking very impressive!

Offline Mike

JGO Wizard


Medals: 69
Projects: 2
Exp: 5 years


Java guru wanabee


« Reply #145 - Posted 2013-03-13 22:08:09 »

Thanks! Currently working on the movement to add the character into the game.

Also ordered an Oculus Rift to see if I can integrate it, would be awesome Smiley

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline Longor1996
« Reply #146 - Posted 2013-03-14 19:31:30 »

Yay, Character Models.

Another Random Question:
How big is the gameworld exactly?
I tryed to reach the world border... didn''t work out quite well.
Or is the gameworld 'infinite', like in Minecraft?

- Longor1996

Sorry for my bad English! That's because i am from Germany.
Offline Mike

JGO Wizard


Medals: 69
Projects: 2
Exp: 5 years


Java guru wanabee


« Reply #147 - Posted 2013-03-14 21:07:02 »

Ah, I saw you were logged in and went looking for you but didn't find you. That explains it Smiley

Yup, it is 'infinite'.

Chat is almost finished! Smiley

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline Agro
« Reply #148 - Posted 2013-03-14 21:10:53 »

I wish I could play this. D: Ubuntu won't run the java applet for some reason, and on my IBM, it runs at 3 fps. ;(

Offline Mike

JGO Wizard


Medals: 69
Projects: 2
Exp: 5 years


Java guru wanabee


« Reply #149 - Posted 2013-03-14 21:52:41 »

It's LWJGL so it should be Linux compatible. What happens when you try to run it? Can you run Minecraft?

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Pages: 1 ... 3 4 [5] 6 7 ... 11
  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 (56 views)
2014-04-15 18:08:23

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

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

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

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

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

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

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

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

CJLetsGame (212 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!