Java-Gaming.org Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (799)
Games in Android Showcase (237)
games submitted by our members
Games in WIP (865)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 ... 162 163 [164] 165 166 ... 215
  ignore  |  Print  
  What I did today  (Read 3548335 times)
0 Members and 2 Guests are viewing this topic.
Offline MatthewNicholls
« Reply #4890 - Posted 2016-10-20 22:02:18 »

To day I implemented normal mapping for my multi-textured terrain. Still have a lot of improving to do, but just happy to have something to show for it.



Edit: replaced picture after fixing the normal mapping fragment shader. Now the proper normal maps are applied to the right textures. Before they where all being mixed together.

my blog My YouTube

"...Muahahhah... pull the lever Egor!" ..."Yesh mashter"..click... click...click..buzzzzz".......Its Alive!
Offline J0
« Reply #4891 - Posted 2016-10-22 19:07:11 »

Wrote a ~working version of Breakout in JavaScript, I think I'm going to be playing around with js a bit Smiley

Offline Bearded Cow

Senior Devvie


Medals: 3
Projects: 1
Exp: 1 year


¬..¬


« Reply #4892 - Posted 2016-10-22 21:23:20 »

Your collision handling is slightly wrong, for example when coming from the top of the blocks it will delete the block but won't bounce/rebound off at all it will just fall through.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline J0
« Reply #4893 - Posted 2016-10-23 09:57:33 »

I know, I know... But, meh, good enough. Roll Eyes

Offline leSpace

Senior Devvie


Medals: 14
Exp: 1 year



« Reply #4894 - Posted 2016-10-23 10:02:14 »

Updated my algorithm a little bit , gives a nicer result with light regions getting larger on the darker colours. with range being defined as plnp + p.
It would be nice to make this faster , as lighting calculations don't need to be exact is there any decent and rapid approximation to ln p , of course p^2 ln p can be approximated but the only implementations I have found don't have much explanation.
I might be a bit late, but precomputing (p ln p)² in the range needed should speed up the function, then another way of speeding up your function might be linear approximation, in fact after drawing your function fx(p)=(p ln p)² / (x² + (p ln p)² / p ), we can clearly see that after a set p , the function can be seen as a linear function. Example with f100 from p = 17, f100 looks pretty close to g(p)=p*1,0331625-7.819.
Offline Spasi
« Reply #4895 - Posted 2016-10-23 22:25:05 »

Finished a single week project, one day late. It parses the Vulkan XML registry and asciidoc documentation and generates the LWJGL 3 Vulkan bindings. It was painful (tons of details to cover, bugs in the registry, bugs in asciidoctor, etc), but I'm hoping it'll save a lot of time (and my sanity) in the future. The Vulkan javadoc is also now much more complete and consistent.

Fun fact: The source code is 3 Kotlin files that compile to 105 Java classes.
Offline Archive
« Reply #4896 - Posted 2016-10-24 03:29:41 »

Added bitmatrix fonts!
All of the characters in the sentence (the quick brown fox jumps over the lazy dog) are represented as a 64-bit long value
and drawn to the screen by extracting the bits!




EDIT:
Fixed the X

Offline dime26

JGO Wizard


Medals: 90
Projects: 7
Exp: 12 years


Should traffic wardens be armed?


« Reply #4897 - Posted 2016-10-24 15:44:29 »

I have been playing with Box2D vehicles for a few hours and decided it would be neat to overlay some 3D buildings like GTA 1. I am using a 2D camera for the floor objects although there are only Box2D debug lines at the moment and then a Perspective camera for the 3D models.

Need to find the correct way to translate 2D to 3D co ordinates, currently I worked out the differences by hand but must be a neater way to do this.

http://imgur.com/gallery/fmTYV
Click to Play


Offline J0
« Reply #4898 - Posted 2016-10-24 16:08:12 »

Is it really necessary to use 3D in that case? I mean, as it is now, a simpler way (imo) would be to just draw 2D quads with edges that go towards the center of the frame to simulate perspective

Offline dime26

JGO Wizard


Medals: 90
Projects: 7
Exp: 12 years


Should traffic wardens be armed?


« Reply #4899 - Posted 2016-10-24 18:02:05 »

Is it really necessary to use 3D in that case? I mean, as it is now, a simpler way (imo) would be to just draw 2D quads with edges that go towards the center of the frame to simulate perspective

Always willing to try different approaches, will have a search but any links etc would be great thanks for the advice. 
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline nsigma
« Reply #4900 - Posted 2016-10-25 11:22:10 »

AMEN $ Mother Function : having some fun doing a live-coded single function demolition of the most ubiquitous sample in modern music (takes a little while to get going)

This is why they added lambdas to Java 8, right?!  persecutioncomplex  Grin

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

Praxis LIVE - hybrid visual IDE for (live) creative coding
Offline Jono
« Reply #4901 - Posted 2016-10-26 07:53:48 »

Started work on a logic engine for use in (my) games. I got the main design done and unification working.

1  
2  
3  
4  
5  
6  
Parser p = new Parser();
Term f1 = p.parseTerm("foo(X,b)");
Term f2 = p.parseTerm("foo(a,Y)");
System.out.println(f1.unify(f2));
System.out.println(f1);
System.out.println(f2);

gives:
Quote
true
foo(a,b)
foo(a,b)

and Prolog-style lists:
1  
2  
3  
4  
Term t1 = p.parseTerm("[Y,b,c]");
Term t2 = p.parseTerm("[a|[X|[c|[]]]]");
t1.unify(t2);
System.out.println(t1);

gives:
Quote
[a|[b|[c]]]

Next up are knowledge bases, rules and backtracking.
Offline Coldstream24

JGO Ninja


Medals: 82
Projects: 1
Exp: 4 years


You can fill that void inside with programming, but you'll never return a value.


« Reply #4902 - Posted 2016-10-26 10:57:50 »

Long time, no post Tongue
I've been working on a really nice particle system. I started work yesterday, it's come far enough for my liking, although dancing around Java2D's limitations is a bit of a headache.

There's been a lot of work on my engine recently - mainly graphics tweaks but some cool features are coming.
That and I bumped it up to version 0.3 - don't know why, but incrementing version numbers on a project like this feels pretty great.

Feel free to like the engine's facebook page, too Smiley
https://www.facebook.com/morningsideengine/

My website: http://www.onedropgames.com/
My soundcloud: http://www.soundcloud.com/coldstream24
Creator of the Morningside Engine, co-founder of Onedrop Games.
Offline J0
« Reply #4903 - Posted 2016-10-26 13:16:30 »

I've been working on a really nice particle system.

Post a gif, post a gif, post a gif, post a gif! Roll Eyes

Offline philfrei
« Reply #4904 - Posted 2016-10-27 04:37:24 »

Quote
I've been working on a really nice particle system. I started work yesterday, it's come far enough for my liking, although dancing around Java2D's limitations is a bit of a headache.
A JavaFX particle system == fewer headaches?

[EDIT: What you have posted so far looks cool. Writing a particle system is neat, no mean feat! Forgive me for being a bit of a JavaFX partisan. I switched over from Java2D/Swing in Feb. 2016, and am glad to have made the choice and only mean to encourage others to consider doing the same, not discourage them from doing cool things via their preferred libraries.]

music and music apps: http://adonax.com
Offline philfrei
« Reply #4905 - Posted 2016-10-27 23:02:03 »

Mostly doing practice questions, today, for a Java 7, Level I, Certification test tomorrow. I think I know the material pretty well, but 80 questions/3 hours is a long haul. My brain starts to get fried at about the 25-30 question point and I start blowing obvious gotchas and trick questions. I've been getting 80+ % scores on practice tests when I limit myself to 30-40 questions. Beyond that, the percentage starts to plummet.

[EDIT: passed with 85% score. I'll take it.]

music and music apps: http://adonax.com
Online princec

« JGO Spiffy Duke »


Medals: 1126
Projects: 3
Exp: 20 years


Eh? Who? What? ... Me?


« Reply #4906 - Posted 2016-10-28 10:01:09 »

You know, if anyone ever asked me to take a Java certification exam, at any level, I think I might roll up the test paper and shove it up their arse.

Cas Smiley

Offline Coldstream24

JGO Ninja


Medals: 82
Projects: 1
Exp: 4 years


You can fill that void inside with programming, but you'll never return a value.


« Reply #4907 - Posted 2016-10-28 10:33:53 »

Sorry for the lack of a GIF - I was still in the process of tidying up the editor so I didn't want to show it in action while it was still a mess haha
I've since redesigned the whole system, so it's good that I didn't go too far with the old one.

This new system is based off modifiers - each modifier contains a set of variables, which can be manipulated through the editor (selecting a modifier from a list generates a view that allows you to do this). A variable has a name, and a type. It can be an integer, float, string, boolean or choice and is represented in the editor by a textbox, checkbox, or combo-box. The issue with the old table view was simply that by adding more features it was becoming increasingly hard to find what you needed to get to, and slowed down the workflow considerably. Now you're shown a list of current modifiers, and a list of available ones. Each of the views that are in the video are dynamically generated based on the variables that are in each modifier. To save from pointless memory allocation, controls are reused and saved in pools.

I also added a modifier for sine/cosine wave motion, and one to spawn particles at a random location around a circle.

Here's a video of me designing a particle effect with the renewed new particle system editor Tongue  I don't know why I'm getting frame rate drops like I was in the video. Java2D performance has suffered on macOS Sierra. I don't think it likes the additive blending - it isn't hardware supported because it's a custom AlphaComposite. My Windows 8 PC can comfortably handle heaps of particle systems.
<a href="http://www.youtube.com/v/W9x9jWphq50?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/W9x9jWphq50?version=3&amp;hl=en_US&amp;start=</a>

My website: http://www.onedropgames.com/
My soundcloud: http://www.soundcloud.com/coldstream24
Creator of the Morningside Engine, co-founder of Onedrop Games.
Offline philfrei
« Reply #4908 - Posted 2016-10-29 00:50:49 »

You know, if anyone ever asked me to take a Java certification exam, at any level, I think I might roll up the test paper and shove it up their arse.

Cas Smiley

Cas, if I had your cred, I would too.

music and music apps: http://adonax.com
Offline orange451

JGO Kernel


Medals: 544
Projects: 8
Exp: 8 years


Your face? Your ass? What's the difference?


« Reply #4909 - Posted 2016-10-29 21:31:57 »

I made a neat fake 3d renderer in Game Maker today:
Click to Play


Then I found out apparently a bunch of people are also doing the same. AND someone already made a tool to convert voxel models into sprites. hah. No reason to continue on with this project  Emo

First Recon. A java made online first person shooter!
Offline theagentd
« Reply #4910 - Posted 2016-10-30 03:40:31 »

Going to bed, quick dump of PN triangle tessellation:




Myomyomyo.
Offline basil_

« JGO Bitwise Duke »


Medals: 418
Exp: 13 years



« Reply #4911 - Posted 2016-10-30 12:12:04 »

got a twist on the barnes-hut algorithm with a out-of-core morton quad-tree running 24k bodies on 8 threads at 10ms \o/











Offline Roquen

JGO Kernel


Medals: 518



« Reply #4912 - Posted 2016-10-30 20:42:13 »

Since I haven't mentioned cuphead in awhile:  It has an approximate release date - http://studiomdhr.com/cuphead-coming-mid-2017-2/
Offline FabulousFellini
« Reply #4913 - Posted 2016-11-01 22:44:30 »

I've spent the week really excited because the Cubs are in the World Series.  It's a big deal here in Chicago (although probably nowhere else since so many of you don't live in the US and therefore probably do not give a sh*t about baseball).  @Opiop don't you live in Cleveland?  Is it as crazy as it is here?   Also I'm still waiting for your band to come to Chicago!  if you guys come i'll be there.

-FabulousFellini
www.fabulousfellini.com
Offline Archive
« Reply #4914 - Posted 2016-11-02 04:08:22 »

Today I learned that this is a valid thing in java lmfao

(!!!!!!!!!!!!aabb_plane_test(node.min, node.max, player.frustum[0]))

Offline SkyAphid
« Reply #4915 - Posted 2016-11-02 05:07:10 »



We've finally got everything we need to make the first Robot Farm trailer. I've also finally mastered all of the blender tools I'll need to make everything we need in the future for We Shall Wake.

it just werks
Offline FabulousFellini
« Reply #4916 - Posted 2016-11-02 19:51:48 »

My arcade cabinet is coming along well! (although slowly).  Here are a few screen shots of it so far.  Next up, putting on the t-molding and making sure the buttons work.





I really cant figure out why the images are rotated.  Here are the links to the normal pictures:

http://fabulousfellini.com/uploads/3/4/9/3/34931031/img_1650__2_.jpg

http://fabulousfellini.com/uploads/3/4/9/3/34931031/img_1652__2_.jpg

EDIT:  The pictures look correct when I view them on my phone, but for some reason on this Mac desktop, they're both displayed sideways.


-FabulousFellini
www.fabulousfellini.com
Offline Longor1996

JGO Wizard


Medals: 116
Projects: 2
Exp: 8 years


The cake is probably a lie.


« Reply #4917 - Posted 2016-11-03 23:15:42 »

Working derping with blender again, this time with a HDR Sky and better PBR Shaders.



The HDR Sky makes a big difference!

The cake is probably a lie... but it's a delicious lie!
Offline J0
« Reply #4918 - Posted 2016-11-04 09:27:33 »

Not today, but yesterday I tried to write my first implementation of A*. It works... kinda. For some reason when the start and the goal are distant and there are a lot of walls in-between, it either finds a suboptimal path, or it crashes... Some debugging in perspective for today.

J0 Smiley

Offline Shatterhand
« Reply #4919 - Posted 2016-11-04 09:55:46 »

Quote
Working derping with blender again, this time with a HDR Sky and better PBR Shaders.

Nice render! I wish I was as good as you in Blender Cycles too! (But one thing I share with you are these nasty little fireflies everywhere in cycles  Cheesy)

Micro$oft broke Volkswagen's world record: Volkswagen only made 22 million bugs!
Pages: 1 ... 162 163 [164] 165 166 ... 215
  ignore  |  Print  
 
 

 
Riven (198 views)
2019-09-04 15:33:17

hadezbladez (4909 views)
2018-11-16 13:46:03

hadezbladez (1810 views)
2018-11-16 13:41:33

hadezbladez (5183 views)
2018-11-16 13:35:35

hadezbladez (1023 views)
2018-11-16 13:32:03

EgonOlsen (4387 views)
2018-06-10 19:43:48

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

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

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

nelsongames (4305 views)
2018-04-24 18:15:36
Java Gaming Resources
by philfrei
2019-05-14 16:15:13

Deployment and Packaging
by philfrei
2019-05-08 15:15:36

Deployment and Packaging
by philfrei
2019-05-08 15:13:34

Deployment and Packaging
by philfrei
2019-02-17 20:25:53

Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45
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!