Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (784)
Games in Android Showcase (234)
games submitted by our members
Games in WIP (858)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: 1 ... 208 209 [210]
  ignore  |  Print  
  What I did today  (Read 3207448 times)
0 Members and 7 Guests are viewing this topic.
Offline philfrei
« Reply #6270 - Posted 2019-02-27 03:34:58 »

So much impressive work on this thread! I am in awe of the folks here.

Crossed a milestone today, while plugging away on the mundane task of figuring out how to distribute programs on the Mac:

I took a Swing "Hello world!" program, jlinked it and made a MacOS .app called Greeter with its own icon, packaged Greeter into a .pkg, then zipped and posted the file on my website (running High Sierra OS from a VM).

A friend with a Mac downloaded the zip, unpackaged the file, executed it--which automatically installed Greeter in the Applications folder, and was able to run the Greeter app and get the "Hey there!" message to display on a Swing form.

The zip was 23 MB, the unpacked app is about 75 MB. All the dots connected!

Some stuff to figure out remains: proper sandboxing and sealing the package. Also I have yet to find out if I can jlink a Java11 program with JavaFX on my test system and if audio will work (the test MacOS itself has no sound and doesn't display JavaFX graphics but I suspect it will still process the jlink compilation commands).

music and music apps:
Offline orange451

JGO Kernel

Medals: 489
Projects: 7
Exp: 7 years

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

« Reply #6271 - Posted 2019-03-01 05:03:30 »

Implemented ComboBox:
Click to Play

First Recon. A java made online first person shooter!
Offline SkyAphid
« Reply #6272 - Posted 2019-03-03 12:41:41 »

Continued work on Clear's TextArea (right click and open image in new tab to see the full size pic):

Current features:
  • Good performance with large amounts of text
  • Smooth animated interface
  • Syntax highlighting (or any other needed range-based formatting)
  • Copious amounts of customization options

Source code of the above demo:

Things are going a bit slower than I wanted due to some personal health issues, but I'm hoping to get it done soon-ish. Anyway, next up is text editing.

Check out the github repo's readme to learn more about the project:

it just werks
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline philfrei
« Reply #6273 - Posted 2019-03-04 04:38:31 »

Friend reports back that JavaFX audio program that I compiled and posted for him downloaded and installed smoothly, and runs fine. Yes, the graphics appear, the audio plays, despite these not working on the VM environment where I did the compiling and packaging.

His main complaint: his Mac ID was required. He wants to know the program will be confined to the sandbox. It makes sense that people are a lot less likely to download and run new code from an unknown source if the code has full access to their system.

I've written the steps out (for manual compiling, jlinking, and packaging) and will eventually post them on our wiki thread, but I probably should first try and figure out why the Mac ID is being requested by the installer code (from the "Packages" application).

Tuesday is a session with another friend's Mac. I feel a bit like I'm couch surfing.

music and music apps:
Offline NuclearPixels
« Reply #6274 - Posted 2019-03-04 21:16:24 »

Had an important milestone at work, so could not work much on my game project, nevertheless managed to redo the UI, something which finally pleases my eyes Cheesy, not yet the final version, but very close to the final one:

Learning and having fun developing games. Twitter:
Offline LiquidNitrogen
« Reply #6275 - Posted 2019-03-05 00:22:12 »

New improved terrain generator with (temporary) trees which occur only within their preferred climate ranges.

Offline SkyAphid
« Reply #6276 - Posted 2019-03-05 00:38:31 »

Got text highlighting working. Also made a way to correctly render \t characters despite NanoVG's attempts to arbitrarily make that functionality impossible. The best part is, my solution for it is completely customizable - you can make workarounds for literally any special character defect that NanoVG attempts to throw at you. Remembers kids, only you can prevent arbitrary architecture limitations.

it just werks
Offline BitBotz
« Reply #6277 - Posted 2019-03-05 22:40:32 »

Created a background creator for fast background creation. Proud of the field of view ability of my camera.

Click to Play

Offline NuclearPixels
« Reply #6278 - Posted 2019-03-07 22:28:38 »

Finally had time to test something I was planning for so long time, added shadows (on a separate, shadows only layer). In my opinion looks nice Smiley. I believe I will have to update my blender models and re-render everything now Cheesy

Learning and having fun developing games. Twitter:
Offline SkyAphid
« Reply #6279 - Posted 2019-03-15 07:48:33 »

After fighting some health issues for a week or so, I managed to finally finish my TextArea implementation. I can finally rebuild JDialogue with Clear now.

I rebuilt my text formatting system and added an escape sequence command system that would work with NanoVG. It was kind of tough to get working because it wasn't recognizing ANSI color sequences, so I had to invent my own using HEX colors instead. Ultimately I got everything working in a way that I think is clean, organized, and performance-minded. The system is customizable to a large extent and leaves itself open to future expansion. The best sort of code is the kind that can be expanded without breaking everything around it, in my opinion. So I tried to build Clear around that.

Here's a snippet of how the above text is formatted in the code:
   \02\05#FF7F50Hello World!\01 \04This is entry number " + i + ".\01   

Notice how I was able to actually just insert tabs into the text. Clear will register that tab and render it correctly (normally NanoVG just murders the character). Additionally I have some custom escape sequences for my formatting. These are easily editable.

And here's an excerpt from its documentation (Clear is highly documented) that describes how it all works:

Text areas in software always tend to be highly complex systems. I've tried my best to organize Clear's text areas in a clean and easily modifiable fashion. In simple terms, as I like to keep them, Clear's text area widget is organized as the following:

• TextAreaWidget: This is the core container for the text area and the interface for adding one to a Clear UI. All primary text data is contained in this class.

• TextAreaContentHandler: This class handles rendering and editing the text content of this TextAreaWidget.

• TextAreaContentInputHandler: This class is called by the TextAreaWidget to handle sending input instructions to the TextAreaContentHandler. It's an abstract class and is meant to be extended to allow for custom input configurations. A default one with settings common to most text editing engines is included via DefaultTextAreaContentInputHandler.

• TextAreaInputSettings: This class contains some booleans for easily enabling/disabling input features of the TextAreaWidget. However, whether or not the settings are actually read depends on the TextAreaContentInputHandler implementation.

• TextAreaContentEscapeSequences: This class is an "under the hood" class that handles interpreting special escape sequences that can allow for special text formatting. It's not recommended that this class be tampered with, but new features can be added if necessary.

• TextAreaHistory: This class contains TextState objects that allow for undo/redoing during editing.

If you need to edit or add new features to this text area implementation, the above list should help you in getting started on where to find functionality and how to edit it.

Clear is open source and available here.

Just got a general-purpose syntax highlighting system working too:

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

Innocent Bystander

« Reply #6280 - Posted 2019-03-16 05:00:18 »

Created a background creator for fast background creation. Proud of the field of view ability of my camera.

Click to Play

Where to download source or relice?
Offline SkyAphid
« Reply #6281 - Posted 2019-03-19 08:38:12 »

Completed syntax highlighting for Clear:

And there's also a lot of customization for it, so you can make nifty debug tools like this:

And as usual, the setup is easy:

it just werks
Offline dime26

JGO Wizard

Medals: 80
Projects: 7
Exp: 12 years

Should traffic wardens be armed?

« Reply #6282 - Posted 2019-03-19 13:08:01 »

Small update to road building, placing roads now sets neighbouring tiles, sometimes these neighbour tiles are in other chunks.
Quick debug test to ensure the tiles in other chunks are found correctly to ensure pathfinding will work between chunks.

Draws an "i" to show a neighbour with out a road and draws a box to show neighbour is a road.

Click to Play
Pages: 1 ... 208 209 [210]
  ignore  |  Print  

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

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

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

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

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

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

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

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

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

nelsongames (2952 views)
2018-04-24 18:14:32
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

Deployment and Packaging
by philfrei
2018-08-20 02:33:38

Deployment and Packaging
by philfrei
2018-08-20 02:29:55

Deployment and Packaging
by philfrei
2018-08-19 23:56:20 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‑
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!