Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


TheDuceCat

Member Since 27 Nov 2011
Offline Last Active Aug 12 2012 05:32 PM

Topics I've Started

Importing LUA Functions Using LuaJ?

20 January 2012 - 04:02 PM

I'm using LuaJ, and I have a LUA file filled with a bunch of functions. How do I import these functions to use in Java with LuaJ?

SOLVED: After looking at the README more thoroughly, I have it now.

Finding which Block Clicked

28 November 2011 - 07:40 PM

I am making a very simple 2D sandbox game, kind of a clone of Terraria. When the player clicks a block, I want it to delete. I'm not sure how I'm going to do this. The only way I could think was to make a Rectangle object surround the block, then using a for loop to cycle through every single block and check if the mouse's co-ordinates are contained in the Rectangle, but it seemed way too inefficient.

I'm using Java and Slick2D.

Why not Java?

27 November 2011 - 12:56 AM

I understand many people use Java and love it, so do I. I love eclipse and it's syntax. But I'm hearing c# is now better than Java in many ways. Many c# game devs use XNA, which I won't use because of its lack of cross platform support. What are my other c# options? Besides Unity, I don't know any. I also hear c++ is great for games, but advanced memory management scares me.

PARTNERS