English Amiga Board


Go Back   English Amiga Board > Main > Retrogaming General Discussion

 
 
Thread Tools
Old 25 January 2008, 09:23   #61
MadWasp
Registered User
 
MadWasp's Avatar
 
Join Date: Dec 2007
Location: Dogville
Posts: 35
Hi There!


After twenty days no more news in this theme?


MadWasp is offline  
Old 12 February 2008, 15:57   #62
girv
Mostly Harmless
 
girv's Avatar
 
Join Date: Aug 2004
Location: Northern Ireland
Posts: 1,109
jotd, I'd be interested to hear more techy stuff about how you implemented the game in Java. Like, did you use a "game engine" library thing or just use the Java APIs straight off ?
girv is offline  
Old 12 February 2008, 20:21   #63
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,161
Quote:
Originally Posted by girv View Post
jotd, I'd be interested to hear more techy stuff about how you implemented the game in Java. Like, did you use a "game engine" library thing or just use the Java APIs straight off ?
Well, for the first java remake I created (Supercars III), I used a game engine called GTGE.
Since the engine had some annoying "features" and I thought there were some CPU issues (engine was taking too much CPU power), I remade the minimal functions using roughly the same interface, and used it for Gods.

For sound effects, I made my own engine too. I'm not too satisfied about it but it works.

For the joystick inputs, I adapted a JNI DLL that I had found on the web.

I used a free MP3 java replay package for musics, except for the title music , where I used a free MOD player (I could have converted it to MP3, but it works this way and it's smaller!)

So to answer the question, there's a generic game engine within Gods, but I have written it. The source is freely available in the package of course.

For the graphics I used png rips from MaVado, and I built 2 different editors:

- a tileset editor which allows to tag and name static and animated tiles giving them a name an a type: eg background tile, foreground tile, enemy, etc..,

- a level editor using the tileset created by the first editor to compose levels. The editor is able to recognise tiles within a .png image. I could almost effortlessly remake the original levels from the maps in HOL (although they were a bit buggy so I also used a bit of the Sega maps).

That editor allows you to position & configure bonuses, monsters and monster triggers, ... on the map. You have to create zones for side & face doors, and also teleports, level ends...

The nice thing about having tagged the tiles is that you hardly have to define walls and platforms. Those are "foreground" blocks. There are exceptions, and special zones to convert foreground blocks in background blocks and reverse.

When you enter a zone, some callback is triggered. Most callbacks can be achieved without any extra code because there are pre-defined object associations like

- walk in a zone => display such and such monster
- pull a level => open/close trap
- walk in a zone with an object => remove the object and show a key

You can also code stuff for more complex behaviour, and mix both ways of adding behaviour to the level.

I hope it's detailed enough for you. I must say that I'm glad about how development went (compared to Supercars III) and I'm very proud of the result.

Ok, enough babbling

@MadWasp: sorry if I stopped (temporarily) the design of the new levels. I think I'll resume work in a few weeks.
jotd is offline  
Old 12 February 2008, 22:57   #64
girv
Mostly Harmless
 
girv's Avatar
 
Join Date: Aug 2004
Location: Northern Ireland
Posts: 1,109
Thanks for the info jotd. I hadn't downloaded the package when I wrote the question and didn't realise the full source code was in the package too! I've been a corporate (J2EE) Java programmer for some years now and I was curious how you could write games in Java as well

girv is offline  
Old 13 February 2008, 10:39   #65
girv
Mostly Harmless
 
girv's Avatar
 
Join Date: Aug 2004
Location: Northern Ireland
Posts: 1,109
One more thing Was it a concious decision to use Java or was it just a language you already knew ?
girv is offline  
Old 13 February 2008, 18:31   #66
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,161
Quote:
Originally Posted by girv View Post
One more thing Was it a concious decision to use Java or was it just a language you already knew ?
I had a 5-day training paid by my company, and then I managed a student for a java based tool at work.
Of course I knew C++ extremely well, which also helps.

Then I started the remakes and things became serious
jotd is offline  
Old 14 February 2008, 15:24   #67
gimbal
cheeky scoundrel
 
gimbal's Avatar
 
Join Date: Nov 2004
Location: Spijkenisse/Netherlands
Age: 42
Posts: 6,905
I like Java for games because it can be made to run on different OS'es of course, especially now that java has been made open source, but it is also amazing how easy and quick it is to write the games. The greatest strength in Java is how easy it is to debug the code, and the gigantic API set that backs it. But the native APIs are not the only good thing, just look at the effort being made to bring all popular C++ APIs to Java:

LWJGL (OpenGL, OpenAL, joystick support): http://www.lwjgl.org/
JOGL (OpenGL): https://jogl.dev.java.net/
JOAL (OpenAL): https://joal.dev.java.net/
FMOD: http://topresultmate.com/fmod/

(for people who do not know, OpenAL is an open source audio library. OpenAL provides cross-platform support for 3D audio in the same way OpenGL provides cross-platform support for 3D graphics. For example Creative provides a hardware accelerated OpenAL driver that supports EAX technologies).

Using these APIs alone helps a lot to make games truly cross-platform, with little to no loss in frame rate. The only disadvantage to Java is the fact that the runtime needs to be installed, which means people might have to go to java.com and click a big green button. But the "Java Web Start" technology, which allows you to install or update a java application by clicking a web link (even adding it to the uninstall options of the OS), makes it so easy to distribute and run the games.

Meh, I will stop selling Java now, I know I will not convince people who have already slated it as being a tool of the devil
gimbal is offline  
Old 14 February 2008, 16:09   #68
girv
Mostly Harmless
 
girv's Avatar
 
Join Date: Aug 2004
Location: Northern Ireland
Posts: 1,109
I've already replied to jotd by PM as I didn't want to hijack his thread too much, but I'll repeat it here now that someone else has joined the discussion

Some time ago I'd looked into quite a few options for developing homebrew games - C++, Java, Blitz Basic (and similar) and even Python (with pyGame). My conclusion was that C++ with the SDL library was the combination with the best cross-platform ability - there would even be a chance of an Amiga OS4 / PPC port, GP32x etc.!

Java runs on fewer platforms (honestly) and has deployment issues (or so I thought), but also opens up the mobile world if I restrict myself to the J2ME / MIDP2.0 APIs.

I was interested to know why a C++ guy would chose Java for making games?

My true love is 68k of course
girv is offline  
Old 14 February 2008, 16:30   #69
gimbal
cheeky scoundrel
 
gimbal's Avatar
 
Join Date: Nov 2004
Location: Spijkenisse/Netherlands
Age: 42
Posts: 6,905
Well lets drop the discussion right here, these discussions need to take place on a game development forum and... well there are flame wars almost every day about these subjects

I will conclude by agreeing with you that C++ is still the *best* choice to do games, but I add that Java has become a very good second option because of the development and debugging ease. But I see Java more for free open source games, not for commercial products.
gimbal is offline  
Old 26 March 2008, 13:08   #70
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,161
@gimbal: I agree 100%. Unless you need to do Java for mobile phones

Well, a little more "on-topic", version 0.4 of the remake is out. It features 2 complete custom levels (based on level 1 & level 2 graphics).
I think they're challenging enough. I'm starting work on a custom level 3.
jotd is offline  
Old 26 March 2008, 16:45   #71
gimbal
cheeky scoundrel
 
gimbal's Avatar
 
Join Date: Nov 2004
Location: Spijkenisse/Netherlands
Age: 42
Posts: 6,905
Out of interest: are you going to do another remake after you are done with gods?
gimbal is offline  
Old 26 March 2008, 18:43   #72
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,161
Quote:
Originally Posted by gimbal View Post
Out of interest: are you going to do another remake after you are done with gods?
I was contemplating Magic Pockets. I'm not sure
jotd is offline  
Old 26 March 2008, 19:05   #73
gimbal
cheeky scoundrel
 
gimbal's Avatar
 
Join Date: Nov 2004
Location: Spijkenisse/Netherlands
Age: 42
Posts: 6,905
Meh, Magic Pockets is too much like Gods. Supercars - Gods - need something new to sink your teeth in
gimbal is offline  
Old 26 March 2008, 19:14   #74
laffer
Zone Friend
 
laffer's Avatar
 
Join Date: Oct 2006
Location: Norway
Age: 43
Posts: 1,335
A remake of "It Came from the Desert" would be very awesome. Pretty different from the ones you've done too.
laffer is offline  
Old 26 March 2008, 19:51   #75
Dastardly
Into the Wonderful
 
Dastardly's Avatar
 
Join Date: Mar 2002
Location: England
Age: 49
Posts: 2,335
Hey Jotd.

If it's a BB game you're considering, how about Chaos Engine? You could give us the sequel the original deserves!

Looking forward to giving your latest version of Gods a run through
Dastardly is offline  
Old 26 March 2008, 20:58   #76
Anubis
Retro Gamer
 
Anubis's Avatar
 
Join Date: Jan 2005
Location: Underworld
Age: 51
Posts: 4,058
What he really means is Superfrog.

See connection: supercars, superfrog....
Anubis is offline  
Old 26 March 2008, 21:37   #77
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,161
To remake a game I would need to know it by heart. That's the case with the following ones:

Cadaver: I don't have too many ideas for new puzzles.

Chaos Engine: good idea, but it would be tough: the maps are not ripped, neither are the graphics, and computer AI would be hard to remake. The music would need special treatment too. But that's right: the game could use more levels & more secrets.

Gods & Supercars II, and that's also the case with Magic Pockets, Cadaver, and The Chaos Engine.
CE II sucked I agree.

Magic Pockets: you're right, the effort would not be too big to remake it, considering that the game could be easily derived from Gods and that I have all the game maps & ripped gfx. I could even keep the monster AI. But I don't see how I could enhance it. There are no puzzles like in Gods. New gamemaps would be cool, but nothing like extending Gods or Chaos Engine.

Superfrog: new maps would have to be designed. I don't feel like it.

About ICFD: I don't know it enough, and fail to see what would be the benefit of a remake. It would need new graphics, new sections, ... So no.

Other ideas?
jotd is offline  
Old 26 March 2008, 22:46   #78
gimbal
cheeky scoundrel
 
gimbal's Avatar
 
Join Date: Nov 2004
Location: Spijkenisse/Netherlands
Age: 42
Posts: 6,905
Well I was toying around with the idea to do a multiplayer cannon fodder. I would see it like a 2d battlefield:vietnam really. Each player controls their own soldier and uses everything cannon fodder has to blast the others into oblivion; grenades, rockets, exploding rooftops, vehicles... going really far also the helicopter could be used in teamplay games to transport teammembers or something.

I envision a mode where one person drives around in a jeep and everyone else has the task to blow him up; I can see it now, rockets flying everywhere, blowing everything BUT the jeep up... major fun.
gimbal is offline  
Old 26 March 2008, 23:14   #79
frikilokooo
Registered User
 
frikilokooo's Avatar
 
Join Date: Mar 2007
Location: Mallorca,Spain.
Age: 44
Posts: 1,154
Quote:
Originally Posted by jotd View Post
Chaos Engine: good idea, but it would be tough: the maps are not ripped, neither are the graphics, and computer AI would be hard to remake. The music would need special treatment too. But that's right: the game could use more levels & more secrets.
I agree,this game has the double work that most of Amiga games.The playability has a lot work and there are piles of upgrade weapons,hidden levels...OMG!
frikilokooo is offline  
Old 27 March 2008, 05:48   #80
laffer
Zone Friend
 
laffer's Avatar
 
Join Date: Oct 2006
Location: Norway
Age: 43
Posts: 1,335
Would be nice to have a version running in XP though.. I know a lot of people who don't want to even try using emulators.
laffer is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gods -Deluxe- demo released jotd Retrogaming General Discussion 50 22 January 2016 22:26
new HSMathLibs released (beta) Bamiga2002 News 8 20 December 2007 23:35
GameBaseAMY beta released Runey News 36 27 December 2004 08:54
AWeb 3.5.03 beta released Paul News 3 27 November 2004 11:00
Gem'Z / Kaiko, Deluxe M.U.L.E. beta ? Korodny request.Old Rare Games 10 30 November 2001 16:46

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 18:05.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.10729 seconds with 14 queries