Advice on creating a game

Page 1 of 1

9 Replies - 824 Views - Last Post: 29 June 2016 - 05:01 PM Rate Topic: -----

#1 rjsc2000  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 29-June 16

Advice on creating a game

Posted 29 June 2016 - 03:02 PM

Hi all. First post.

I would like to migrate a game made in Pascal, but i don't wan't to migrate the code itself. I want to keep the look and feel but written in JAVA (or some other language).

I program in PL/SQL (Oracle) and i've done some programs in Java as well. My biggest problem are the graphics to use. I want something that i can program easily. I've thought about using the graphics library in Java but it seems to much low level. And so i ask for advice here.

I attached some images to ilustrate the game.

BTW, the game doesn't need a loop . Basically it's a 'press a key and do something' on the screen.

Thanks

Ricardo

Attached image(s)

  • Attached Image
  • Attached Image
  • Attached Image


Is This A Good Question/Topic? 0
  • +

Replies To: Advice on creating a game

#2 macosxnerd101  Icon User is online

  • Games, Graphs, and Auctions
  • member icon




Reputation: 12218
  • View blog
  • Posts: 45,291
  • Joined: 27-December 08

Re: Advice on creating a game

Posted 29 June 2016 - 03:18 PM

Quote

I would like to migrate a game made in Pascal, but i don't wan't to migrate the code itself.

This is pretty much your only option- rewriting the code in the new language.

Quote

I've thought about using the graphics library in Java but it seems to much low level.

I would suggest not using Swing or AWT. You could try JavaFX, but Java is basically dead as a desktop application. It's primarily used for the mobile platform (Android) and enterprise applications (Java EE).

Quote

BTW, the game doesn't need a loop . Basically it's a 'press a key and do something' on the screen.

Any non-trivial program has a loop... At least, any non-trivial program that is written well.
Was This Post Helpful? 0
  • +
  • -

#3 rjsc2000  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 29-June 16

Re: Advice on creating a game

Posted 29 June 2016 - 03:25 PM

Thanks for the reply.

I don't have any problem using another programming language. What do you recommend?
Was This Post Helpful? 0
  • +
  • -

#4 macosxnerd101  Icon User is online

  • Games, Graphs, and Auctions
  • member icon




Reputation: 12218
  • View blog
  • Posts: 45,291
  • Joined: 27-December 08

Re: Advice on creating a game

Posted 29 June 2016 - 03:26 PM

Honestly, you can just pick one. C++ is a common choice in game programming. C# with the Mono framework is another.

I'll move this to Game Development for better discussion.
Was This Post Helpful? 0
  • +
  • -

#5 rjsc2000  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 29-June 16

Re: Advice on creating a game

Posted 29 June 2016 - 03:35 PM

Thanks
Was This Post Helpful? 0
  • +
  • -

#6 SixOfEleven  Icon User is offline

  • Planeswalker
  • member icon

Reputation: 1055
  • View blog
  • Posts: 6,643
  • Joined: 18-October 08

Re: Advice on creating a game

Posted 29 June 2016 - 04:08 PM

MonoGame with C# should be pretty easy to pick up. That would be because of the similarity between Java and C#. There are a lot of resources around for C# and MonoGame. You can even port the game to other platforms.

I have to agree with Mac on games needing a look loop. Even in a click and respond game there is a rudimentary loop that repeats itself, even if you haven't implemented it directly. The code would just end after one action. For example, if you're clicking buttons on a form to cause results the loop is running in the background because GUI applications are multithread and the background thread is your loop in that case. A sample of a game with out a loop is a coin toss. The person guess the toss, the coin is tossed, they win or lose and the game ends.

This post has been edited by SixOfEleven: 29 June 2016 - 04:08 PM

Was This Post Helpful? 0
  • +
  • -

#7 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 13666
  • View blog
  • Posts: 54,542
  • Joined: 12-June 08

Re: Advice on creating a game

Posted 29 June 2016 - 04:43 PM

The larger question, do you have the rights to copy the game?
Was This Post Helpful? 0
  • +
  • -

#8 SixOfEleven  Icon User is offline

  • Planeswalker
  • member icon

Reputation: 1055
  • View blog
  • Posts: 6,643
  • Joined: 18-October 08

Re: Advice on creating a game

Posted 29 June 2016 - 04:47 PM

I read it this way:

Quote

I would like to migrate a game I made in Pascal, but i don't wan't to migrate the code itself.

Was This Post Helpful? 0
  • +
  • -

#9 rjsc2000  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 29-June 16

Re: Advice on creating a game

Posted 29 June 2016 - 04:53 PM

Humm.. i haven't asked and i don't think it's an issue since i won't sell it.When the time comes i'll think about it.

Now i just want to decide on the technology and the graphics to use.
Was This Post Helpful? 0
  • +
  • -

#10 macosxnerd101  Icon User is online

  • Games, Graphs, and Auctions
  • member icon




Reputation: 12218
  • View blog
  • Posts: 45,291
  • Joined: 27-December 08

Re: Advice on creating a game

Posted 29 June 2016 - 05:01 PM

It actually is an issue, because it isn't your game. We do not provide help for those trying to pirate someone else's game. I'll close this thread.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1