Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (499)
Games in Android Showcase (118)
games submitted by our members
Games in WIP (567)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Cross Language Game Tutorial  (Read 1678 times)
0 Members and 1 Guest are viewing this topic.
Offline SHC
« Posted 2013-04-27 13:19:54 »

Hi everybody,

Today I started a new tutorial website to teach basics of game programming in three languages at ones.

Here's the site.



The languages are Java, C# and VB .Net

I'll be adding more and I need feedback.

Thanks.

Offline ReBirth
« Reply #1 - Posted 2013-04-27 14:20:15 »

Means you're ready to get rain of feedback/comments/critique from 3 regions at once Grin

Offline SHC
« Reply #2 - Posted 2013-04-27 14:35:28 »

I just need ways on how I can improve the content.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline relminator
« Reply #3 - Posted 2013-04-27 14:49:16 »

Nice site!

Wouldn't frame skipping produce stutter in games when your framerate is lower than intended?
Offline ReBirth
« Reply #4 - Posted 2013-04-27 14:58:11 »

I like the site design , and +1 for using code prettify.

OT: are you from India?

Offline SHC
« Reply #5 - Posted 2013-04-27 15:06:53 »

No, it's speed enough in my experience. The main flaw is if on a slower system, the game loop keeps playing catch-up and it'll be always end up in playing catch up without any rendering. I am just skipping 5 frames even in my engine and my demo space invaders game gets almost 38 fps on my crappy old laptop with 512 MB of ram and running XP SP 1 with an integrated intel card of 24 MB of video memory. It is faster and getting 140 fps on my pc.

@ReBirth

Yes. I'm from Andhra Pradesh. Where are you from?

Offline ReBirth
« Reply #6 - Posted 2013-04-28 02:00:21 »

@ReBirth

Yes. I'm from Andhra Pradesh. Where are you from?
You can figure it in way I figured out yours by name Grin

Offline SHC
« Reply #7 - Posted 2013-04-28 04:05:39 »

Hendra G. TamilNadu ?

Offline ReBirth
« Reply #8 - Posted 2013-04-28 04:19:59 »

Nope. In truth it's even different country.

It will be really great if the number of languages variant could increase. (unfortunately I only know Java well and little of JS) Tip for getting feedback: reddit.

Online Roquen
« Reply #9 - Posted 2013-04-30 13:49:16 »

I only quickly glanced (not even a skim) but one thing jumped out at me:

1  
public static long getCurrentTime() { return (System.nanoTime()/1000000); }


Two major problems.  First the counter position is undefined.  So it would be perfectly legal for straight after a cold boot of the OS and running your program for nanoTime to be return negative values.  So you really want to be subtracting from some reference time-stamp.  This has the added advantage that you can simply modify this reference time stamp to handle pauses.  The much bigger problem is the division.  You're throwing away important information in favor of the unimportant.  The accuracy of any digital timer is +/-1 of its resolution and when you subtraction two to get a delta time, the errors compound to +/-2.  Plus or minus 2 ms is long time.  (Likewise you never want to accumulate deltas as they forever compound).  My suggesting to to forget the divide.

1  
public static long getCurrentTime() { return (System.nanoTime() - refTimeStamp); }


Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline SHC
« Reply #10 - Posted 2013-05-28 08:53:18 »

Found out from Google+. ReBirth, you are from Indonesia.

Offline ReBirth
« Reply #11 - Posted 2013-05-28 11:54:11 »

Found out from Google+. ReBirth, you are from Indonesia.
No matter what you do it is hard to hold your information from leaking on internet Cheesy

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Pippogeek (39 views)
2014-09-24 16:13:29

Pippogeek (30 views)
2014-09-24 16:12:22

Pippogeek (19 views)
2014-09-24 16:12:06

Grunnt (44 views)
2014-09-23 14:38:19

radar3301 (27 views)
2014-09-21 23:33:17

BurntPizza (62 views)
2014-09-21 02:42:18

BurntPizza (32 views)
2014-09-21 01:30:30

moogie (39 views)
2014-09-21 00:26:15

UprightPath (50 views)
2014-09-20 20:14:06

BurntPizza (54 views)
2014-09-19 03:14:18
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59: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!