Java-Gaming.org Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (757)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (844)
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 3 4
1  Games Center / WIP games, tools & toy projects / Re: [Libgdx][Akka] TAnima- mmo rogue-like on: 2018-06-24 15:49:32
TAnima OST: Going back in time
<a href="http://www.youtube.com/v/Tb_I57JRFtI?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/Tb_I57JRFtI?version=3&amp;hl=en_US&amp;start=</a>
2  Games Center / WIP games, tools & toy projects / Re: [Libgdx][Akka] TAnima- mmo rogue-like on: 2018-06-19 10:11:32
I was working on clustering. It works now.

Below htop from cluster of 2 machines each with virtual 4cores x 2GHz and 4GB RAM.
Load: 800 client bots connecting to server and running all the time with freq 5 moves per second.
Server loaded enough to not affect ping (around 22ms on client's 100Mb/s connection)



I've also created load balancer to move connection between serwers along with player's moving around game levels shards. Cheesy
3  Discussions / Miscellaneous Topics / Re: What I did today on: 2018-06-19 10:10:14
I was working on clustering my game's serwer (TAnima). It works now.

Below htop from cluster of 2 machines each with virtual 4cores x 2GHz and 4GB RAM.
Load: 800 client bots connecting to server and running all the time with freq 5 moves per second.
Server loaded enough to not affect ping (around 22ms on client's 100Mb/s connection)



I've also created load balancer to move connection between serwers along with player's moving around game levels shards.

Previously I've put monolith configuration on 1 machine with virtual 8cores x 2GHz and 16GB RAM. It achieved around 1k bots up and running.

Cheesy
4  Games Center / WIP games, tools & toy projects / Re: [Libgdx][Akka] TAnima- mmo rogue-like on: 2018-06-17 20:51:36
VPS Smiley For now I was looking for some cheap provider for testing.

Performance test resources:
Hosting: tiktalik.com
System: CentOS7 64b
Size: Standard- 16Unit
"Each Std Unit supplies 1 GB RAM and CPU corresponding to 1000MHz.” - tiktalik comment
Price: ~142pln/month (about 40$/month)

5  Games Center / WIP games, tools & toy projects / Re: [Libgdx][Akka] TAnima- mmo rogue-like on: 2018-06-17 02:55:07
Thanks Smiley not yet but it's at the corner. Still need to do some things and tests. Yesterday I was testing performance and it looks like 8x2GHz CPU and 16 GB RAM can handle about 1000 users. I want to check clustering now.

About what TAnima means- quote (I hope it describes what TAnima means Smiley):

Just for clarification about the plot: Humans finds new source of energy on newly discovered moon. They started to exploat it as the fuel for their space ships and machinery. They've built a big mining tower surrounding crystal's surface. After some time they've discovered that this crystal is a living form (not just some rock like they thought before). It fired up it's immune system which traped miners and started extermination. After this incident, imperials decided to convert this tower into prison where criminals will work on mining fuel. Crystal started to learn about humans, abstracted itself into synthetic voice and injected into minds of affected prisoners. It suddenly stopped massive human extermination and started symbiosis. No one knows why. Tower has been absorbed by crystal, changing it's structure into imaginations gathered from human mind (same as spawned creatures). It is still learning and not understands humanity same way as humanity itself which leads to weird conclusions and twists. TAnima is the name of this tower-crystal. It will be described in first few minutes of gameplay Smiley
6  Discussions / Miscellaneous Topics / Re: What I did today on: 2018-06-15 18:44:50
I've found nightcore (about 2 years ago) not distracting enough to listen it while working on something creative.

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

You can find music that you actually like but cause of remix into nigthcore it's not that invasive to distract you.

Before I was listening rock, metal and rap sometimes.
7  Games Center / WIP games, tools & toy projects / Re: [Libgdx][Akka] TAnima- mmo rogue-like on: 2018-06-15 15:58:43
Thank you guys! I've started working on soundtrack now. Maybe 3-4 will be enough for first version.

@meva, that's right. I wanted to make it similiar way. I've divided development process into few stages. For now I am finishing basic mechanics and content to start testing networking along with testers and release first dev demo.

Next stage will be: providing content (plot, graphics, new levels, monsters, quests, weapons etc) Smiley But it will be after initial release.


TAnima OST: Like it was yesterday
<a href="http://www.youtube.com/v/AEWospKSbeQ?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/AEWospKSbeQ?version=3&amp;hl=en_US&amp;start=</a>

Next one will be more dynamic
8  Games Center / WIP games, tools & toy projects / Re: [Libgdx][Akka] TAnima- mmo rogue-like on: 2018-06-14 22:07:34
<a href="http://www.youtube.com/v/kkERb09RAvE?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/kkERb09RAvE?version=3&amp;hl=en_US&amp;start=</a>
9  Game Development / Newbie & Debugging Questions / Re: Game running slower with many objects on: 2018-06-12 20:20:04
so, it means if we are using 2D and we use JOGL instead that will make us to have a better performance in our game?

OpenGL is the best in case of performance for Java because of it's nature. So yes. Just like you said.
10  Games Center / WIP games, tools & toy projects / Re: [Libgdx][Akka] TAnima- mmo rogue-like on: 2018-06-12 19:32:03
<a href="http://www.youtube.com/v/J8x9SMjVnM0?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/J8x9SMjVnM0?version=3&amp;hl=en_US&amp;start=</a>

Today I've added:
-First version of basic SFX
-unlocking new character classes
-blackbox- you can save 3 items for next incarnation

Also few things like cinematic effects and login screen Smiley
What do you think? Smiley
11  Discussions / General Discussions / Re: Consecutive post limit on: 2018-06-12 18:00:40
Quick workaround:
Merge previous posts into one and post new one.
12  Game Development / Newbie & Debugging Questions / Re: Game running slower with many objects on: 2018-06-11 18:29:14
Libgdx- java game framework. Built on top of LWJGL.
Sorry to contradict you but LibGDX has several backends including one (unofficial) based on JOGL 2, another one using GWT and another one using Android OpenGL framework as far as I remember:
https://github.com/libgdx/libgdx/tree/master/backends

Yeah. Simplification. I didn't wanted to add too many new terms for newbie.
13  Game Development / Newbie & Debugging Questions / Re: Game running slower with many objects on: 2018-06-11 14:39:31
It looks like this:

Below described tools (ordered by abstraction level):

Strict Java ui tools (AWT family):
AWT- java ui library. Designed to create ui on top of native os. Pretty old.
Swing- low weight java ui lib based on AWT (These days no one is using AWT but Swing for Java ui. Or JavaFX)
JavaFX- Java RIA framework

What is opengl?
OpenGL- crossplatform graphic API. That's why it's popular in Java in comparison to DirectX

Java Graphics (OpenGL family):
JOGL- OpenGL in java
LWJGL- (Lightweight Java Game Library) built on top of JOGL
Libgdx- java game framework. Built on top of LWJGL.



Low level programming (low abstraction level) gives you more control. But you have to take care of various things that you won't in higher abstraction. It's good if you want to learn how it works under the hood.

Higher abstraction level (frameworks/engines here) gives you many usable tools that makes you code faster and not think about things like this render loop and fps. If you want to get more control, you have to dig in this framework (Sometimes it's painful). You focus only on the things that you want.

Libgdx is considered as the best because it's mature, easy, crossplatform and rich.


Tip: Don't use AWT family for gamedev. It's like using crayon to paint graffiti on the wall. Whatever game you will be making in Java- use Libgdx. Easy and powerful enough.
14  Game Development / Newbie & Debugging Questions / Re: Game running slower with many objects on: 2018-06-11 14:06:00
Long time ago I was using canvas to render graphics. But it's performance is low as hell. Specially when drawing a lot of sprites. This solution is not scaling because it's not designed to work on heavy load.

If you want to fix it well- move to library that is supporting opengl. libgdx for me is the best in Java. If you want low level programming for some reason- go jogl/lwjgl. As far as I remember- awt is running graphic calculations on CPU by default which is... bad idea for games.
15  Game Development / Newbie & Debugging Questions / Re: Game running slower with many objects on: 2018-06-11 13:51:46
First at all- I suggest using Libgdx. AWT is old and not dedicated for games.
Second thing- about this FPS- where do you update FPS counter? I don't see it. It looks like it's never updated (that's why it's constant). Try to fix and check how much do you get Smiley
16  Games Center / WIP games, tools & toy projects / Re: [Libgdx][Akka] TAnima- mmo rogue-like on: 2018-06-10 18:19:12
Thanks @ral0r2 Smiley

It was more like a showing some new stuff that by accident converted into "teaser". On the official one I will spend much more effort including some voice acting and high res promo graphics (I hope xD). And it's too long just as you said.

Plot is also a little mysterious right now. After finishing basic mechanics and releasing alpha for networking testing I will focus on providing more resources and plot itself.

Just for clarification about the plot: Humans finds new source of energy on newly discovered moon. They started to exploat it as the fuel for their space ships and machinery. They've built a big mining tower surrounding crystal's surface. After some time they've discovered that this crystal is a living form (not just some rock like they thought before). It fired up it's immune system which traped miners and started extermination. After this incident, imperials decided to convert this tower into prison where criminals will work on mining fuel. Crystal started to learn about humans, abstracted itself into synthetic voice and injected into minds of affected prisoners. It suddenly stopped massive human extermination and started symbiosis. No one knows why. Tower has been absorbed by crystal, changing it's structure into imaginations gathered from human mind (same as spawned creatures). It is still learning and not understands humanity same way as humanity itself which leads to weird conclusions and twists. TAnima is the name of this tower-crystal. It will be described in first few minutes of gameplay Smiley

I am not native english speaker as well Smiley I'll need someone to check grammar before releasing officials.
17  Game Development / Game Play & Game Design / Re: Data structures for loading huge tilemaps on: 2018-06-10 12:27:18
How do people go about this in larger 2D games - many small chunks? Any solution where you just load the entire map in a tree and fill data structures as you go?

Yeah. Many small chunks are much more flexible.

This one may be helpful:
https://minecraft.gamepedia.com/Chunk
18  Game Development / Game Play & Game Design / Re: Data structures for loading huge tilemaps on: 2018-06-09 13:16:30
Nice Smiley gamedev is good choice if you are looking for challenge. Personally I would not recommend RPG as first choice. It's attractive vision to create own RPG but usually it ends up as a failure if you don't have enough experience. One of the hardest genre.

Could you post some screenshots of this map?

2000x3000 tiles takes 1GB? How xD

Your approach is ok in general. That's how seamless spaces works. Save chunk state only when chunk is going down. Not when new one is rising up.

I am using zones instead of openworld in my game so it's much easier. I've used something similar to this chunks solution for rendering
19  Games Center / WIP games, tools & toy projects / Re: [Libgdx][Akka] TAnima- mmo rogue-like on: 2018-06-08 17:23:03
Alpha teaser:
<a href="http://www.youtube.com/v/KWOpZaqRz0U?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/KWOpZaqRz0U?version=3&amp;hl=en_US&amp;start=</a>

Week, maybe two and first alpha version will be completed Smiley
20  Java Game APIs & Engines / Engines, Libraries and Tools / [Libgdx] Spine vs Spriter on: 2018-06-07 19:09:23
I am looking for some animation tool. I see that both Spriter and Spine supports mesh manipulation and API for Libgdx in pro editions. Spriter is much cheaper.

Has anyone used them?
Is Spriter good enough in comparison to Spine?
Is it possible to swap textures in runtime in Libgdx API for them? For example let's say that character consists of few parts (head, legs, arms, body) and it can change its skin in runtime. I don't want to create animation for each configuration.

Thanks for help in advice Smiley
21  Game Development / Newbie & Debugging Questions / Re: LibGDX darken screen for nighttime cycle on: 2018-06-06 08:13:15
Np Smiley

It's normal:
https://en.wikipedia.org/wiki/Rubber_duck_debugging
22  Games Center / Showcase / Re: Sir Questionnaire - a different type of hack'n'slash roguelike on: 2018-06-05 18:01:39
- spike room hits you with every turn.. so grabbing the item is a hit, smashing the debris is a hit, and moving out of the room is a hit.. choose if it's worth it to grab that item!

It looks like I am always getting at least 1 hit. As a player I wouldn't like unfair situation where I am entering this room with 1HP and no healing stuff just waiting for death Smiley

- GUI is my own code, and just very basic, limited, and works for what it has to do

I though that you were using some libs like Scene2d.UI or it's extensions.

Thanks Smiley
23  Games Center / Showcase / Re: Sir Questionnaire - a different type of hack'n'slash roguelike on: 2018-06-05 17:26:27
I've just found your blog. I admire you. You are doing good job as solo indie dev Cheesy

I am playing your game now. I will write here my comments (Android- Sony Xperia Z2):
-Can I not get hit in the "spike room" somehow?
-Application crashed when trying to fire the candle with the lighter
-Application crashed on encountering 2 blue enemies
-Objectives... First one- 150 imp skulls. Got 3 after 30minutes. 10 Objectives to unlock new character class. I don't feel this progress that much.
-First time got statue working and not dying. Now I understand how it works Smiley
-I like how weapons are breaking and player has to do some micro-economy cause of that
-I've found opening locked things by putting key in hand as a little annoying. I prefer automatic (if you for example got some key in the backpack) or use from eq level (like potions for example)
-Game field could be a little larger. Sometimes it's hard to see anything

I will play a little more later Smiley I'll let you know when I find something.

Some questions:
-Do you create your games from scratch in libgdx or you've created some kind of your framework/toolkit?
-Which one library are you using for GUI? It looks nice.
-Do you create promo graphics by your own?
24  Discussions / Miscellaneous Topics / Re: Microsoft confirms it’s acquiring GitHub for $7.5 billion on: 2018-06-04 15:15:16
I feel sad now
25  Games Center / WIP games, tools & toy projects / Re: [Libgdx][Akka] TAnima- mmo rogue-like on: 2018-06-03 23:07:34
Click to Play


Update:
-World HUB- new player is connected to the WorldHUB where he can select the world to connect to. For now there are two worlds: Virgo(Action Mode) and Libra (TActics Mode). World's names are based on Zodiac signs (starting from mine one- Virgo). Player can go back to it from the town level.
-Class selection- for now there are 3 classes (Rogue, Warrior, Wizard). Player can choose it by interacting with spiecified monument in the World HUB

World HUB will change along with available servers and character classes Smiley

What do you think? Smiley
26  Game Development / Newbie & Debugging Questions / Re: LibGDX - Making deathcam for game on: 2018-06-01 11:20:14
Np Smiley
27  Game Development / Newbie & Debugging Questions / Re: LibGDX - Making deathcam for game on: 2018-06-01 10:51:09
Depends on your architecture. Best way is designing your software to be event driven:
https://en.wikipedia.org/wiki/Event-driven_architecture

So for example you don't record user controlled object transitions each frame but only events that made transition happen
(CharacterStartedMoving(from, direction, timestamp), CharacterStoppedMoving(timestamp), CharacterAttacked(direction, weapon, timestamp) etc.)  So you can replay it.

This approach is often used in networking to minimalize size of payload sent over the wire.
28  Game Development / Newbie & Debugging Questions / Re: LibGDX - Making deathcam for game on: 2018-06-01 07:26:26
Wow... I didn't ever expect that someone could think about this kind of solution for this problem. It hits performance so hard.

The best (and normal I think) way for implementing it is to design your app for memento.
https://en.wikipedia.org/wiki/Memento_pattern

If you for example design your game's timeline as reacting for business logic events, you can go back in time and replay saved events. That's how replays are implemented. I hope it helped you Smiley

PS. you can also record state of the world in keyframes and interpolate or just record it each frame but... it's not that efficient as event sourced. Or maybe record changes (like git commits).
29  Games Center / WIP games, tools & toy projects / Re: [Libgdx][Akka] TAnima- mmo rogue-like on: 2018-05-31 19:52:19
Click to Play


Today, TAnima servers has been distributed
How it works?
Why?
Wtf is this?
What are you talking about?

Usually, MMO serwers are based on instance per world. It's simple and nice approach because developer doesn't have to face many problems related with data synchronization. But... It loses on scalability. What could we do if number of active users exceeds the limit of our server machine. It's a serious problem. What can we do if machine with more resources is for us unavailable to buy?

Today, machines are evolving by increasing its number of cors instead of speed. It's hard to get machine with enough power to carry on our app (sometimes it's impossible). Because of this ppl thinks about concepts like "microrservices" or some distributed system arch. But it's not that easy. Because of its nature, so many problems that doesn't exists in "monolith" app, happens here. If someone was facing MMO game problem, he knows what I mean Smiley MMO-(whatever-gender) fits this one.

Because of this problem, TAnima server has been designed on top of Actor model (Akka implementation- java/scala). It fits well the DDD style. For me, as the programmer who started from asm and was working with Spring/JavaEE tech in my job, actor model was something new. For a long time it was unacceptable for production purpose. I was wrong.

If someone wants to create a solid MMO-game and would like to know how to use my approach- I can create separate video/description about it. It's not that easy. It's requiring a lot of work, determination, open-mind and wisdom. And ofc- You can do it other way. It's just one of the concepts. For me- one of the best for this kind of problem.

I'll be thankful for your comments Smiley If you are interested in this specific topic- let me know Smiley It's a hard one. I can explain it via some video/textdescription Smiley

Presentation:
-Virgo server- Action mode
-Libra server- Tactics mode
30  Games Center / WIP games, tools & toy projects / Re: [Libgdx][Akka] TAnima- mmo rogue-like on: 2018-05-28 20:12:36
Click to Play


Update:
2 types of servers:

- Action mode:
   Play as you saw before
   
- Tactics mode:
   Play like old, good Rogue Smiley Everything stops untill you move (For mmo-> move vote system or beat based sync)
PS: Tactics mode can be used for streamers for playing with community via text chat (TAnima is integrated with Discord but other channels looks easy //todo aswell)   

What do you think? Smiley
Pages: [1] 2 3 4
 
EgonOlsen (79 views)
2018-06-10 19:43:48

EgonOlsen (59 views)
2018-06-10 19:43:44

EgonOlsen (78 views)
2018-06-10 19:43:20

DesertCoockie (261 views)
2018-05-13 18:23:11

nelsongames (159 views)
2018-04-24 18:15:36

nelsongames (158 views)
2018-04-24 18:14:32

ivj94 (901 views)
2018-03-24 14:47:39

ivj94 (162 views)
2018-03-24 14:46:31

ivj94 (813 views)
2018-03-24 14:43:53

Solater (177 views)
2018-03-17 05:04:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05
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!