Java-Gaming.org Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (555)
Games in Android Showcase (147)
games submitted by our members
Games in WIP (601)
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
1  Discussions / Miscellaneous Topics / Re: Yay, free games! Zero's Game Giveaway on: 2015-02-26 15:12:56
Oooh nice! Laracroft please Smiley i love the series
2  Discussions / Miscellaneous Topics / Re: Yay, free games! Zero's Game Giveaway on: 2015-02-22 14:20:25
Id really like to take fez, but i wont be home until tomorrow Sad
Edit : nvm, doesnt work.
3  Game Development / Newbie & Debugging Questions / Re: [LibGDX] UTE not fading out? on: 2015-02-21 12:03:38
Set the delay on the secong Tween.to to 2f and see if that helps.
4  Games Center / WIP games, tools & toy projects / Re: Bit Siege - 2D Competitive Multiplayer PvP Game. (Patch v1.4.2 out now!) on: 2015-02-21 08:58:33
...

Nice!
You didn't get me with the graphics. My friends really do like retro games, but theres difference between good pixel art and a bad one. Now im not saying yours is bad, im just saying it needs more work Smiley It's just a opinion, it can vary from person to person. And that opinion is that this game is one of the best at JGO(State of Fortune FTW).
I can't wait until i can play this game.
5  Games Center / WIP games, tools & toy projects / Re: Bit Siege - 2D Competitive Multiplayer PvP Game. (Patch v1.4.2 out now!) on: 2015-02-20 22:45:54
Few things:
-Add "All" option to "Find Game". There are almost no players online most of the time, and if there are, you need to click through each mode to check if this is the one they are sitting in.
-Add a option to play against bots.
-Upgrade your graphics. It's the reason why most friends don't want to play your game (so i can't play either :c).
-Make a native launcher. My friend's first comment was "how do i run this". He can't double click it (stupid windows starts to unzip it), so i needed to guide him through the dark path of the cmd.

PS: He couldn't launch it and got angry. Ended up playing LoL :c
6  Discussions / General Discussions / Motivation on: 2015-02-20 21:51:59
What (de)motivates you guys? What do you do to keep yourself motivated?
I always get demotivated when i loose track of my thinking process / what i was doing at the moment (f.ex. go to mountains for a full week, or take a break from programming because of education).
Every time i start a new project, the class count quickly goes up to ~50 classes(each one having quite some code), so i easily forget what i was doing after some time not coding (thats also why i don't release any finished games). I recently (for my current project, which is STS, but from scratch) started leaving long todo notes for myself in the comments and some helpful hints to get me back on the track. It REALLY helps. I can basically start making new code instantly, instead of figuring out where i left and what needs to be done.
7  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-02-08 15:48:11
Been trying to fix my old iMac Intel iSight the whole day. Yesterday, i shut it down, unplugged it and placed it on the floor because i wanted to clean my desk. After reconnecting it wouldn't even boot. No chime no fans no lights, nothing. Checked the psu-fine , nothing fried. Blew the dust away and reassembled it. Tried again. Still no boot.
8  Game Development / Game Mechanics / Re: How to Store Tiles on: 2015-02-06 21:28:54
Object(only properties and image, pos can be calculated by mult. Tile size by x and yoposition in the array) + 2D array Smiley
9  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-01-31 23:52:20
Trying my best to make a gui for my rpg Smiley
10  Game Development / Game Mechanics / Re: "Help" with RayCasting on: 2015-01-25 21:33:46
Actually its really medium quality if it comes to actually determining if the entity is visible to the light or not. It casts a ray from the center of the light to the center of the entity, and lights the entity up if there are no bodies between them. What i will probably do is cast the ray to each 4 of the entity's corners, and one to the middle. If at least one is "clean", it will light it up.
And there needs to be some optimization (only updating entities on the screen) and cleanup done.
Performance-wise its also medium i think. Right now the amount of entities on screen is small so there are no problems, but if f.ex. there would be 20 mobs, some junk and particles, the performance will decrease. Oh, yea, filters, i will need to implement filters.

Code.
11  Game Development / Game Mechanics / Re: "Help" with RayCasting on: 2015-01-25 21:14:42
I always clean the code up after i'm sure its working as intended. I will keep fiddling with the system, but for now, i have this (moved some code from my previous game):

It even works when the tiles are in motion!

Thank you for your help, i will probably convert the code to .jar when i succeed in porting the framework and post it here for wanderers.
12  Game Development / Game Mechanics / Re: "Help" with RayCasting on: 2015-01-25 18:50:50
No, they cant rotate, and they can move around freerly.
Heres what i got so far:
Code.
13  Game Development / Game Mechanics / Re: "Help" with RayCasting on: 2015-01-25 17:18:46
Please? Im sure someone on this forum knows something about the topic.
14  Game Development / Game Mechanics / "Help" with RayCasting on: 2015-01-25 12:09:25
Hey guys,
Im using Ashley and LibGDX to make a top-down game, but i wanted to use my own "physics engine".
In my previous projects i always integrated Box2DLights for lighting, but since it uses Box2D to do the math, i had a problem.
So i downloaded the sources of Box2DLights and changed it to use Entities instead of Bodies.
Everything is working fine, except the shadows. I cant get raycasting to work.

TL;DR Teach me how 2 raycast pls (or point me in the right direction)

Additional info:
-2D Environment
-Each entity has a Position and CollisionBox component.
-CollisionBox has 2 fields : size and offset
-Engine object manages enities. You can get any entity or group you want at any given time
-The function that gets called for raycasting:
1  
2  
3  
public static void rayCast(Engine engine, RayCastCallback ray, Vector2 start, Vector2 tmpEnd){
      //TODO: Implement raycasting
}

-What it should do in the end:
1  
ray.reportRayFixture(Entity body, Vector2 point, Vector2 normal, float fraction);
15  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-01-25 10:54:54
Converting my game to ECS, which allows me to do this.
Trying to figure out lighting now -> the tiles are loose entities
Click to Play
16  Game Development / Game Play & Game Design / Re: Appropriate mobile game controls on: 2015-01-24 18:15:48
Split the screen vertically, then split the right side horizontally (or again vertically) for two "buttons" (jump and shoot)? The left side is used as a analog sitck -> user puts his finge on the area and slides in the direction he wants to go. Im probably describing some game's controls that i saw a long time ago, but im not sure.
17  Discussions / Miscellaneous Topics / Re: Minecraft - ever server saying 'Timed Out' on: 2015-01-20 08:07:16
Idk if it will help, but maybe try port forwarding?
18  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-01-14 18:41:34
Today is my birthday Cheesy
Happy bd! I wish you a nice finished project that you can be proud of Smiley
19  Games Center / WIP games, tools & toy projects / Re: Bit Siege - 2D Competitive Multiplayer PvP Game. (Patch v1.3 out now!) on: 2015-01-14 13:19:27
Make the background art of the game's site less saturated, it really stands out, when it shouldn't. We should focus on the content, rather than the background. I haven't played the game yet, but as soon as i come back home (4 days) i will try it out Smiley Good luck!
20  Game Development / Newbie & Debugging Questions / Re: Creating a object from Class variable and calling a function on it. on: 2015-01-06 11:00:12
It did actually work, but the whole implementation was messy. I will try to use this again some time later, and do it properly, but for now i will stick with (Class+HashMap<String, Object>) and some IF checks. Thanks anyways, i learned something at least Smiley
21  Game Development / Newbie & Debugging Questions / Re: Creating a object from Class variable and calling a function on it. on: 2015-01-05 18:28:03
Thank you, i will let you know if it works Smiley
22  Game Development / Newbie & Debugging Questions / Re: Creating a object from Class variable and calling a function on it. on: 2015-01-05 17:34:43
Reflection:

1  
2  
Constructor<CrunchableComponent> ctor = klass.getConstructor();
CrunchableComponent cc = ctor.newInstance();


Thank you.
So if the klass is f.ex. PositionComponent.class (which extends CrunchableComponent), will this throw a error? And will i be able to cast it to PositionComponent?
Also, if the PositionComponent has a constructor which takes a Object[] variable as an argument, what should i write?
Thanks in advance.
23  Game Development / Newbie & Debugging Questions / Re: Creating a object from Class variable and calling a function on it. on: 2015-01-05 17:08:32
Didn't tought of that.. Thanks.
But i still want to know if its possible to do what i want to do.
Besides its all already implemented except for the actual entity-creation-from-packet part.
24  Game Development / Newbie & Debugging Questions / Creating a object from Class variable and calling a function on it. on: 2015-01-05 17:03:09
Im currently at the game synchronization state with my morpg, and i've run into a problem.
Im using Artemis Entity Framework, and im trying to synchronize server entities with local entities.
Each entity has a set of components. I've created a custom Component class, called CrunchableComponent.
Basically it has 2 abstract functions : Object[] crunch(); and void decrunch(Object[] fields);
In the first one the component stores all its data, and in the second it deciphers it.

Now the problem part. Im sending a EntityCreationPacket each time a entity gets created on the server, and it contains a array of ComponentData objects, which just hold the Component's class and the Object[] array which represent the fields.
When the client receives the packet, it should create a object of that class (f.ex. PositionComponent, which extends CrunchableComponent), cast it to CrunchableComponent, call decrunch(); on the component,
and add it to a new entity. And thats what i have trouble with.
25  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-01-04 16:56:29
Bought this :
26  Game Development / Networking & Multiplayer / Re: Open World Multiplayer Game on: 2014-12-22 20:45:56
Since my entitys have to be rendered after the background but before the foreground, i just call the parts that need to be rendered... i digress the way im doing it is very anoying but it works for me currently

1  
2  
3  
4  
level.renderTiles(screen, xOffset, yOffset,player,1);//Background
level.renderTiles(screen, xOffset, yOffset,player,2);//Blocks entitys can hit
level.renderEntitys(screen);//entitys
level.renderTiles(screen, xOffset, yOffset,player,3);//forground


Hmm, thanks for help man Smiley And not to sound rude or anything, it's entities, not entitys Tongue (i used to write it like that too lol)
27  Game Development / Networking & Multiplayer / Re: Open World Multiplayer Game on: 2014-12-22 19:22:36
Well, i like to have my map in chunks that i can load and unload when i want and this will allow for the world to be infinite whilst keeping ram usage low

How does your game loop look like? How are you updating your entities?
28  Game Development / Networking & Multiplayer / Re: Open World Multiplayer Game on: 2014-12-22 19:11:44
In this type of project if i do something, i will have to stick to it for the rest of the development, thats why i first make a plan, and then code.
I tried to find helpful threads on google and JGO for over an hour or so, thats why i posted this. I know some people have experience here and
have done similar stuff.
I don't ask for code snippets or anything like that, just opinions.
Please don't post such useless responses like that KevinWorkman. I've seen that you post similar ones to other questions like this one. You aren't helping, you know..
29  Game Development / Networking & Multiplayer / Open World Multiplayer Game on: 2014-12-22 19:00:52
Hey,
I started making a mmorpg kind of game (actually morpg, without the massive), tile based, and i ran into a problem that im struggling to solve.
The game will be dynamic, so of course i cannot simulate the whole world every server update. I tought that maybe i can split it up
int "zones". Each of those zones would be a mini-world, handling its entities and communicating with the players. Their sizes would be multiples of 8,
and the entities would be managed by Ashley, a entity framework. Now this is where the problem starts. Should i make a seperate Engine for each
zone and update only those that contain players, or should i put everything in a single Engine and .. and.. something.. i dont even know how to approach that.
Im just trying to figure out what way would be the fastest and make sense.

30  Discussions / Business and Project Management Discussions / Re: [Charity][Due to Sunday] Noble Santa on: 2014-12-07 05:02:19
Cmon man, reply :c LIIVE
Pages: [1] 2 3
 
Riven (4 views)
2015-02-27 02:34:15

Riven (10 views)
2015-02-27 01:47:26

Riven (10 views)
2015-02-27 01:46:04

BurntPizza (7 views)
2015-02-27 00:52:04

BurntPizza (7 views)
2015-02-27 00:50:29

Riven (22 views)
2015-02-26 23:38:45

Riven (8 views)
2015-02-26 23:37:24

BurntPizza (21 views)
2015-02-26 21:13:04

Riven (18 views)
2015-02-26 17:13:57

Riven (25 views)
2015-02-26 14:54:51
How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21

Resources for WIP games
by kpars
2014-12-18 10:26:14

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
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!