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 ... 5 6 [7] 8 9 10
 61 
 on: 2017-09-15 05:40:22 
Started by BurntPizza - Last post by Slyth2727
So I got a little side tracked from the original project and wrote some code to move the mouse with my hand. In the first portion of the video I demonstrate that and in the second bit I show how the model can discriminate between three different hand postures. That parts a WIP but it's getting there. It can only get accurate when my hand is in the center of the image. Hope you like my 20+ hour sleep deprived face in the background.

Mouse movement uses a very simple algorithm of getting the average position of all those white pixels. Which is why I have to have my sleeve up. But it works decently.

edit: trained it a bit better, now it's much better at detecting posture no matter the position and angle. Now I can click by putting a finger up! I also coded it to 'press' space so I could play that little chrome dinosaur game. Jumping when I put one finger up.

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

 62 
 on: 2017-09-15 04:21:02 
Started by philfrei - Last post by philfrei
By all means, nag! I am far too easily discouraged or distracted. If people ask for things I am much more encouraged and likely to follow through. Character weakness.

 63 
 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.

 64 
 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)

 65 
 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


 66 
 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.

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

 68 
 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.

 69 
 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

 70 
 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.

Pages: 1 ... 5 6 [7] 8 9 10
 
cybrmynd (125 views)
2017-08-02 12:28:51

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

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

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

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

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

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

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

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

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