Java-Gaming.org Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (804)
Games in Android Showcase (239)
games submitted by our members
Games in WIP (868)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 ... 10 11 [12] 13 14 ... 216
  ignore  |  Print  
  What I did today  (Read 3667014 times)
0 Members and 8 Guests are viewing this topic.
Offline kevglass

« JGO Spiffy Duke »


Medals: 319
Projects: 25
Exp: 22 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #330 - Posted 2014-07-29 08:17:02 »

Timed every level, add 10 new levels and 8 new features on Jumproom



Good session!

Cheers,

Kev

Offline OpenGLShaders

Junior Devvie


Medals: 4
Exp: 2 years



« Reply #331 - Posted 2014-07-29 17:29:16 »

Pointing Finished my avatar.

Edit: ..which doesn't look great in the sidebar. Better here: https://dl.dropboxusercontent.com/u/81912152/openglshaders.gif
Offline princec

« JGO Spiffy Duke »


Medals: 1146
Projects: 3
Exp: 20 years


Eh? Who? What? ... Me?


« Reply #332 - Posted 2014-07-29 19:56:30 »

Scrollbar widget, lives alongside the checkbox and textfield widget. My life is complete.
Or it will be when I've made the scrollpane widget.

Cas Smiley

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

JGO Wizard


Medals: 116
Projects: 2
Exp: 8 years


The cake is probably a lie.


« Reply #333 - Posted 2014-07-30 17:15:19 »

I took some Swing and a bottle of Coke, and started working on a little something that I actually want to have. Couldn't find any application that does it like I want (and supports features I need), so its Do-It-Yourself time!



Have a nice day.

- Longor1996

The cake is probably a lie... but it's a delicious lie!
Offline mag
« Reply #334 - Posted 2014-07-31 15:40:39 »

Fixed shadow bugs, added day/night cycle and added an outline on the blocks to help distinguish them.
Offline Riven
Administrator

« JGO Overlord »


Medals: 1371
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #335 - Posted 2014-07-31 16:17:32 »

https://github.com/riven8192/LibComponents/blob/master/src/nav/script/gui/CssTextPane.java



Customizable and speedy syntax highlighter: (styles text on the currently edited line only)
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
35  
36  
37  
38  
39  
40  
41  
42  
43  
44  
public class CssTextPaneTest {
   public static void main(String[] args) {
      try {
         UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
      }
      catch (ClassNotFoundException | InstantiationException | IllegalAccessException | UnsupportedLookAndFeelException e) {
         e.printStackTrace();
      }

      final CssTextPane pane = new CssTextPane();

      pane.defineStyle("*        { color: #000; font-style: normal; font-size:12; font-family: courier; } ");
      pane.defineStyle("signal   { color: #00f; font-style: normal; } ");
      pane.defineStyle("schedule { color: #c0c; font-style: normal; } ");
      pane.defineStyle("control  { color: #080; font-style: normal; } ");
      pane.defineStyle("trycatch { color: #c40; font-style: normal; } ");
      pane.defineStyle("jump     { color: #048; font-style: normal; } ");
      pane.defineStyle("comment  { color: #088; font-style: italic; text-decoration: none } ");

      String pre = "^|\\s|\\G";
      String post = "\\s|//|$";

      {
         pane.addSyntaxElement("signal", Pattern.compile("(" + pre + ")(\\d+)(" + post + ")"), 2);
         pane.addSyntaxElement("trycatch", Pattern.compile("(" + pre + ")(THROW|CATCH)(" + post + ")"), 2);
         pane.addSyntaxElement("schedule", Pattern.compile("(" + pre + ")(YIELD|SLEEP|WAIT|HALT)(" + post + ")"), 2);
         pane.addSyntaxElement("control", Pattern.compile("(" + pre + ")(BEGIN|END|FUNCTION|NOT|WHILE|DO|IF|THEN|ELSE)(" + post + ")"), 2);
         pane.addSyntaxElement("jump", Pattern.compile("(" + pre + ")(GOTO|CALL|BREAK|LOOP)(" + post + ")"), 2);
         pane.addSyntaxElement("comment", Pattern.compile("(#.*$)"), 1);
      }

      pane.activateUndoRedo();
      pane.activateAutoRestyle();

      JFrame frame = new JFrame("CrudeScript syntax highlighter");
      frame.getContentPane().setLayout(new BorderLayout());
      frame.getContentPane().add(pane.wrapInScrollPane(640, 480));
      frame.setResizable(true);
      frame.pack();
      frame.setLocationRelativeTo(null);
      frame.setVisible(true);
      frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
   }
}


One could write a pretty good GLSL syntax highlighter in minutes... using basic CSS and simple regex patterns.

Multi-line styling is not (yet) supported, meaning a multi-line comment (like
/* ... */
) won't restyle all the lines it should.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline Longor1996

JGO Wizard


Medals: 116
Projects: 2
Exp: 8 years


The cake is probably a lie.


« Reply #336 - Posted 2014-07-31 21:17:44 »

Making a actual working Graph logic/rendering system seems pretty hard.



I think it looks nice. Now on to making even more logic!

The cake is probably a lie... but it's a delicious lie!
Offline death_angel
« Reply #337 - Posted 2014-07-31 21:23:27 »

Doing some art:

I am just a guy
Offline PandaMoniumHUN

JGO Coder


Medals: 32
Exp: 3 years


White-bearded OGL wizard


« Reply #338 - Posted 2014-07-31 21:26:35 »

Making a actual working Graph logic/rendering system seems pretty hard.
Nice. Did you get the inspiration from Blender's node editor system? Smiley

My Blog | Jumpbutton Studio - INOP Programmer
Can't stress enough: Don't start game development until you haven't got the basics of programming down! Pointing
Offline ra4king

JGO Kernel


Medals: 508
Projects: 3
Exp: 5 years


I'm the King!


« Reply #339 - Posted 2014-08-01 02:50:00 »

https://github.com/riven8192/LibComponents/blob/master/src/nav/script/gui/CssTextPane.java

...

Customizable and speedy syntax highlighter: (styles text on the currently edited line only)

...
That code brings tears to my eyes, very beautiful and well organized. A single question though: why?

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Slyth2727
« Reply #340 - Posted 2014-08-01 02:51:45 »

Built my new computer, been testing a few games with it for the past couple days. Absolute monster of a PC, I'm in love.
Offline wessles
« Reply #341 - Posted 2014-08-01 02:58:58 »

Cool! What specs?
Offline Roquen

JGO Kernel


Medals: 518



« Reply #342 - Posted 2014-08-01 05:42:19 »

That code brings tears to my eyes, very beautiful and well organized. A single question though: why?
[/quote]
I don't know Riven's why, but an obvious answer is live coding.
Offline Riven
Administrator

« JGO Overlord »


Medals: 1371
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #343 - Posted 2014-08-01 06:52:07 »

That code brings tears to my eyes, very beautiful and well organized. A single question though: why?

I was incredibly bored. So I wrote a 1970s style procedural scripting language with support for nested functions, throwing exceptions, scheduling directives, etc. Then I 'needed' syntax highlighting, so I wrote this spaghetti code that you are impressed by, touched even, or I fell for your innocent trollin'. I wouldn't dare to commit such code at work Emo They'd power down the air conditioning to make me and my collegues suffer for my frivolity.



It feels like I got a better reception to this thingy than from LibContinuations and LibStruct combined. Resentful you say? Only when bitter!

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline ra4king

JGO Kernel


Medals: 508
Projects: 3
Exp: 5 years


I'm the King!


« Reply #344 - Posted 2014-08-01 09:24:21 »

That code brings tears to my eyes, very beautiful and well organized. A single question though: why?

I was incredibly bored. So I wrote a 1970s style procedural scripting language with support for nested functions, throwing exceptions, scheduling directives, etc. Then I 'needed' syntax highlighting, so I wrote this spaghetti code that you are impressed by, touched even, or I fell for your innocent trollin'. I wouldn't dare to commit such code at work Emo They'd power down the air conditioning to make me and my collegues suffer for my frivolity.

It feels like I got a better reception to this thingy than from LibContinuations and LibStruct combined. Resentful you say? Only when bitter!
I just spent a few hours looking through that repository, especially when I discovered this whole 'craterstudio' package. I'm very impressed; it really is nice, I don't see why you don't agree. What was all this for?

I wish I can get your drive when feeling bored. How do you get these ideas?

Concerning LibStuct, I'm thinking of starting to use it. Get on IRC more often! Smiley

Offline Riven
Administrator

« JGO Overlord »


Medals: 1371
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #345 - Posted 2014-08-01 09:28:09 »

LibBase and LibComponents are ancient grab-bags of utility code.

The CssTextPane and the BasicScript classes are in self-contained packages, so you can safely ignore the bulk of the repo.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline Riven
Administrator

« JGO Overlord »


Medals: 1371
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #346 - Posted 2014-08-01 09:44:57 »

I wish I can get your drive when feeling bored. How do you get these ideas?
Coming up with (and writing) tools barely qualifies as having worthy ideas.
I want to write a game some day, and until that day comes I write tools to make that day a breeze Pointing


Concerning LibStuct, I'm thinking of starting to use it. Get on IRC more often! Smiley
#LWJGL is 90% login/logout notifications and 10% meaningless chatter. Productive people have moved on to LibGDX, not looking back. Oh well, maybe I should setup a (sub)domain for LibContinuation/LibStruct, to reach... the masses.

Contrary to popular belief, a single JGO forum posts doesn't quite cut it Emo

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline jrenner
« Reply #347 - Posted 2014-08-01 14:21:29 »

Yesterday and Today I implemented network code into my FPS Engine (you can see it in the WIP section here).
Network code is the whole shebang with Entity interpolation and client side prediction.  It really can be quite challenging. I had attempted it once before, laser year, on a different toy project, but never met with success. This time I persevered and it's really quite satisfying to see it in action.  It is, however, ridicuous how much program complexity increases just by adding real time networking.  Because it is multi-threaded by nature, you get hit by the double hammer of network issues and concurrency issues.
Offline BurntPizza

« JGO Bitwise Duke »


Medals: 486
Exp: 7 years



« Reply #348 - Posted 2014-08-01 14:30:06 »

I want to write a game some day, and until that day comes I write tools to make that day a breeze Pointing

I also seem to be a tool maker more than an actual game dev, or at least I'm terrible at coming up with anything that would resemble fun.

Contrary to popular belief, a single JGO forum posts doesn't quite cut it Emo

I mention LibStruct to people on reddit every how and again. Traffic info on it isn't available but I suspect you've gotten a few visitors.
I myself have yet to use it but I think I might have a worthy use case coming up soon.
Offline Riven
Administrator

« JGO Overlord »


Medals: 1371
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #349 - Posted 2014-08-01 14:31:02 »

@jrenner Networking does not necessarily imply concurrency (use NIO). When working with Old IO, you should solely read/write on network threads, and stuff the logcal packets in queues, for the main loop to process.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline Longor1996

JGO Wizard


Medals: 116
Projects: 2
Exp: 8 years


The cake is probably a lie.


« Reply #350 - Posted 2014-08-01 14:31:25 »

Making a actual working Graph logic/rendering system seems pretty hard.
Nice. Did you get the inspiration from Blender's node editor system? Smiley

From Blender, but mainly from the Unreal-Development-Kit.

The cake is probably a lie... but it's a delicious lie!
Offline kpars
« Reply #351 - Posted 2014-08-01 18:39:45 »

Tore apart my computer, made a ton of upgrades.
Re-Installed Linux.

Decided to give KDE another chance.
Pretty Fun.

- Jev
Offline Slyth2727
« Reply #352 - Posted 2014-08-01 19:20:15 »

Cool! What specs?

Thanks Smiley
780 ti, i7 4770k, 8 GB of corsair vengeance DDR3, 150 GB SSD, 1 TB HD, Asus Z87 Pro Wifi AC motherboard, and an 850 watt PSU. I got a heat sink fan and a couple other peripherals, but that's the main build. I'm going to do the overclocking this weekend, because who buys a heat sink and 4770k to not overclock? It may be a little bit over the top, but I think I earned it from the work I did for it.
Offline Herjan
« Reply #353 - Posted 2014-08-01 21:35:40 »

780 ti, i7 4770k, 8 GB of corsair vengeance DDR3, 150 GB SSD, 1 TB HD, Asus Z87 Pro Wifi AC motherboard, and an 850 watt PSU.

Ok, if you do it, you do it good.
That 850 Watt PSU is a lot though, even for your (overclocked) setup. Well, I guess it keeps the possibility to upgrade your desktop open when your PC becomes scrap over a few months when next gen Intel processors come out. Wink

Tore apart my computer, made a ton of upgrades.
Re-Installed Linux.

Tore apart my computer, made a ton of... dust disappear to live happily with his friends in the vacuum cleaner.

So you re-installed Linux? (sounds like an upgraded data storage Wink) Funny, I considered this picture quite matching, when I was searching for funny vacuum cleaner pictures out of boredom after writing this post:

Offline Slyth2727
« Reply #354 - Posted 2014-08-01 22:55:57 »

780 ti, i7 4770k, 8 GB of corsair vengeance DDR3, 150 GB SSD, 1 TB HD, Asus Z87 Pro Wifi AC motherboard, and an 850 watt PSU.

Ok, if you do it, you do it good.
That 850 Watt PSU is a lot though, even for your (overclocked) setup. Well, I guess it keeps the possibility to upgrade your desktop open when your PC becomes scrap over a few months when next gen Intel processors come out. Wink

How will it become scrap? It's not as if it will suddenly lose it's power. There will just be better processors out there. I got a better power supply because I may upgrade later to sli.
Offline ags1

JGO Kernel


Medals: 367
Projects: 7


Make code not war!


« Reply #355 - Posted 2014-08-02 00:25:22 »

Slyth2727, is this your new system on my website?

http://www.headline-benchmark.com/results/6c11265b-3441-4d64-a378-7506aba670d5

Offline CogWheelz
« Reply #356 - Posted 2014-08-02 00:49:11 »

I made a boat.



I've been getting the code and art for my project organized and ready for when I actually do game play (tonight).
Offline Slyth2727
« Reply #357 - Posted 2014-08-02 01:24:01 »


Indeed it is.
Offline jrenner
« Reply #358 - Posted 2014-08-02 05:02:20 »

@jrenner Networking does not necessarily imply concurrency (use NIO). When working with Old IO, you should solely read/write on network threads, and stuff the logcal packets in queues, for the main loop to process.

I'm using KryoNet which is runs on its own threads by default.  And I am indeed sending all the logic to queues.
Offline Ecumene

JGO Kernel


Medals: 200
Projects: 4
Exp: 8 years


I did not hit her! I did not!


« Reply #359 - Posted 2014-08-02 06:08:45 »

I just got the "OpenGL Superbible 6th Edition", "A Mind For Numbers How to Excel at Math and Science", and "A History And Analysis Of Level Design In 3d Computer Games". I plan on reading them all over the course of the next two weeks.

Pages: 1 ... 10 11 [12] 13 14 ... 216
  ignore  |  Print  
 
 

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

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

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

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

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

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

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

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

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

nelsongames (5115 views)
2018-04-24 18:15:36
A NON-ideal modular configuration for Eclipse with JavaFX
by philfrei
2019-12-19 19:35:12

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