Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (736)
Games in Android Showcase (223)
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 2 3 [4] 5 6 ... 10
 31 
 on: 2017-09-15 01:27:03 
Started by philfrei - Last post by cygnus
Hey, so any updates on switching to a single line? Don't mean to nag Cheesy, it would be handy though Smiley and if not no worries at all it's already the best choice out there for its class.

 32 
 on: 2017-09-14 22:30:24 
Started by BurntPizza - Last post by Icecore
Ah--probably the "macro recording" feature proved too tricky to just kick out and I put it aside for that reason.
Capturing Events and reproduce them can be tricky
here some raw example
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  
long Start_Time;
Start_Recording(){
   Start_Time = cur_Time_Ms
}

ArrayList Events
java_Mouse_event(){//etc evn
   long time_Trig = cur_Time_Ms - Start_Time
   Events.add(event, time_Trig)
   
   java_Mouse_event_Proc(ev)
}

java_Mouse_event_Proc()
///
Thread_Load_Events{
   Events_Load
   int proc_List_Pos = 0;
   int size = Events_Load.size;
   while(proc_List_Pos < size){
      long cur_Time_Ms_Macro = cur_Time_Ms - Start_Time_Macro
      int i = proc_List_Pos
      for(; i < size; i++){
         if(ev.time_Trig <= cur_Time_Ms_Macro){
            java_Mouse_event_Proc(ev);
         }else{
            break; //for loop
         }
      }
      proc_List_Pos = i;
      Sleap(15)
   }
}

all be fine and smooth if application don't have Lags =)
if you have after some event let say 100ms lag
-additional event align needed - to compensate multithreading desync ^^
(or don't care if events don't need perfect time accuracy)

 33 
 on: 2017-09-14 21:47:58 
Started by lifemakers - Last post by lifemakers
A funny review for our game by Daikon Media. From now on, I'll never be able to think about our multicolored game pieces in Battle of the Pucks other than as fancy condoms! Smiley


 34 
 on: 2017-09-14 21:30:36 
Started by girthquake - Last post by lifemakers
I tried it, well done! We are also experiencing with a shape game in libGDX right now Smiley

I would suggest to come with a more distinctive name. "Bloc" is such a common term, it gives too many tetris-like games when you do a search, and it doesn't reflect the "towering" or "tipping" part of the gameplay.

 35 
 on: 2017-09-14 20:57:44 
Started by myTrx - Last post by lifemakers
I'll try it today!

 36 
 on: 2017-09-14 20:54:53 
Started by cstg - Last post by lifemakers
I tried it and it's one of my favorite games right now Smiley Cannot wait for a new version with more power-ups like a "match any color" tile or a bomb tile.

 37 
 on: 2017-09-14 20:52:38 
Started by lifemakers - Last post by lifemakers
We made it to the 4th version!

After a long hiatus we released a new version of Batonic: A Game of Balance. It really improves the user experience:

- Table of records
- Replaying from any unlocked level
- Remembers and restores your last Day
- Bug fixes and improvements across the board

Click to Play

 38 
 on: 2017-09-14 19:10:54 
Started by BurntPizza - Last post by philfrei
So easy for projects to get derailed, for me. My last post was about the Theremin. It's so far out of mind that I can't recall why it got back-burnered again. Ah--probably the "macro recording" feature proved too tricky to just kick out and I put it aside for that reason. I really need to get better at follow-through!!

Mostly am focused on JavaScript/VR for startup: downloaded 95 sets of 6 jpgs that form boxes that can be used as 360-degree photos, of a US WWII Navy battleship interior and deck. These could be really cool for a game, but permissions issues. Also, the photographers didn't have navigation through the space in mind. So maybe only a third have clear connections to each other. Lots of knowledge holes to fill: finished w3schools section on HTML and am progressing through CSS. Also working through book on JavaScript after finishing the basic w3schools section.

Had to take a break to work on a bit of music! (I was a music major, after all.) I think the recent remix on this tune (was posted a couple years ago?) has helped a lot. Had avoided using limiters before this for no good reason, but it turns out Audacity's limiter was great at squashing the 'gong' and allowing the overall volume to be boosted to something reasonable. Needs a title. It is a quiet piece, possibly works as background music for coding. Maybe it is strong enough to put up for sale for $1? Have been kind of scared to take that step.

 39 
 on: 2017-09-14 18:29:37 
Started by myTrx - Last post by myTrx
Ok,

since there were no responses ... I now updated the gfx.

What about this look?





 Huh

 40 
 on: 2017-09-14 18:06:26 
Started by pavul - Last post by cygnus
Personally, I recommend doing something like the following:
1  
2  
3  
4  
5  
BufferedImage b = graphicsConfiguration.createCompatibleImage(width, height, transparency);
Graphics2D g = (Graphics2D) g.createGraphics();
(render to g2d, I recommend having some "Renderer" class that renders to any g2d object and then you just submit this g2d to it and call the main render method)
g.dispose();
ImageIO.write(g, "png", fileToWriteTo);

I'm just doing this from memory but this is exactly how I have it in my game and it avoids other things interfering with the screenshot (like other windows).

Pages: 1 2 3 [4] 5 6 ... 10
 
cybrmynd (118 views)
2017-08-02 12:28:51

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

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

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

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

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

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

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

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

Rule (1265 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!