CPCWiki forum

General Category => Games => Topic started by: EgoTrip on 22:19, 26 May 15

Title: New Game: Oceano
Post by: EgoTrip on 22:19, 26 May 15
Here's a simple maze game I made in AGD. Nothing too daring or complex as to avoid crashing. There's not been much released for a while on the CPC so I thought I would generate some activity, and also have a game of my own to play on my real CPC (when I get the tape working).

Updated: version 1.3 PLEASE RE-DOWNLOAD!

Amy decided to explore the seas in search of 20 fabled power crystals that have long been lost in the ocean. However there are robotic fish guarding them, and acidic bubbles that can damage her sub. She does have a weapon at her disposal in order to disable the fish, but it takes a while to charge so she cannot mindlessly shoot at them. After a short while, the sub will start to sink to the bottom of the ocean. Controls are joystick only (sorry).

(http://i.imgur.com/vBeHCpS.png)

Downloads (Version 1.3)
disk image: https://app.box.com/s/0n3rdkjyz63qn3o7cik5f22j5if054lv (https://app.box.com/s/0n3rdkjyz63qn3o7cik5f22j5if054lv)
tape image: coming soon
wav file: coming soon
Title: Re: New Game: Oceano
Post by: Ast on 22:40, 26 May 15
No screenshot?
Title: Re: New Game: Oceano
Post by: EgoTrip on 23:02, 26 May 15
Yeah its coming, I had to fix something.

It's fixed now.
Title: Re: New Game: Oceano
Post by: alex76gr on 07:51, 27 May 15
Simple and playable.
I love it!
Thank you so much Egotrip! :)
Title: Re: New Game: Oceano
Post by: CraigsBar on 08:40, 27 May 15
@EgoTrip (http://www.cpcwiki.eu/forum/index.php?action=profile;u=337) I hope you don't mind I've made a CPR out of it for the GX4000 users to get in on the fun.


https://www.dropbox.com/s/1ent1y1m3cnyf8y/Oceano%201.1.cpr?dl=0 (https://www.dropbox.com/s/1ent1y1m3cnyf8y/Oceano%201.1.cpr?dl=0)


It plays brilliantly :)
Title: Re: New Game: Oceano
Post by: ronaldo on 11:56, 27 May 15
Yep, I agree. It's simple and playable. Very nice  :D

Title: Re: New Game: Oceano
Post by: Puresox on 14:31, 27 May 15
Entertaining ,nicely presented game , would happily sell on the Mastertronic/Players label , back in the day , beats a lot of the stuff they published.
Appreciated.
Title: Re: New Game: Oceano
Post by: CraigsBar on 14:39, 27 May 15
Quote from: Puresox on 14:31, 27 May 15
Entertaining ,nicely presented game , would happily sell on the Mastertronic/Players label , back in the day , beats a lot of the stuff they published.
Appreciated.
a touch of music and it'd be perfect.
Title: Re: New Game: Oceano
Post by: Puresox on 14:58, 27 May 15
Aye, forgot about that. still, wallops Skateboard Joust, And they had the audacity to put that on the Silverbird label . Mastertronic , were a better quality than Firebird in the budget field. So probably used the wrong comparison.


Going of the subject somewhat , but why the hell is Skateboard joust a 128k game? looks like a 16k ??  :o
Rhetorical
Title: Re: New Game: Oceano
Post by: CraigsBar on 15:01, 27 May 15
So glad only the speccy got "don't buy this" lol.
Title: Re: New Game: Oceano
Post by: EgoTrip on 15:58, 27 May 15
Thanks for the comments. The CPR is fine, I was going to ask about getting one done so you saved me having to do that, thanks.

There is a Speccy version on its way. As for music, theres not enough space and besides my music sucks.
Title: Re: New Game: Oceano
Post by: tastefulmrship on 16:15, 27 May 15
Quote from: EgoTrip on 15:58, 27 May 15
There is a Speccy version on its way. As for music, theres not enough space and besides my music sucks.
Two reasons why you "need" to add music to this product (and possibly the all other games you've done).

1. Why not put the music on the title-screen? Arkos, or STarkos, has simple BASIC players that need little, or no, knowledge of Assembly!
2. Your music does NOT suck.



* "need" is entirely objective. If you don't feel it needs music, then that's your prerogative! But, your fans might disagree! Fans like me.
Title: Re: New Game: Oceano
Post by: EgoTrip on 16:45, 27 May 15
Last time I tried using music with an AGD game it just stuttered and sounded shit(er). Check out Jigsaw Rescue to see what I mean. Besides that, AGD is so temperamental, even on the Speccy, I know it'll just break the game if I try to do anything.

Now if someone could code games with me, and see the projects through to the end, that would be a different matter. But that's about as realistic as an altruistic politician.
Title: Re: New Game: Oceano
Post by: tastefulmrship on 17:13, 27 May 15
Quote from: EgoTrip on 16:45, 27 May 15
Last time I tried using music with an AGD game it just stuttered and sounded shit(er). Check out Jigsaw Rescue to see what I mean. Besides that, AGD is so temperamental, even on the Speccy, I know it'll just break the game if I try to do anything.
Again, your music could simply be a part of the title-screen! This would by-pass any issues with AGD by simply not being a part of AGD to be an issue at all!

STarkos and Arkos come complete with a BASIC player as standard: LOAD the title-screen. LOAD the music & player. Play the music (with a simple INKEY$ or CALL &BB18 command). LOAD and RUN the game!
If you have any issues with doing this, then I can program a "LOADER" program for you. Annotating everything so you you can use the code for future games!
Title: Re: New Game: Oceano
Post by: EgoTrip on 17:23, 27 May 15
I'll look into it. I'm done with this game for now, I have finished the spectrum game, and I'm in a bit of a bad mood anyway after fucking up my real CPC tape drive.
Title: Re: New Game: Oceano
Post by: tastefulmrship on 17:26, 27 May 15
Quote from: EgoTrip on 17:23, 27 May 15
I'll look into it. I'm done with this game for now, I have finished the spectrum game, and I'm in a bit of a bad mood anyway after fucking up my real CPC tape drive.
Forget the tape drive; invest in an HxC like the rest of us!
Title: Re: New Game: Oceano
Post by: EgoTrip on 17:30, 27 May 15
Sure I'll buy one if you paypal me the money. I couldn't afford the CPC which I got for next to nothing. The HxC will cost more than twice what I paid for the CPC. And as its a bare bones 464 I'll need a DDI interface too. So, its not an option.

Anyway heres the Spectrum version if anyone is interested:
New Game: Oceano - World of Spectrum (http://www.worldofspectrum.org/forums/discussion/50539/new-game-oceano)
Title: Re: New Game: Oceano
Post by: Targhan on 20:22, 27 May 15
Quite a pleasant game! I admit I had fun playing it, well done. The graphics are also nice.


Some constructive remarks, now:
- As others stated, a music would have been nice. Check the Arkos Tracker player, it's really easy to use. If you have any problem, contact me.
- A little bit of inertia would have been great. Isn't it supposed to be under the sea?
- There are some strange visual glitches when going from one room to another one.


Nice job!


Targhan.
Title: Re: New Game: Oceano
Post by: EgoTrip on 20:34, 27 May 15
I had to use 2 sprites for the sub, which means I have to have both on every screen and them will jump to the entry position which is what is likely causing the glitches. You can tell cos sometimes they are squashed together and sometimes there is a slight gap. It is even worse on the spectrum version but i dont know how to fix it, if I did I wouldn't be using AGD. I don't know how to code inertia, if its complicated then forget it, AGD doesn't do complicated without throwing a massive tantrum and ruining all my work.
Title: Re: New Game: Oceano
Post by: Targhan on 22:15, 27 May 15
About the inertia, I thought about a simple "force" that would drag your ship down. Simply increase a counter "C" at every frame, when this counter goes beyond a "V" value, then C is reset and the Y position of your ship goes down. When your ship goes up, this counter is reset.


You can also add an acceleration to this effect. Instead of adding 1 to C, add "G", and G could also be increased of a small value every frame. G would also be reset when the ship goes up. Anyway, that's just some ideas of how to do it, I didn't test it, but I think it should work. Anyway, it was just to show you that simple stuff like this can be used to enhance the gameplay.
Title: Re: New Game: Oceano
Post by: Devilmarkus on 11:06, 28 May 15
Nice little game!
I enjoy it...

Converted it to .CDT, too for you:

Title: Re: New Game: Oceano
Post by: Carnivius on 11:10, 28 May 15
Looks like a fun lil game.

I'll take that CDT file devilmarkus made and try run it on my 464 later.  :)
Title: Re: New Game: Oceano
Post by: Neil79 on 12:20, 28 May 15
 8) 8)  and featured
Title: Re: New Game: Oceano
Post by: EgoTrip on 13:18, 28 May 15
Theres a bug that makes the game unfinishable, it exists on both CPC and Spectrum versions, so I had to fix it. In the process I decided to add some more gravity to the sub, so it descends every other frame instead of waiting a while.

The OP has been updated with the new download links, so make sure you grab them.
Title: Re: New Game: Oceano
Post by: EgoTrip on 13:29, 28 May 15
Quote from: Neil79 on 12:20, 28 May 15
8) 8)  and featured

Thanks for the review. The spectrum link has been fixed, its on the WoS topic.
Title: Re: New Game: Oceano
Post by: EgoTrip on 13:30, 28 May 15
Quote from: Devilmarkus on 11:06, 28 May 15
Nice little game!
I enjoy it...

Converted it to .CDT, too for you:

I tried to make a CDT but it refused to load. Dunno what I did wrong though. Thanks.
Title: Re: New Game: Oceano
Post by: CraigsBar on 14:13, 28 May 15
Quote from: EgoTrip on 13:18, 28 May 15
Theres a bug that makes the game unfinishable, it exists on both CPC and Spectrum versions, so I had to fix it. In the process I decided to add some more gravity to the sub, so it descends every other frame instead of waiting a while.

The OP has been updated with the new download links, so make sure you grab them.
I'll redo the CPR and add it to the cart wiki page tonight.
Title: Re: New Game: Oceano
Post by: Devilmarkus on 15:06, 28 May 15
Quote from: EgoTrip on 13:30, 28 May 15
I tried to make a CDT but it refused to load. Dunno what I did wrong though. Thanks.

I first converted your CSW back to WAV, this I used to create the CDT file....

Here's v1.2

BTW.: You should add some "Das Boot" (U-69) chiptune music ;)
Title: Re: New Game: Oceano
Post by: Targhan on 18:12, 28 May 15
Nice one for the "gravity". Glad I could contribute :).


However, a bug appeared! The game crashes/bugs when colliding with a little fish (tested on a real CPC and Winape)!


Targhan.
Title: Re: New Game: Oceano
Post by: EgoTrip on 18:30, 28 May 15
Quote from: Targhan on 18:12, 28 May 15
Nice one for the "gravity". Glad I could contribute :) .


However, a bug appeared! The game crashes/bugs when colliding with a little fish (tested on a real CPC and Winape)!


Targhan.

I give up with it. That is AGD being AGD. I knew I should have just left it as it was before.
Title: Re: New Game: Oceano
Post by: TomEtJerry on 15:32, 31 May 15
Hi,

I have just discovered the game, I find it quite cute (don't tell me why, I have always loved games with submarines :-) ).

I experience the same bug as Targhan (crash on Winape when the sub hits a fish). If it's not your code, you should contact AGD author to submit this problem.

About the game, I don't mind that the sub does not have proper inertia. I find the idea of the "reload timer" very good as it's like in a real sub :-). Anyway, you should have drawn a torpedo rather than this yellow bubble.

I agree with all people, the nice intro screen deserves a little music.

Hope there will be a 1.03 release soon.

T&J/GPA
Title: Re: New Game: Oceano
Post by: tastefulmrship on 18:53, 31 May 15
Quote from: Devilmarkus on 15:06, 28 May 15
BTW.: You should add some "Das Boot" (U-69) chiptune music ;)
It just happens there's one available... just here! Original Amiga .mod written by Kollapse.
(It's very badly, shoddily converted and badly, shoddily programmed in, but it shows how inserting STarkos tunes into games can be really easy! Basically, if I can do it, then anyone can do it!)



EDIT: Oooops! Forgot to put the CALL &BB03 back in before the keyboard check... re-upping file.
Title: Re: New Game: Oceano
Post by: remax on 21:43, 31 May 15
Strange, i don't have the fish bug with the Jonah's version above on Winape...
Title: Re: New Game: Oceano
Post by: TomEtJerry on 06:09, 01 June 15
I have just tested M. Ship release, no bug with the same release of Winape !

Nice music !
Title: Re: New Game: Oceano
Post by: TFM on 17:50, 01 June 15
Funny game, like it. Sadly it crashes in the 3rd screen (right, up) when getting very up. But that's AGD. Hope somebody will debug it. Then the game will be ever more fun (working).


Good to see CPC releases!!! :-)

Title: Re: New Game: Oceano
Post by: Targhan on 18:06, 01 June 15
I must emphasize that I tested the game on BOTH the real hardware and Winape. It crashed in both, but in a different way, when touching a little fish. Maybe the bug behaves differently according to the memory configuration (ROM, user rom, etc.). Anyway, there is something fishy in the code somewhere (pun intended :) ).


Targhan.
Title: Re: New Game: Oceano
Post by: EgoTrip on 19:11, 01 June 15
I don;t know where the bug came from or what caused it. I changed absolutely nothing in the collision code between versions for the fish, which is where everything is done.

Could someone please write a patch for keyboard control (QAOP SPACE) that will work on all games made with this version of AGD? I think that code below &H3500 is available.

Also if someone can show me how to get Arkos Tracker music working properly in AGD then I will add some and do a version 1.3.
Title: Re: New Game: Oceano
Post by: remax on 20:53, 01 June 15
Quote from: Targhan on 18:06, 01 June 15
I must emphasize that I tested the game on BOTH the real hardware and Winape. It crashed in both, but in a different way, when touching a little fish. Maybe the bug behaves differently according to the memory configuration (ROM, user rom, etc.). Anyway, there is something fishy in the code somewhere (pun intended :) ).


Targhan.


Yeah, that look like a lack of variable initialisation somewhere, or something like that...
Title: Re: New Game: Oceano
Post by: arnoldemu on 21:38, 01 June 15
@EgoTrip (http://www.cpcwiki.eu/forum/index.php?action=profile;u=337): Is it made with the 1.4 release of AGD? I see there is a 1.4 release in May this year.
Title: Re: New Game: Oceano
Post by: arnoldemu on 22:43, 01 June 15
It appears around 7f10 is entirely blank.
It should have code!

oceano2.bin is far too short :(

when the collision happens it calls into empty ram (all zeros) and executes garbage instrucitons.
Title: Re: New Game: Oceano
Post by: tastefulmrship on 07:38, 02 June 15
Quote from: arnoldemu on 22:43, 01 June 15
It appears around 7f10 is entirely blank.
It should have code!

oceano2.bin is far too short :(

when the collision happens it calls into empty ram (all zeros) and executes garbage instrucitons.
That explains why "my version" works despite not changing any of the base code: The STarkos music routine starts at &8000 and so is CALLed whenever there is a collision with the fish. Therefore, a simple fix for the original 1.2 version would be to POKE a &C9 anywhere around the &7F10 area in the OCEANO.BAS file (before CALLing &3500, obviously).
Title: Re: New Game: Oceano
Post by: arnoldemu on 08:11, 02 June 15
Quote from: Jonah (Tasteful Mr) Ship on 07:38, 02 June 15
That explains why "my version" works despite not changing any of the base code: The STarkos music routine starts at &8000 and so is CALLed whenever there is a collision with the fish. Therefore, a simple fix for the original 1.2 version would be to POKE a &C9 anywhere around the &7F10 area in the OCEANO.BAS file (before CALLing &3500, obviously).
poking 7f10 with c9 is a horrible hack because it assumes there is real code there.

@EgoTrip (http://www.cpcwiki.eu/forum/index.php?action=profile;u=337): Please would you PM with a link to your source working version and the instructions you follow to make your disc? I will repeat those instructions and find what needs to be fixed to make a version where the AGD code is complete.

I am hoping that the problems you are having may all come from the same source problem.
Title: Re: New Game: Oceano
Post by: Johnny Olsen on 08:46, 02 June 15
Quote from: arnoldemu on 22:43, 01 June 15
It appears around 7f10 is entirely blank.
It should have code!

oceano2.bin is far too short :(


Your right the code is to short
I have taken the end code from oceano1.1 and added to oceano1.2, and change some call's and now i think it work's.

Title: Re: New Game: Oceano
Post by: EgoTrip on 09:22, 02 June 15
Quote from: arnoldemu on 08:11, 02 June 15
poking 7f10 with c9 is a horrible hack because it assumes there is real code there.

@EgoTrip (http://www.cpcwiki.eu/forum/index.php?action=profile;u=337): Please would you PM with a link to your source working version and the instructions you follow to make your disc? I will repeat those instructions and find what needs to be fixed to make a version where the AGD code is complete.

I am hoping that the problems you are having may all come from the same source problem.

PM sent thanks.
Title: Re: New Game: Oceano
Post by: EgoTrip on 12:42, 02 June 15
Quote from: arnoldemu on 22:43, 01 June 15
It appears around 7f10 is entirely blank.
It should have code!

oceano2.bin is far too short :(

when the collision happens it calls into empty ram (all zeros) and executes garbage instrucitons.

That's weird. The game plays fine within AGD.

There are many, many issues with AGD. Jonathan is aware of them all but these are the major issues for your information:

Cannot delete any resources, this includes rooms, messages, sprites, sprite frames, objects, sounds, basically everything corrupts the game if deleted.
Cannot use the object placement properly. It just goes to a blank screen, and objects don't show up in game. This is why Sprite 6 places the objects in Oceano.
Can only edit one message at a time, and even then sometimes it corrupts. You have to exit back to main menu before editing any more. Sometimes even displaying messages corrupts the game.This bug is also present in the ZX Spectrum version.
Can only have about 10 sprite images, it corrupts the game if there are any more.
Trouble changing the window size. This is pretty much the first thing I do, if I do it after I've created some resources it corrupts the game.
Plays sounds randomly on start for some reason. This bug is also present in the ZX Spectrum version.

There are probably more but these are all I remember of the top of my head.
Title: Re: New Game: Oceano
Post by: arnoldemu on 13:56, 02 June 15
I can't say what has happened.

The file is short by about 16 bytes.
There is a size value near the start of the game data and it clearly indicates there is more data than there actually is.

The saving code is normal enough, using cas functions to open and write the whole file out.

The save code doesn't check for any errors which is bad AND it saves over the top of the existing one. Thank god CPC creates a .bak file!

As for using keyboard. I have some code that is untested. The idea is that you load it. Call &34bc and it patches the input.
q,a,o,p,space for player 1, joystick 2 for player 2. (I can change that to joystick 1).

I'll take a closer look tomorrow lunch time.


Title: Re: New Game: Oceano
Post by: EgoTrip on 14:20, 02 June 15
The really weird thing here is that I created a tape file out of the exact same binary that is short, yet the tape is absolutely fine. Maybe something happened in ManageDsk as that is the only other thing that could have interfered with it.

Thanks for the key routines.
Title: Re: New Game: Oceano
Post by: EgoTrip on 14:26, 02 June 15
Quote from: Jonah Ship on 18:53, 31 May 15
It just happens there's one available... just here! Original Amiga .mod written by Kollapse.
(It's very badly, shoddily converted and badly, shoddily programmed in, but it shows how inserting STarkos tunes into games can be really easy! Basically, if I can do it, then anyone can do it!)



EDIT: Oooops! Forgot to put the CALL &BB03 back in before the keyboard check... re-upping file.

What exactly did you do?
Title: Re: New Game: Oceano
Post by: Devilmarkus on 12:14, 04 June 15
Quote from: Jonah Ship on 18:53, 31 May 15
It just happens there's one available... just here! Original Amiga .mod written by Kollapse.
(It's very badly, shoddily converted and badly, shoddily programmed in, but it shows how inserting STarkos tunes into games can be really easy! Basically, if I can do it, then anyone can do it!)

Why not use a .PT3 from Speccy?

I used it in my music disk - We Are All Old...

Snapshot: (Press a key to start music)

Title: Re: New Game: Oceano
Post by: Devilmarkus on 12:30, 04 June 15
3 different versions (Author: Davos) in .pt3 format

Title: Re: New Game: Oceano
Post by: EgoTrip on 12:02, 05 June 15
Quote from: arnoldemu on 13:56, 02 June 15
As for using keyboard. I have some code that is untested. The idea is that you load it. Call &34bc and it patches the input.
q,a,o,p,space for player 1, joystick 2 for player 2. (I can change that to joystick 1).

I'll take a closer look tomorrow lunch time.

It didn't work.
Title: Re: New Game: Oceano
Post by: EgoTrip on 16:21, 05 June 15
Version 1.3: https://app.box.com/s/0n3rdkjyz63qn3o7cik5f22j5if054lv (https://app.box.com/s/0n3rdkjyz63qn3o7cik5f22j5if054lv) (also in OP)

Fixed the issue with the game cutting off bytes, and added some music to the title screen.
Title: Re: New Game: Oceano
Post by: Devilmarkus on 18:25, 05 June 15
Found an issue: When you move your submarine, it's not able to shoot / shoot is not visible / has no effect (but decreases energy)

Also found: when a fish is @ right border, you can't shoot it (shot diappears and no hit effect)

In rest it's very playable ;)
Title: Re: New Game: Oceano
Post by: EgoTrip on 21:01, 05 June 15
I give up.
Title: Re: New Game: Oceano
Post by: Devilmarkus on 00:09, 06 June 15
Quote from: EgoTrip on 21:01, 05 June 15
I give up.

! No longer available (http://www.youtube.com/watch?v=OcBKbu35nPo#)
Title: Re: New Game: Oceano
Post by: arnoldemu on 09:15, 06 June 15
Quote from: EgoTrip on 12:02, 05 June 15
It didn't work.
sorry my fault I will fix it.
Title: Re: New Game: Oceano
Post by: arnoldemu on 09:17, 06 June 15
Quote from: EgoTrip on 21:01, 05 June 15
I give up.
if I find time I will look at the disk you sent and work out how to fix them for you. Fixing bugs is definitely not a fun thing to do!
Title: Re: New Game: Oceano
Post by: EgoTrip on 17:10, 06 June 15
Quote from: arnoldemu on 09:17, 06 June 15
if I find time I will look at the disk you sent and work out how to fix them for you. Fixing bugs is definitely not a fun thing to do!

It would help if the program I'm using didn't have more bugs in it than a biblical plague. Probably explains why nobody else appears to be using it to make games. I think I'm done with AGD now, I don't like Mode 0 anyway.
Powered by SMFPacks Menu Editor Mod