Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (581)
Games in Android Showcase (163)
games submitted by our members
Games in WIP (632)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1] 2 3 ... 6
1  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-05-27 23:12:05
JVM does not have a native FFI.
Do you try JNA http://en.wikipedia.org/wiki/Java_Native_Access ?

after decompiling the JDBC driver we use and seeing the horrors that laid inside. Bad API and bad implementations and everyone's using this shit.

no words, only sad  Sad
2  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-05-23 23:10:22
There is no other way than to delete directory structures recursively.
Lol, Yes you right - even don't now how i forgot this XD
I think about move folder to recycle Bin windows,
(because file manager move separately all files and folders and java simple delete all)
its no so easy in java, but it possible using JNI.
http://en.wikipedia.org/wiki/Java_Native_Access
3  Discussions / Miscellaneous Topics / Re: What are your current personal projects? on: 2015-05-23 09:08:23
Well it's pretty basic right now. Just your basic GDT/IDT/ISR, 32 bit kernel. I'm working on keyboard input as I'm typing this. After that I'll implement some sort of filesystem, mostly likely some FAT variant.
What reference do you Use?)
My personal code reference for OS development – is KolibriOs and Linux Kernel (maybe FreeDOS, BSD) ^^.
4  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-05-23 08:58:17
I find myself funny... Grin
Don’t delete folders like that, really )
Simple delete Top folder.
It may be strange but File manager that i use Multi commander (like it color customization)
Delete files such way and this is nightmare, Why hi doing this???
5  Discussions / Miscellaneous Topics / Re: What are your current personal projects? on: 2015-05-22 19:37:01
Making own programming language with IDE for him ^^
Always have a dream make own language, but without working IDE its like programming in notepad.
(I understand this after couple years of programming)

So now making IDE.
(even don’t have idea how make custom debugger Sad, so in theory for start will convert code to java and debug on java)

Try find at lest some one rd solution, but all I find in internet is custom script language with sad syntax upgrade, same as IDE they so hard to modify even eclipse with plug-in support (rewrite java eclipse AST is hard)
So because I in any case will rewrite so many things I decide make own IDE =)
IDE its like game engine with good window system.

Do this already 6 months Wink
(Custom render, windows, repaint, file tree, etc – nonsense when we have java fx, etc - but its funny)

Current task is: make Save load IDE status – like open windows, etc…

p.s its only personal project: because in practical purposes – no one care 1 more language or IDE
we already have so many them, with big Development team, tutorials and great support.
6  Discussions / Miscellaneous Topics / Re: I'm baaaaack... on: 2015-05-20 20:42:04
No, they can't.
They can't do fallout or skyrim, but they can do flappy bird - copy past tutorials, or tweak ready project )
(if not self then with parents not programmers help - only by video tutorials)
https://www.youtube.com/watch?v=FiHrFGd7Iro

They just get the impression that they could, because everything is so visual oriented and shiny.
This was a talking about
– the problem not in “they can do games”
– problems in “they never make it or even try to make and think that’s easy”
– because so many engines, tutorials etc.
But we can’t change that.

Don't spend years of your life on something that will give you almost nothing in return.

And this is most important question in our life for all of us =)

What you can do more important in free time then programming?
In most cases: drink, make fun, play games, watch videos, sleep and another stuff “that will give you almost nothing in return” in next days even not talking about next months or years.

Let flame this question, really I want know you’re opinion – what alternative you have? =)
7  Discussions / Miscellaneous Topics / Re: I'm baaaaack... on: 2015-05-20 02:59:08
I haven't been on a lot lately (mainly because no-one really liked my game engine).
Because time has changed same as ppl.
Long time ago only small among of ppl can create games or engines - they was smart and all knew that.

Now every first-third school class kid can make games using game engines like Unity.

Same as ppl have changed – they become more stupid, Lazy, selfish and harass )
And Many of them think that creating games same as programming very easy because unity etc...

That why almost no one care about programmers, game developers and what they do – time was changed.

Or other words Because: Flappy Bird and Dota 2 like standalone game with chests… =)

+Industry was changed but that another question - and in past (10 years ago)
no one even call this games as standalone even Minecraft.
8  Discussions / Miscellaneous Topics / Re: What do you define as a programming language? on: 2015-05-02 13:34:18
Often when people ask me what programming languages I know/use, I often answer "php, java, javascript, and basic SQL". Even if I can html and css I mostly don't count those since they don't have the logic php, java, and javascript have, while SQL being on the border since it have a few functions/methods. I just wonder, how many leave out languages like that?
when i say that know programming language - I leave HTML, and SQL)
(and if that resume - write them separate: as extra experience )

p.s I don't understand all that mess that create so simple life question:
“Is HTML, CSS, Xml and SQL ar programming language?
Do I need call them when some one ask about programming languages or write them in resume?”


The only thing we know for sure is what a red line is... or, don't we...? Wink
Nice video.

Up: I draw 7 Perpendicular lines: 2 red line red ink, 2 red line green ink, 2 red line transparent and 1 red line in form balloon kitten.

XD
9  Game Development / Networking & Multiplayer / Re: Smartphone external IP problem on: 2015-04-30 13:20:19
No reply doesn't mean they didn't read it. Also, I think that omitting the one-word "thanks" posts is better,
That why forum have "Appreciate" button  Pointing

If no one give you needed answer,
or you don't need it any more
or find self solution say THAT )

I would hope that most people don't need the confidence boost of someone saying "thanks" after their post,
IMHO: If you can't even say thanks to someone why other must help you?

IMHO 2: I understand that all useless, but at least I try.

p.s https://www.youtube.com/watch?v=EloDnA1_XEU
10  Game Development / Networking & Multiplayer / Re: Smartphone external IP problem on: 2015-04-30 00:46:49
I don’t want be rude.
But it not ethical, is this so hard write: “Ok” or “Thanks” or at least anything “I read it”
Or click “no one care” medal button.

This is so frustrating when you wasting time on some one and hi even can’t say that hi read answer on own question.

Nothing personal: I don't say all this if that was first time, or second, or third …^^

P.s That why I so rarely answer someone - many of them don't care answer XD

pp.s And yes many ppl here doing the same, but its wrong really)
Its destroy forum and mood to do something. People let be ethical and tolerant - please!!!
11  Game Development / Networking & Multiplayer / Re: Smartphone external IP problem on: 2015-04-29 13:04:48
So, I can't connect Server --> Client using the mobile provider connection on server side, right?
Can ) but better don't do that ^^
(only for p2p connect small game, not like game server for minecraft)

Sollutions:
- Dedicated server to manage the connection and resend data.
*(VPN like hamachi)
- Dedicated server that process all)
- LAN.
- WIFI Lan
- Virtual router options on Android (but only close devices can connect and not internet users =/).
--hack 3g Router and forward data on some port to you'r phone, or maybe buy legal static IP from 3g provider.
...

IMHO: for local lan use WIFI Lan,
for all other you can buy VPS it cost 10-20$ per month, for small game you don't need more.
*Internet VPN to lan(android server) like cheat, harder to implement - not so easy like VPS.
12  Game Development / Networking & Multiplayer / Re: Smartphone external IP problem on: 2015-04-28 21:33:41
3G/4G (Android-Server)
Aha - how you go to this?)

Technically it's useless idea.

But you may Use static IP forward to Linux (Android) ^^
(don't sure but may work if do it right)
(*Connect phone to some forward IP then send data to this IP and IP send to phone)

Not Working: 3G/4G (Android-Server) --> Same Network (Desktop-Client).
Maybe 3G/4G internet protocol need some additional information in the address??
Imho: you have no idea how network works XD
3G/4G IP - is Company Router hi have tousend connect phones to 1 IP, and when you send package to external IP you want hi magically resend them to you'r phone  Cheesy
13  Discussions / Miscellaneous Topics / Re: Books, Movies, Games for free on: 2015-04-19 20:33:23
Actually pretty cool. I mean if you would become homeless, wouldnt you rather go to an internet cafe? Cheesy
It's good decision if you can't live without PC )
I agree with it.
14  Discussions / Miscellaneous Topics / Re: Books, Movies, Games for free on: 2015-04-19 11:18:58
Yeah rest assured I have studied the options for years in case of Japan
I see this and think - i must share it Wink
http://www.geeknews.net/2015/03/15/dark-side-of-japan-revealed-in-film-about-internet-cafe-living
15  Discussions / Miscellaneous Topics / Re: Books, Movies, Games for free on: 2015-04-18 10:57:35
In preparation of our moving to the US...
As a German who is going to emigrate as well, I salute you  Cheesy
You rotate my world – I think its be good to working in German XD
But i happy for you guys ^^
16  Discussions / General Discussions / Re: Hiring a Java developer on: 2015-04-13 11:45:05
If you don’t find no one.
Personally I will recommend princec as most experienced.
17  Discussions / General Discussions / Re: Hiring a Java developer on: 2015-04-13 10:52:38
developers cost some money. 50-80$ an hour

8-30$ poor countries with low income
40-90$+ with income 2k+ / month.

Quality = random)
its all human factor.

Quote from: princec
Are you sure we couldn't just answer a few of your questions here?
+
Ask here - its free)
18  Discussions / General Discussions / Re: Legality of Retro-Engineered clients on: 2015-04-11 21:06:44
How legal is this?
When minecraft be mojang, it be ok)
Until buket story)
Until it was sold to microsoft)

But in any case untill you'r income from this project be low - no one care)
(if you not in USA, or any similar copylaw maniac country)

So make it - make 2-3k per month and no one care)
(I hope)
19  Discussions / General Discussions / Re: Does Internet cost matter to you? on: 2015-04-08 14:21:47
70 - 80%  Roll Eyes
nope - 30-40%
https://developer.chrome.com/multidevice/data-compression
20  Discussions / General Discussions / Re: Which Smartphone should I choose??? on: 2015-04-08 10:33:25
hwinwuzhere - https://oneplus.net/nl/one = notch - https://twitter.com/notch/status/583013156575838208/photo/1

Rich ppl XD
21  Discussions / General Discussions / Re: Which Smartphone should I choose??? on: 2015-04-08 10:03:41
the latest only at 4.4 KitKat.
i envy you)
buy phone when hi was 2.3(last OS was 4 on that time)
and last update for me was 2.3.5 ^^

Its all about rebrand)
22  Discussions / General Discussions / Re: Which Smartphone should I choose??? on: 2015-04-08 09:57:54
First i think that samsung its gogole)
but after write couple lines of text understand that its samsung)

so phones it totaly same - same crap)
(have rebrand miramax phone =) its good but after 2-3 OS update, they stop updating OS)
The only differens in diferends brends: exept phone spec

is Android updates and popular software, hardware support )
and some times problems with drivers (but its rare)
(i have some ^^ in my phone need manualy add pid USB to PC to connect in debug mode)


if someone have same problem - Documents and Settings\User\.android\adb_usb.ini
1  
2  
3  
4  
5  
6  
# ANDROID 3RD PARTY USB VENDOR ID LIST -- DO NOT EDIT.
# USE 'android update adb' TO GENERATE.
# 1 USB VENDOR ID PER LINE.
//Bla-bla google you dont add noting(((
0x1C9E
0x9E18

2 my devices) - find this number with any software that show connect USB detail


if you don't care about Android updates then for same money you can buy phone with better specs not from google.
23  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-03-30 09:00:54
(EDIT: Where did the post I replied to go? Shocked )
Delete it)
I suddenly understand that it will make more time to logical write what I mean relative position,
And don’t what dispute in this thread)
And as I can see you already do it right ^^

1  
2  
3  
4  
  font.drawString(x, y+86, "§YEL1Seriously are"
            + "\nyou §RED1ABSOLUTELY sure?"
            + "\n§WHI0THE OLD GAME WILL BE DELETED", 2, true);
      buttonReally.render(g, mouse, x-43, y+165, debug, false);


relative position == buttonReally Y pos(+165) will be same if text have 1 line or 10
(Or font change, or border Gui or Font Gui offset)
 =)
24  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-03-21 15:42:37
it's a mission-based (and tile-based) Ninja game

Nice Smiley
But Imho - idea don’t works like this Sad (for Ninja enemies)
Need or make FOV of Unit very low – to any effect of footsteps and fog.

Or push idea forward and make Turn base FPS with ninja tricks =)
Something Like "Superhot" game.

Or make good bloody like Hotline Miami game )
25  Discussions / Miscellaneous Topics / Re: Crash - Corrupt File, Months of Work Lost on: 2015-03-21 08:45:58
I do backup old versions of my code as zip files with time stamps.

Lol i do same in past xD

and now i think that i can make from all this zips git rep ^^

"Implies a lot of skill"

Its only looks like that,  in Git technical you need 3 command main command:
Commit, pull, push + (some times git clone and git new rep)
That’s all)
I Use for win Tortoise git

Commits for local server ,so if you want: you even don’t need register something in internet simple local backup.

Yes if you fears corrupt files, zips with data better then Local corrupt rep.
But you can same zip copy of local rep)
And in one click make copy in internet

So with git you can faster find file history then using zip.
26  Discussions / Miscellaneous Topics / Re: Crash - Corrupt File, Months of Work Lost on: 2015-03-20 05:58:59
I've never used Visual Studio, but does it have a directory specifically for compiled files. I know you decompiled a 4 month old version but you must have compiled it in VS since then. The "output path" location must have some files.
i think you'r right, when you run project VS compile source somewhere in temp folder

but Imho: 2k lines is not big and you write them,
so to restore them you spend half – full day, max 2
its no so critical as you think it be.

I also lose some code in past Wink
(some times start rewriting something and after 2-3 days understand I do something wrong, sometimes rewrite all from scratch, and yes I start use Git for own projects only 5 month ago ^^ so yes, I understand you’r problem)

And after so many time I now know code is not important – if you write him self, you can do it again and with new knowledge you do it even better =)
27  Discussions / Miscellaneous Topics / Re: Crash - Corrupt File, Months of Work Lost on: 2015-03-20 05:45:24
Try use some restore software - many off them,
I use this – not perfect but fast and sometimes help = PC INSPECTOR File Recovery
Also i try many another software – they find something but file full of byte mass.
so don't find what i can recommend.

Also searching in google, ppl recommend this - http://www.runtime.org/data-recovery-software.htm
I Don’t try it self)

Also last recovery option is use some sort old DOS utilities for recovery – they are best but search spend so much time
28  Game Development / Game Mechanics / Re: Orbital mechanics = Keplers! on: 2015-03-18 08:21:22
https://johncarlosbaez.wordpress.com/2015/03/17/planets_in_the_4th_dimension/

In fact, they’re moving in circles in 4 dimensions.

Some time ago i wrote article about physical 4D and more dimensions spaces movement.
http://www.java-gaming.org/index.php?topic=29604.0

So technical planets that moves in 4 Dimensions is wrong (or we can’t see that ^^)
(with planets interact 4 different forces is ok)

All others formulas looks ok (because I don’t understand what they talking about XD)
29  Discussions / General Discussions / Re: Does Java have 'pointers on: 2015-02-20 22:08:19
Shi have it but they hidden in JVM.

if you need something similar like pointers you can use (without harass with JVM and unsafe)

Object that hold variable object - i use it like pointer for primitive types

Yes its some crap code but technical its pointers)

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
public class Byte_Obj{
   public byte b;
   public Byte_Obj(){}
   public Byte_Obj(byte b){this.b = b;}
   public byte get(){return b;}
   public void set(byte b){this.b = b;}
   public void inc(){b++;}
   public void dec(){b--;}
   public String toString(){
      return new String ("" + b);
   }
}


for obj i use

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
public class Obj_Obj <E>{
   public E Obj;
   public Obj_Obj(){}
   public Obj_Obj(E obj){set(obj);}
   public E get(){return Obj;}
   public void set(E obj){Obj = obj;}
   public String toString(){
      return new String("" + Obj);
   }
}


Up:
Pointer must be able to carry out arithmetic operations and read DIRECTLY from the computer memory and not from JVM memory

You can change memory that use Java and all that fluffy things with pointer memory Wink
its called Direct buffers

http://docs.oracle.com/javase/7/docs/api/java/nio/ByteBuffer.html
allocate mem and then play with unsafe, - get mem address place allocated, and change values there)
but dont try move ther JAVA objects - i try its funny but crapy

Objects become out of mem space GC JVM and when GC called JVM try delete them
or relocate them when mem usage grows
so data stay same but objects marks as deleted
and when you try use them JVM crashes =)

it have some tricks for using obj, but need prevent all this crashes Wink
30  Game Development / Game Play & Game Design / Re: What's The Best Way To Define Items? on: 2015-02-18 10:23:48
say I have 1000 items, that would be 1000 classes.

You will be lost in this 1000 files )

need separate changeable values like NPC HP, Weapon Speed and DMG
and make 1-2 Files with Data that create Needed objects.

Also if you will do big project and have many ppl in Team that can change this values
They need to be separated from code
To external data format
Like XML, Excel, etc

(also its prefer separate all game Text external, for localization, etc)

p.s I use Excel to Xml and then to Code ^^
(because XML multy language format)

(for Excel i Use jexcelapi)

(also XML can be parsed to RAW data for fast load – but no one cares: its from couple ms to 1-2s load time for small project ^^)

Up:
I used something same -
this system is mega cool but you don't need it for small project )

you can't so simple create, alone, this 1000 different game object Types with Quality different texts, imgs, animations, sounds etc
(it will take so many time)

and you can implement it in any time later, so use time for something more real like playable game mechanics ^^
Pages: [1] 2 3 ... 6
 
theagentd (18 views)
2015-05-27 22:21:17

theagentd (23 views)
2015-05-27 22:21:08

CopyableCougar4 (17 views)
2015-05-27 19:24:50

MrMapcom (24 views)
2015-05-23 20:26:16

MrMapcom (32 views)
2015-05-23 20:23:34

Waterwolf (37 views)
2015-05-20 15:01:45

chrislo27 (44 views)
2015-05-20 03:42:21

BurntPizza (79 views)
2015-05-10 15:53:18

FrozenShade (63 views)
2015-05-07 09:11:21

TheLopais (227 views)
2015-05-06 13:36:48
List of Learning Resources
by SilverTiger
2015-05-05 10:20:32

How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21

Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00
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!