Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (736)
Games in Android Showcase (224)
games submitted by our members
Games in WIP (813)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 ... 172 173 [174] 175 176 ... 192
  ignore  |  Print  
  What I did today  (Read 1910398 times)
0 Members and 1 Guest are viewing this topic.
Offline hwinwuzhere
« Reply #5190 - Posted 2017-01-18 19:27:25 »

made a cake!

Are... are you sure the cake isn't a lie?  persecutioncomplex

There are two kinds of people in this world: Those who can extrapolate from incomplete data,
Offline Archive
« Reply #5191 - Posted 2017-01-18 20:19:02 »

Wow! Tons of work done recently.



Added entities:
Entity-player collision (Vertical cylinder)
Entity-world collision (Ellipsoid)
Entity-ray collision (Ellipsoid)

Added shooting the entity with blood particles (he also gets redder the longer you shoot him) Smiley
Found/fixed numerous bugs and issues with the renderer and fixed the memory leaks.

Optimized frustum-aabb test.
Added an in-game console that is openable by pressing TAB. You can type and use commands just like you would in your computer's console/terminal (you can also scroll up and down it with the page up/down keys and move through type history with up/down arrow keys)

Made it so that only bilinear filtered textures are drawn with 256 colors, dithered and nearest-neighbor are true color.
Fixed up sphere mapping issue. added legacy opengl primitives like POINT, LINES, LINE_STRIP, LINE_LOOP, TRIANGLE_FAN, TRIANGLE_STRIP, QUAD_STRIP (no polygon :p)




Offline kevglass

« JGO Spiffy Duke »


Medals: 319
Projects: 25
Exp: 22 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #5192 - Posted 2017-01-19 09:43:48 »

Started working on more functional stuff like hit boxes and blocking zones. Need to doodle up a house and a wall shortly.



Cheers,

Kev

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline SkyAphid
« Reply #5193 - Posted 2017-01-19 11:15:30 »

We're currently at a stage in development for Robot Farm where I'm mostly waiting on everyone to check in with their stuff so we can push out the trailer and I can resume work on the last of what I have to do. In the mean time, I've been writing up a design document for a game idea I had for fun, for down the road when we're trying to decide what to make next. Design docs are always really fun to write up!

it just werks
Offline Opiop
« Reply #5194 - Posted 2017-01-19 17:14:41 »

For the past couple of days I've been working on getting the HTML/CSS done for my band's website. I relied on Bootstrap a little, but most of it is (unfortunately) written by me. I'm not a front end developer or a designer, so this was pretty hard for me  Sad

The content on the site isn't finished (the About page is the main offender), but here it is: astimefades.com

Currently it's just hosted on my github, but the next stage is to add a backend and host it on Linode (or maybe DigitalOcean). I want to give my non-developer friends an easy way to add content to the page, and build out a merch feature (I'm feeling adventurous). The only part that will be new to me on the backend is accepting/handling payments through multiple solutions (PayPal/Stripe/etc...), but I'm hoping it won't be too hard. It'll all be written in that sweet, sweet new ASP.NET Core! 
Offline SHC
« Reply #5195 - Posted 2017-01-19 18:51:35 »

I decided to add multi lingual support for my website powered by Jekyll, and it is extremely easy with the front matter. From now on, I'm going to post in Telugu and Hindi along with English.

https://goharsha.com/blog/multi-lingual-support/

Look at the language-selector in the top right!

Offline vfmachado

Junior Devvie


Medals: 9
Exp: 4 years



« Reply #5196 - Posted 2017-01-19 18:55:33 »

This week I finally finished the BennyBox Game Engine tutorial. It is a tutorial about what is and how to develop a 3D Game Engine in 60 episodes.

I'm including more stuff and creating basic GameComponents (e.g. skybox, gui) to facilitate the game creation.

Hopefully, next week I can post something related to this little project.
Offline basil_

« JGO Bitwise Duke »


Medals: 417
Exp: 13 years



« Reply #5197 - Posted 2017-01-19 20:20:47 »

nono, a cake, not a pie.

today i learned - tex-coords stored in half-floats is a very bad idea.
Offline theagentd
« Reply #5198 - Posted 2017-01-19 20:29:32 »

today i learned - tex-coords stored in half-floats is a very bad idea.
If you don't have any wrapping, then normal unsigned normalized shorts could work up to a certain resolution. 16-bits give you decent-ish tex coord precision up to a resolution of 4096x4096 or so. You definitely don't want half floats as they don't have even precision.

EDIT: Hmm, it turns out that unsigned shorts are actually more viable than I first assumed. With 16 bits you get 65536 different values, which for a 4096x4096 texture is a precision of 1/16th texel. However, this really only means that the corner values of your triangles get snapped to the closest representable 16-bit value. This really only gives you a tiny amount of distortion/stretching across the surface of each triangle, as you still have float precision interpolation across the surface of it. I can't think of a realistic situation where this would actually be a real problem.

Myomyomyo.
Offline Sickan
« Reply #5199 - Posted 2017-01-19 21:13:53 »

Going to Beijing, China next week. My dad speaks Chinese and I'd like to learn it, there are many great Android apps for it. But I wanted something where I could gradually add words and it would pick out sentences for me to translate - so I made my own app for it.

The app uses Tatoeba for Chinese and English sentences. The sentences were stored in one big CSV with half a million or so entries (300 mb uncompressed), but I removed all the entries that weren't English or Chinese, so then I only had 90 000 sentences to manage. I also ran a script on those sentences to find the Chinese characters that were most common, and created a separate CSV with each character and the number of times it occurs. You learn the characters that are most frequently used first. I also added Pinyin pronounciation guides using a library called hanyupinyin.

The read screen where you practice sentences features text to speech using Android's super-simple API. The voice is great. The only thing that remains to be done is adding a time-based spaced repetition system where words and sentences are repeated with increasing intervals.

All in a day's work, I'm very happy with how it turned out. Take a look!

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

« JGO Bitwise Duke »


Medals: 417
Exp: 13 years



« Reply #5200 - Posted 2017-01-19 22:06:10 »

aah .. ushorts, good idea. thanks for the heads up.
Offline orange451

JGO Kernel


Medals: 342
Projects: 6
Exp: 6 years


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


« Reply #5201 - Posted 2017-01-20 00:15:16 »

Going to Beijing, China next week. My dad speaks Chinese and I'd like to learn it, there are many great Android apps for it. But I wanted something where I could gradually add words and it would pick out sentences for me to translate - so I made my own app for it.
Download apps like QQ, Wechat, and MoMo.

QQ and WeChat because they're how everyone communicates there; MoMo to pick up girls.

First Recon. A java made online first person shooter!
Offline unlight
« Reply #5202 - Posted 2017-01-20 08:14:59 »

Quote
Added entities:
Entity-player collision (Vertical cylinder)
Entity-world collision (Ellipsoid)
Entity-ray collision (Ellipsoid)

Are you implementing your own collision/physics? If so, is there a book or resource that you're using?
Offline Archive
« Reply #5203 - Posted 2017-01-20 18:01:49 »

Quote
Added entities:
Entity-player collision (Vertical cylinder)
Entity-world collision (Ellipsoid)
Entity-ray collision (Ellipsoid)

Are you implementing your own collision/physics? If so, is there a book or resource that you're using?
Yes im implementing my own collision (and really basic physics). There is no single resource that was helpful but with a lot of googling, you can find information. Ellipsoid collision is surprisingly scarce.

Offline theagentd
« Reply #5204 - Posted 2017-01-21 00:22:03 »

Today I found out that Vulkan is stricter than I thought when it comes to threading. Most Vulkan commands only read objects without modifying them, and those functions are OK to call from any thread at the same time. However, some functions require "external synchronization" of certain arguments, and it turns out that if a single of your concurrent calls requires external synchronization on an argument, ALL uses of that same object needs to be synchronized as well. I didn't know that last part. >__<

In Vulkan, "fences" are used to check if the GPU is done with a certain task. The fence is included in vkQueueSubmit() and is signaled when the submission is completed. You can poll if a fence has been signaled using vkGetFenceStatus(), or block the thread until it becomes signaled using vkWaitForFences(). vkGetFenceStatus() and vkWaitForFences() do not require external synchronization of the fence they operate on, meaning that you can have 20 threads that are both polling the status and awaiting the signaling of a single fence. Now, according to the specification it is technically not wrong to await a fence that has not actually been submitted yet, and I thought this was a great thing! The idea was to for example be able to code something like this:
1  
2  
sendOffWorkToDedicatedVulkanThread(work, fence); //Will call vkQueueSubmit() on a different thread at some point in the future
vkWaitForFences(fence);


However, vkQueueSubmit() requires external synchronization of the fence you pass in to be signaled. As I learned today, this means that if I want to do vkGetFenceStatus() or vkWaitForFences() calls at the same time I'm submitting the fence I'm querying, I need to synchronize it manually. In the example above, this means wrapping both vkQueueSubmit() (which is called on the dedicated Vulkan thread later) and vkWaitForFences() with a synchronized(fence){}-block.

1  
2  
3  
4  
sendOffWorkToDedicatedVulkanThread(work, fence); //Will call vkQueueSubmit() in a synchronized(fence){}-block later
synchronized(fence){
    vkWaitForFences(fence);
}


Some of you may be spotting the paradox. To be able to await a fence, I need to lock it. The fence remains locked until the fence is signaled...... but to be able to submit the task that will signal the fence, I also need to lock the fence! If the task for that fence hasn't been submitted by the Vulkan thread yet, it will never be able to do so because the fence is already locked by the waiting thread! Deadlock!

The solution is really annoying. I need to manually use Java's synchronization to first make sure that the fence has already been submitted before I attempt to query or await a fence. For vkGetFenceStatus(), this can be done with a simple volatile variable and no synchronized() blocks are actually required. However, for vkWaitForFences() I need to first call wait() on the fence until it has been submitted by the Vulkan thread, at which point the Vulkan thread notifies all listeners of the fence so that they can safely call vkWaitForFences() AFTER the Vulkan thread finishes.



And that's a day of concurrent programming horrors.


EDIT: The same thing is sadly true for OpenGL too. OpenGL's equivalent to creating fences is glFenceSync(), which returns a GLsync object that will become signaled once the GPU has finished processing all OpenGL commands before the glFenceSync() call. You can later await a GLsync object using glClientWaitSync(). The (first) above code would look like this:
1  
2  
sendOffWorkToDedicatedOpenGLThread(work, fence); //Will do OpenGL calls on a different thread at some point in the future
glClientWaitSync(fence);


There's just one problem: We don't have a fence object before the call to glFenceSync() has completed. In other words, we have the exact same issue as above, just for a different reason. glFenceSync() gives us back a new GLsync object when it is called, so we need to wait (using Java's wait()) until the OpenGL thread has completed the glFenceSync() call and received a GLsync object, THEN we can call glClientWaitSync() to await the completion of the GPU commands.

Myomyomyo.
Offline SkyAphid
« Reply #5205 - Posted 2017-01-21 14:11:33 »



EDIT:
Also, here's this:

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

it just werks
Offline 65K
« Reply #5206 - Posted 2017-01-23 18:25:27 »

Uploaded an example done by shader expert Cypherdare showing how color grading can be done in Libgdx:color grading

Lethal Running - a RPG about a deadly game show held in a futuristic dysoptian society.
Offline J0
« Reply #5207 - Posted 2017-01-24 18:56:12 »

Spent some time making a few shaders for my next game:


(EDIT: if you can't see the image please refer to my next post, or go directly to imgur: here)

The blur one is a little cheap so if anyone could point me to helpful resources that would be awesome! Or if you have any other ideas of cool looking effects for a 2D strategy game please share Pointing

Btw the ninja sprites are from gameart2d

J0 Smiley

Offline Archive
« Reply #5208 - Posted 2017-01-24 19:13:44 »



Image is broken for me

Offline philfrei
« Reply #5209 - Posted 2017-01-24 19:44:01 »

Spent some time making a few shaders for my next game:



The blur one is a little cheap so if anyone could point me to helpful resources that would be awesome! Or if you have any other ideas of cool looking effects for a 2D strategy game please share Pointing

Btw the ninja sprites are from gameart2d

J0 Smiley

I'd like to do a "ripple-fade" of some sort. I think there is a JavaFX tool that lets you create a 2D map of translation values, the name is escaping me at the moment. I have yet to investigate how to animate a series of such translation values so that a "rippling" occurs. The fading part is easy, handled via an opacity property. I worry that creating a large array every animation cycle will be too costly--but probably that will be just fine and will be the way to go. Saving a cycle of several dozen might work also. I probably worry too much about using up memory.

music and music apps: http://adonax.com
Offline J0
« Reply #5210 - Posted 2017-01-24 21:55:27 »

Image is broken for me
Is this working better? Imgur instead of gDrive:
Click to Play

I just realised that for some reason my gif was appearing without JGO's gif player... persecutioncomplex

@philfrei isn't it our fate, as programmers, to worry about memory all the time? Smiley

Offline orange451

JGO Kernel


Medals: 342
Projects: 6
Exp: 6 years


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


« Reply #5211 - Posted 2017-01-25 04:34:56 »

Worked on my SSR a little bit more today.
Found some nice high-res textures to test it with Smiley



Decided to rewrite most of my engine for lwjgl3. It's almost there now.

First Recon. A java made online first person shooter!
Offline SkyAphid
« Reply #5212 - Posted 2017-01-25 17:51:10 »

Our Robot Farm trailer is finally out!!

it just werks
Offline FabulousFellini
« Reply #5213 - Posted 2017-01-25 23:17:28 »

Don't have pictures yet, but I got a plexi glass screen for my arcade cabinet and cut it, as well installed a metal screen thing to hold the marquee/hide the speakers. 

-FabulousFellini
www.fabulousfellini.com
Offline kevglass

« JGO Spiffy Duke »


Medals: 319
Projects: 25
Exp: 22 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #5214 - Posted 2017-01-26 09:15:53 »

Bit more progress from me over the last couple of days:



And a you tube run through:

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

Cheers,

Kev

Offline orange451

JGO Kernel


Medals: 342
Projects: 6
Exp: 6 years


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


« Reply #5215 - Posted 2017-01-27 01:36:11 »

Nearly done with the rendering functionality for my lwjgl3 engine Smiley


First Recon. A java made online first person shooter!
Offline ShadedVertex
« Reply #5216 - Posted 2017-01-27 13:16:58 »

Nearly done with the rendering functionality for my lwjgl3 engine Smiley

Looks great Smiley

Is your anti-aliasing on, though? And is it just me, or is there a really small white halo around your objects?
Offline orange451

JGO Kernel


Medals: 342
Projects: 6
Exp: 6 years


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


« Reply #5217 - Posted 2017-01-27 14:24:03 »

Havent written an AA shader yet. It's on the list Smiley

The white halo is just a little bit of rim lighting.

First Recon. A java made online first person shooter!
Offline Brynn

JGO Wizard


Medals: 103
Projects: 3
Exp: 1 month or less


JGO's Spiffy Duchess


« Reply #5218 - Posted 2017-01-28 18:32:18 »

I present to you a cube made with Vulkan.



( made with Unity 5.6 beta  Roll Eyes )

Welcome to a new kind of tension
All across the alienation
Where everything isn't meant to be okay
Offline basil_

« JGO Bitwise Duke »


Medals: 417
Exp: 13 years



« Reply #5219 - Posted 2017-01-28 19:13:28 »

thats 2.5D ? .. was actually about to ask how much code that cube took.
Pages: 1 ... 172 173 [174] 175 176 ... 192
  ignore  |  Print  
 
 

 
cybrmynd (137 views)
2017-08-02 12:28:51

cybrmynd (157 views)
2017-08-02 12:19:43

cybrmynd (151 views)
2017-08-02 12:18:09

Sralse (167 views)
2017-07-25 17:13:48

Archive (640 views)
2017-04-27 17:45:51

buddyBro (764 views)
2017-04-05 03:38:00

CopyableCougar4 (1297 views)
2017-03-24 15:39:42

theagentd (1262 views)
2017-03-24 15:32:08

Rule (1235 views)
2017-03-19 12:43:22

Rule (1310 views)
2017-03-19 12:42:17
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

SF/X Libraries
by SkyAphid
2017-03-02 06:38:56

SF/X Libraries
by SkyAphid
2017-03-02 06:38:32

SF/X Libraries
by SkyAphid
2017-03-02 06:38:05

SF/X Libraries
by SkyAphid
2017-03-02 06:37:51
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!