CPCWiki forum

General Category => Games => Topic started by: roudoudou on 01:04, 28 February 21

Title: Open Tower Defense is out!
Post by: roudoudou on 01:04, 28 February 21
Final release is out  :-*

full source code with dynamic rebuild available on Rasm-Live !!!

https://rasmlive.amstrad.info/edit/KDAEdKyEPbvQfXGij (https://rasmlive.amstrad.info/edit/KDAEdKyEPbvQfXGij)

kindah organised source code is here: https://github.com/EdouardBERGE/OpenTowerDefense



ingame keys:
T => create Tower

B => create Bash tower

H => create Hurricane tower
S => create Swarn tower
U => upgrade
D => delete
ESC => instant quit

GOTEK/HXC/FlashFloppy USERS => i encourage you to update your firmware if you wanna use the DSK version of the game, or use HFE to avoid firmware bugs
Title: Re: tower defense prototype
Post by: Skunkfish on 11:51, 28 February 21
Ooh, looks interesting! I really enjoyed Defence from Shining, but there's more than enough room for another CPC tower defence game in my life...
Title: Re: tower defense prototype
Post by: Gryzor on 09:41, 01 March 21
Looks really really promising!

oh wait, they change routes? wtf! :D :D
Title: Re: tower defense prototype
Post by: roudoudou on 18:35, 03 March 21

I rewrote most of the graphic engine, huge optimisations, refresh is heavily faster (it's was already fast  :P )
The findpath is clever. The shortest path is the goal of the ennemies but it's unpredictable when there is more than one optimal path

There is also new towers so now we have
- simple touret (single hit)
- bash tower (simultaneous hits)
- frost tower (slow down ennemies)
- swarn tower (hit only flying ennemies)
(https://i.postimg.cc/c421sXB1/rasmoutput-003.png)


Title: Re: tower defense prototype
Post by: Gryzor on 09:03, 04 March 21
Looks great. I love the HUD font, too!

perhaps the background tile could be simplified a bit, I think it's going to drive some people with astigmatism crazy :D
Title: Re: tower defense [first public beta!]
Post by: roudoudou on 13:54, 05 March 21

First public beta released in the very first message of this topic, enjoy!
Need 128K and all gate array banking schemes
6 channels music on playcity / 3 channels music not in this release
Recommended emulator => CPCEC from CNG http://cngsoft.no-ip.org/cpcec.htm (enable playcity in F10 menu)
Title: Re: New tower defense [first public beta!]
Post by: Targhan on 15:32, 05 March 21
Mmmh, did you try this on a real CPC?
I played a bit without the Playcity and it seems very cool.
However, I then plugged my PlayCity and the CPC crashes after the "gate array" test (vertical bars filling the screen). I tested my AT2 Teaser which uses the 9 channels of the PlayCity and it works fine.

Now I don't think the PlayCity can make a CPC crash when badly accessed to, so maybe something else?
Title: Re: New tower defense [first public beta!]
Post by: roudoudou on 15:51, 05 March 21
I tested it on a real CPC without playcity as i do not own one of this!
The detection code used from basic is
org #8000
    di
    xor a
    ld hl,(#66) : ld (sav66+1),hl
    ld hl,(#68) : ld (sav68+1),hl

    ld hl,#01F6    ; or 1
    ld (#66),hl
    ld hl,#45ed ; (inverted) opcodes for retn
    ld (#68),hl

    ; If a Playcity is present, the code generates a NMI then stops the counter.
    ld bc,#F881             ; 3 NOPs CTC channel 1
    ld hl,%00010111*256 + 2 ; 3 NOPs A NMI every 8 NOPs
    out (c),h               ; 4 NOPs
    out (c),l               ; 4 NOPs
    ; not too fast...
    ld d,5 : dec d : jr nz,$-1
    inc hl                  ; 2 NOPs L=3 => Stop CTC channel
    ld d,5 : dec d : jr nz,$-1
    out (c),l
    ld (#FFFF),a
    sav66 ld hl,0 : ld (#66),hl
    sav68 ld hl,0 : ld (#68),hl
    ei
    ret
Title: Re: New tower defense [first public beta!]
Post by: roudoudou on 16:02, 05 March 21
Quote from: Targhan on 15:32, 05 March 21
Mmmh, did you try this on a real CPC?
I played a bit without the Playcity and it seems very cool.
However, I then plugged my PlayCity and the CPC crashes after the "gate array" test (vertical bars filling the screen). I tested my AT2 Teaser which uses the 9 channels of the PlayCity and it works fine.

Now I don't think the PlayCity can make a CPC crash when badly accessed to, so maybe something else?
ok i see, it's possible the test push and push and push NMI too fast, i will change the rate( and maybe read documentation :D )
Title: Re: New tower defense [first public beta!]
Post by: Targhan on 16:14, 05 March 21
The code I used is, I guess, from Syx:


;Checks for the PlayCity and displays a message if not present.

CTC_TIM1            EQU #F881       ; Channel 1 (I: Cursor CRTC | O: NMI)
CTC_START_TIMER256  EQU %00110111
CTC_STOP_CHANNEL    EQU %00000011

;Checks whether the PlayCity is here.
;OUT: Carry=PlayCity present.
CheckPlayCity:
ld   A,#C3                  ; JP $xxxx
LD   HL,nmi_interrupt
LD   (#0066),A
LD   (#0067),HL

; Initialize playcity variable to 0
    XOR  A
    LD   (playcity),A

    ; Wait VBlank
    LD   B,$F5
.wait_vbl
    IN   A,(C)
    RRA
    JR   NC,.wait_vbl
   
    ; Initialize CTC timer 1 (NMI generator)
    LD   HL,32                  ; 32 scanlines
    LD   BC,CTC_TIM1
    LD   A,CTC_START_TIMER256
    OUT  (C),A                  ; Enable Timer
    OUT  (C),L                  ; Set new time constant

    ; Extra delay
    LD   IX,33 * 4 - 1          ; Wait 33 scanlines
    CALL wait_scanlines_ix
   
    LD   A,(playcity)
    OR   A
    JR   NZ,playcity_detected

    ret
   
playcity_detected
scf
ret


nmi_interrupt
    PUSH BC
    PUSH AF

    ; Change playcity variable
    LD   A,$FF
    LD   (playcity),A

    ; Disable CTC timer 1 (NMI generator)
    LD   BC,CTC_TIM1
    LD   A,CTC_STOP_CHANNEL
    OUT  (C),A                  ; Disable Timer

    POP  AF
    POP  BC
    EI
    RETN


wait_scanlines_ix
    DEFS 5,0                                ; (5)

.loop_wait_scanlines_ix                     
    DEFS 6                                  ; (6)
    DEC  IX                                 ; (3)
    LD   A,IXH                              ; (2)
    OR   IXL                                ; (2)
    JR   NZ,.loop_wait_scanlines_ix         ; (2/3)
                                            ; Total loop --> 16 * (IX - 1) + 15
    RET                                     ; (3)
                                            ; Total Routine --> 64 * SCANLINES
; ---------------------------------------------------------------------------
playcity
    DEFS 1
   
   


As for the game, it's really cool. I managed to get to level 53 in Easy.
The Medium is much harder, you die right from the start if you don't use the right combination. Maybe a little too hard?
As for Hard, mmhhh, I couldn't survive the first wave :). Is it possible? With only one tower?

- Ah, AZERTY "M" key isn't well mapped, you must type ",".
- Is it normal that Space bar freezes the game? Is it a pause? Seems like cheating :).
- Do you think a "accelerate" game key could be done? When the wave is sure to be destroyed, it would be nice to go faster to the next wave.
- The background tile is maybe too hard on the eyes. Maybe a possibility to change it on the fly or at the beginning?
- A "suicide" option (with validation...) could be handy.

Great stuff, well done!
Title: Re: New tower defense [first public beta!]
Post by: roudoudou on 16:43, 05 March 21
Quote from: Targhan on 16:14, 05 March 21
The code I used is, I guess, from Syx:
As i wanted something simple and AMSDOS compliant, i will forget the detection and the user will choose No music, 3 channel or Playcity

Quote from: Targhan on 16:14, 05 March 21As for the game, it's really cool. I managed to get to level 53 in Easy.
The Medium is much harder, you die right from the start if you don't use the right combination. Maybe a little too hard?As for Hard, mmhhh, I couldn't survive the first wave :) . Is it possible? With only one tower?
If you cannot pass the first wave in hard level, maybe the medium difficulty is perfect  ;D
Just put a tower anywhere between the 2 arrows
Quote from: Targhan on 16:14, 05 March 21
- Ah, AZERTY "M" key isn't well mapped, you must type ",".
Amstrad is british, what is Azerty anyway?
Quote from: Targhan on 16:14, 05 March 21- Is it normal that Space bar freezes the game? Is it a pause? Seems like cheating :) .
- Do you think a "accelerate" game key could be done? When the wave is sure to be destroyed, it would be nice to go faster to the next wave.
- The background tile is maybe too hard on the eyes. Maybe a possibility to change it on the fly or at the beginning?
- A "suicide" option (with validation...) could be handy.

Great stuff, well done!
I'm waiting key release to avoid side effect (tooooo many ennemies freed at a time, you will lose for sure) => i may auto-release the key

Sometimes you (we) want to accelerate when there is many things on screen, that's not really possible as the CPU is full
When there is almost nothing on screen, just press spacebar to release ennemies so the answer is no

For suicide, i guess delete some towers is enough but hey, it's possible to manage ESC key ;)

Thank you!
Title: Re: New tower defense [first public beta!]
Post by: roudoudou on 17:05, 05 March 21
new beta in the first post
- space auto release- ESC to quit ingame- no moar Playcity detection + No music mode
Title: Re: New tower defense [first public beta!]
Post by: Targhan on 19:51, 05 March 21
Quote from: roudoudou on 16:43, 05 March 21
If you cannot pass the first wave in hard level, maybe the medium difficulty is perfect  ;D

AH! I knew I wasn't crazy. When playing Hard the first time, the wave can be killed with one tower. But if you played any game before, the monsters are tough! It seems starting a new game doesn't reset the monster hit point. I suspect a bug!

The Playcity now works, very nice tune (although maybe a bit short). I'm having quite a lot of fun on the Hard level.

Title: Re: New tower defense [first public beta!]
Post by: Targhan on 19:52, 05 March 21
Oh, do you intend on adding sound effects on the 3rd PSG of the play city? Could be a nice touch.
Title: Re: New tower defense [first public beta!]
Post by: Targhan on 20:16, 05 March 21
Wave 39 on Hard! Not so bad :).
Title: Re: New tower defense [first public beta!]
Post by: roudoudou on 20:28, 05 March 21
Quote from: Targhan on 19:52, 05 March 21
Oh, do you intend on adding sound effects on the 3rd PSG of the play city? Could be a nice touch.
No sound FX because the game has maaaaaaaaaaaaaaaaaaaaaaaaaaannnny hits quickly
Maybe some Bip when you lose a life?
Title: Re: New tower defense [first public beta!]
Post by: Targhan on 20:50, 05 March 21
Maybe not shots, but enemy appearing/destroyed, lose life, tile built/removed/upgraded. Add a key to toggle the SFX if the player thinks they're getting annoying. Keep the sfx low volume and it should be great.
Title: Re: New tower defense [first public beta!]
Post by: roudoudou on 21:03, 05 March 21
Quote from: Targhan on 20:50, 05 March 21
Maybe not shots, but enemy appearing/destroyed, lose life, tile built/removed/upgraded. Add a key to toggle the SFX if the player thinks they're getting annoying. Keep the sfx low volume and it should be great.
good suggestion. That said, i will need SFX and i'm absolutely not expert for that. You have a few minutes for me?  ;D

Title: Re: New tower defense [first public beta!]
Post by: Targhan on 21:05, 05 March 21
The musician did a great job, why not ask him to do the SFX too?
Title: Re: New tower defense [first public beta!]
Post by: roudoudou on 21:07, 05 March 21
Quote from: Targhan on 21:05, 05 March 21
The musician did a great job, why not ask him to do the SFX too?
because that's a completely different job. That's why i made wav2ay tool !
btw: ennemies energy reset will be fixed soon
Title: Re: New tower defense [first public beta!]
Post by: Targhan on 21:11, 05 March 21
My suggestion is that he learns how to do it :). He can at least try! Wav2ay is not always the right tool. It can be working for samples, but for short electronic sounds, nothing beats a human to create the SFXs. Come back to me if it doesn't work out.
Title: Re: New tower defense [public BETA 003]
Post by: roudoudou on 23:45, 05 March 21
new beta with the important bugfix of ennemy life reset between parties  :picard:
Title: Re: New tower defense [public BETA 003]
Post by: Axelay on 06:25, 06 March 21
Just gave version 3 a go, nice!  :)


I do like the odd strategy game so this is good to see.  It looks promising though at the moment the game doesn't seem to hold much challenge once you 'work it out' so I hope the extra ideas you talked about adding will help with that.


Out of curiosity, in what way is the game scaling beyond wave 100?


It would be interesting to know a little more about the effects of the upgrades.  The range increases are obvious, but some upgrades don't increase the range and I cant tell if they're firing faster or doing more damage, or just a way of making you pay more to get to the next range increase.


If you'll forgive a couple of small 'requests', I know it's already been mentioned, but I have been finding the ground tile a little distracting, so it would be nice if it could be a little less 'prominent' in some way.


Also, I sometimes found it a bit fiddly to position the cursor because the repeat rate from the first press is high - I often ended up moving two tiles instead of one.  Any chance of a slightly longer delay on the first repeat, or an option to adjust it?
Title: Re: New tower defense [public BETA 003]
Post by: roudoudou on 07:45, 06 March 21
Quote from: Axelay on 06:25, 06 March 21
Just gave version 3 a go, nice!  :)


I do like the odd strategy game so this is good to see.  It looks promising though at the moment the game doesn't seem to hold much challenge once you 'work it out' so I hope the extra ideas you talked about adding will help with that.


Out of curiosity, in what way is the game scaling beyond wave 100?


It would be interesting to know a little more about the effects of the upgrades.  The range increases are obvious, but some upgrades don't increase the range and I cant tell if they're firing faster or doing more damage, or just a way of making you pay more to get to the next range increase.


If you'll forgive a couple of small 'requests', I know it's already been mentioned, but I have been finding the ground tile a little distracting, so it would be nice if it could be a little less 'prominent' in some way.


Also, I sometimes found it a bit fiddly to position the cursor because the repeat rate from the first press is high - I often ended up moving two tiles instead of one.  Any chance of a slightly longer delay on the first repeat, or an option to adjust it?
thanks
about the cursor it could be nice to use SHIFT+cursor for fast move and cursor for one move
about upgrades and so, there will be a documentation but i'm not specific now because i'm fine tuning difficulty of the game
hard mode is a bit too easy (for confirmed players)
beyond wave 100, ennemy life keeps growing up, in easy mode it's almost impossible to reach wave 250 (it's 16 bits so...)



Title: Re: New tower defense [public BETA 003]
Post by: roudoudou on 12:11, 06 March 21
new tower in progress  ;D
(https://i.postimg.cc/6qM2Cry9/capotd.jpg)
Title: Re: New tower defense [public BETA 003]
Post by: Targhan on 13:09, 06 March 21
Quote from: Axelay on 06:25, 06 March 21I do like the odd strategy game so this is good to see.  It looks promising though at the moment the game doesn't seem to hold much challenge once you 'work it out' so I hope the extra ideas you talked about adding will help with that.

Well, you're a better player than myself, then :).

As for ideas, how about monsters that can destroy your towers? :).

Title: Re: New tower defense [public BETA 003]
Post by: Axelay on 10:43, 07 March 21


Quote from: Targhan on 13:09, 06 March 21As for ideas, how about monsters that can destroy your towers? .

Funnily enough, I had had a similar thought, but I wasn't game to say it because it also sounded annoying.  :laugh:



Quote from: roudoudou on 07:45, 06 March 21beyond wave 100, ennemy life keeps growing up, in easy mode it's almost impossible to reach wave 250 (it's 16 bits so...)


Because that sounded like a challenge, I thought I'd see how far I could get in hard.  Ended up making it to Wave 283!  :D  After about wave 200 or so though I was not much more than a spectator as I didn't have room for any more defences and they were all fully upgraded.  Just occasionally deleted a turret to replace with extra air defences as the small flyers were getting obscenely tough, which were eventually what got through.
Title: Re: Open Tower Defense [soon]
Post by: roudoudou on 18:08, 31 May 21
soon
engine may handle up to 768 sprites simultaneously
3 channels music for regular CPC and 6 channels music for Playcity owners


(https://i.postimg.cc/RN9YLSjk/20210531-171947.jpg) (https://postimg.cc/RN9YLSjk)
GFX may be enhanced before release  :P
Title: Re: Open Tower Defense [soon]
Post by: Gryzor on 19:09, 31 May 21
Dunno about the 768 sprites but that loading screen is amazing.
Title: Re: Open Tower Defense [soon]
Post by: Devlin on 19:41, 31 May 21
please please PLEASE make this work on a 64kb machine. I don't care if it doesn't have sound, I just want to play it on my 464 ;_;
Title: Re: Open Tower Defense [soon]
Post by: roudoudou on 20:19, 31 May 21
Final release is out, ZIP in the first post
Title: Re: Open Tower Defense [soon]
Post by: XeNoMoRPH on 06:39, 01 June 21
https://youtu.be/PDFb7RQTMjg
Title: Re: Open Tower Defense [soon]
Post by: roudoudou on 07:14, 01 June 21

On real hardware the détection  gfx is different
Title: Re: Open Tower Defense [soon]
Post by: GUNHED on 12:41, 01 June 21
Nice piece of work! Great AI.  :) :) :)
Title: Re: Open Tower Defense is out!
Post by: roudoudou on 12:03, 02 June 21
GOTEK/HXC/FlashFloppy USERS => i encourage you to update your firmware if you wanna use the DSK version of the game, or use HFE to avoid firmware bugs
it seems that unformated track 2 is not well accepted by old firmwares
Title: Re: Open Tower Defense [soon]
Post by: TotO on 12:09, 02 June 21
Quote from: GUNHED on 12:41, 01 June 21
Nice piece of work! Great AI.  :) :) :)
This game was probably able to won the Sugars A.I. special price. 8)
Title: Re: Open Tower Defense is out!
Post by: HAL6128 on 16:24, 02 June 21
Quote from: roudoudou on 12:03, 02 June 21
GOTEK/HXC/FlashFloppy USERS => i encourage you to update your firmware if you wanna use the DSK version of the game, or use HFE to avoid firmware bugs
it seems that unformated track 2 is not well accepted by old firmwares
The same with |M4FE and M4BETA.Bin utilities... Doesn't work to get a DSK copied to real disc
Title: Re: Open Tower Defense is out!
Post by: roudoudou on 16:27, 02 June 21
Quote from: HAL 6128 on 16:24, 02 June 21
The same with |M4FE and M4BETA.Bin utilities... Doesn't work to get a DSK copied to real disc
i added an empty sector in track 1 in this DSK (see attachment), it solved problem with that old writedsk tool, maybe duke tool will be happy too?

Title: Re: Open Tower Defense is out!
Post by: Otto on 09:58, 04 June 21
@roudoudou (https://www.cpcwiki.eu/forum/index.php?action=profile;u=1714), how do you detect that your game is running within an emulator? :-)
Title: Re: Open Tower Defense is out!
Post by: roudoudou on 10:12, 04 June 21
Quote from: Otto on 09:58, 04 June 21
@roudoudou (https://www.cpcwiki.eu/forum/index.php?action=profile;u=1714), how do you detect that your game is running within an emulator? :-)
Because emulators are not accurate and because floppy disk controller keeps some undocumented secrets  ;D

Btw running on a real machine will display another GFX   8)
Title: Re: Open Tower Defense is out!
Post by: Gryzor on 10:21, 04 June 21
This calls for a comparison video :)
Title: Re: Open Tower Defense is out!
Post by: XeNoMoRPH on 12:19, 04 June 21
Quote from: Gryzor on 10:21, 04 June 21
This calls for a comparison video :)
I was going to do video captured from a real CPC, but I'm waiting to be able to load the DSK.
Title: Re: Open Tower Defense is out!
Post by: roudoudou on 12:32, 04 June 21
Quote from: XeNoMoRPH on 12:19, 04 June 21
I was going to do video captured from a real CPC, but I'm waiting to be able to load the DSK.
i will release a tool (soon) in order to make a proper real disk from mass storage
Title: Re: Open Tower Defense is out!
Post by: tronic on 13:32, 04 June 21
Quote from: roudoudou on 12:32, 04 June 21
i will release a tool (soon) in order to make a proper real disk from mass storage

Hi Roud,
Really great & addictive game.
Best & thanks again for the game.
Title: Re: Open Tower Defense is out!
Post by: roudoudou on 13:35, 04 June 21
Quote from: tronic on 13:32, 04 June 21
But, to get it working on CPC, i was really annoyed by the ùcpm/sector/fastload/emulator-test trick.
It's not an emulator test but a CPC test (there is 2 GFX, one for emulator and one for CPC)
So you dump memory and remove Cat'Art (thanks  :( ) and Artwork of the game  :(
You put a comment on RasmLive => I did not know if you plan to release another format or sourcesDid you ask?
About DSK and your old HxC, it's perfectly normal => upgrade firmware or use HFE

Title: Re: Open Tower Defense is out!
Post by: roudoudou on 14:48, 04 June 21
Quote from: XeNoMoRPH on 12:19, 04 June 21
I was going to do video captured from a real CPC, but I'm waiting to be able to load the DSK.
Here is a very standard floppy in order to create OTD floppy
I tested loading from floppy to floppy but it may work straight from M4 if you copy all files in a subdir
there is 2 basic programms
first
RUN"FORMAT
it will format a floppy for OTD
then
RUN"MAKE
it will load files, ask for OTD disk and will write files
then it will ask for source a second time, follow instructions
there is an automatic CATALOG at the end, it may fail because Amsdos may still believe the floppy is a DATA floppy, just press (C)ancel and retry CAT (a proper reset may help)
Hope this will work for you :)
Title: Re: Open Tower Defense is out!
Post by: tronic on 14:53, 04 June 21
Quote from: roudoudou on 14:48, 04 June 21
Here is a very standard floppy in order to create OTD floppy
I tested loading from floppy to floppy but it may work straight from M4 if you copy all files in a subdir
there is 2 basic programms
first
RUN"FORMAT
it will format a floppy for OTD
then
RUN"MAKE
it will load files, ask for OTD disk and will write files
then it will ask for source a second time, follow instructions
there is an automatic CATALOG at the end, it may fail because Amsdos may still believe the floppy is a DATA floppy, just press (C)ancel and retry CAT (a proper reset may help)
Hope this will work for you :)
Thank you. So much.
And it's for sure much more better this way.
Best.
Title: Re: Open Tower Defense is out!
Post by: XeNoMoRPH on 15:50, 04 June 21
(https://i.ibb.co/jWPVCBp/Sin-t-tulo.png)

It stays there, no sound is heard from the floppy drive.  :'(
Title: Re: Open Tower Defense is out!
Post by: roudoudou on 15:57, 04 June 21
Quote from: XeNoMoRPH on 15:50, 04 June 21It stays there, no sound is heard from the floppy drive.  :'(
try to create a real floppy from this one, there unplug M4 and build OTD floppy with the other
i tried also a few moments ago, the M4 seems to block motor access
Title: Re: Open Tower Defense is out!
Post by: XeNoMoRPH on 16:19, 04 June 21
can't create real floppy from create_otd.dsk (https://www.cpcwiki.eu/forum/games/tower-defense-prototype/?action=dlattach;attach=34624) with M4FE , It hangs  :'( , sorry.
Title: Re: Open Tower Defense is out!
Post by: roudoudou on 17:16, 04 June 21
Quote from: XeNoMoRPH on 16:19, 04 June 21
can't create real floppy from create_otd.dsk (https://www.cpcwiki.eu/forum/games/tower-defense-prototype/?action=dlattach;attach=34624) with M4FE , It hangs  :'( , sorry.
this is the easiest DSK i can do  ;D

do you have a Plus and a C4CPC? I can make a CPR doing the floppy without the M4  :o
the work is not lost, it's the third floppy tool i designed those days  8)
Title: Re: Open Tower Defense is out!
Post by: XeNoMoRPH on 17:50, 04 June 21
I don't have C4CPC, sorry  :doh:
Title: Re: Open Tower Defense is out!
Post by: roudoudou on 17:56, 04 June 21
Quote from: XeNoMoRPH on 17:50, 04 June 21
I don't have C4CPC, sorry  :doh:
don't be mad, eventually i will made a clean file version for M4 usage and sources will be released (hey, it's not OPEN in the name for nothing)


Title: Re: Open Tower Defense is out!
Post by: SkulleateR on 17:56, 04 June 21
As CPR file : wouldn't that run on the M4 card anyway ?
Title: Re: Open Tower Defense is out!
Post by: roudoudou on 18:02, 04 June 21
Quote from: SkulleateR on 17:56, 04 June 21
As CPR file : wouldn't that run on the M4 card anyway ?
the problem seems to be the M4 because M4 is not a regular expansion card, it's kind of supercomputer playing/overriding electronic signals at high speed


Title: Re: Open Tower Defense is out!
Post by: SkulleateR on 18:21, 04 June 21
So while waiting for an "official" new release ... here's a SNA file from CPCEC made on my Pi400 ... works fine on 6128 + M4 ;) :D
Title: Re: Open Tower Defense is out!
Post by: Duke on 18:22, 04 June 21
Quote from: SkulleateR on 17:56, 04 June 21
As CPR file : wouldn't that run on the M4 card anyway ?
It would :)
Title: Re: Open Tower Defense is out!
Post by: SkulleateR on 18:35, 04 June 21
Uppps, seems I have uploaded the wrong SNA above ... just use this one :D


Title: Re: Open Tower Defense is out!
Post by: roudoudou on 18:36, 04 June 21
Quote from: SkulleateR on 18:35, 04 June 21
Uppps, seems I have uploaded the wrong SNA above ... just use this one :D
please stop with truncated versions of the game...
please

Title: Re: Open Tower Defense is out!
Post by: SkulleateR on 18:39, 04 June 21
I did not remove anything from the game, just did a snapshot but hey, no problem, I'll remove it .....


EDIT : I cannot "modify" my above post, can any mod please remove the SNA file, please ?????
Title: Re: Open Tower Defense is out!
Post by: roudoudou on 18:43, 04 June 21
Quote from: SkulleateR on 18:39, 04 June 21
I did not remove anything from the game, just did a snapshot but hey, no problem, I'll remove it .....


EDIT : I cannot "modify" my above post, can any mod please remove the SNA file, please ??? ??
where is the cat'art, where is the loading screen? this IS part of the game...
Title: Re: Open Tower Defense is out!
Post by: SkulleateR on 18:47, 04 June 21
I wanted to state out that I didn't touch your code, just wanted @XeNoMoRPH (https://www.cpcwiki.eu/forum/index.php?action=profile;u=1952) to be able to record the game, SORRY !!!!!


EDIT : cleared the browser cache, now I was able to modify my post and remove the SNA myself, sorry again  :'(
Title: Re: Open Tower Defense is out!
Post by: roudoudou on 18:50, 04 June 21
Quote from: SkulleateR on 18:47, 04 June 21
I wanted to state out that I didn't touch your code, just wanted @XeNoMoRPH (https://www.cpcwiki.eu/forum/index.php?action=profile;u=1952) to be able to record the game, SORRY !!!!!
Xenomorph will have a proper file version SOON, be kind and wait a little because you did not notice that Xenomorph wants the FULL experience  ;)
Title: Re: Open Tower Defense is out!
Post by: tronic on 19:10, 04 June 21
Quote from: roudoudou on 18:36, 04 June 21
please stop with truncated versions of the game...
please
Hi again Roud,
Ok i do understand now & know it's "too late" but i deleted on this side too and everywhere.
FYI : As above, the "create odt dsk" tool you posted didn't work for me too... And i have tried... Many times...
Releasing a game on this way is fun on a coding side but too complicated for end users.
Well... Waiting for the next one...
Bisous !
Title: Re: Open Tower Defense is out!
Post by: roudoudou on 19:12, 04 June 21
This version should work on all Mass storage, thanks to @Ast (https://www.cpcwiki.eu/forum/index.php?action=profile;u=573) who was faster than me to do it!
(btw there is no more FDC testing and the screen is "always" as on a regular CPC)
RUN"OTD
Title: Re: Open Tower Defense is out!
Post by: Ast on 19:16, 04 June 21
works on all support including, x-Mass, M4 & Albireo, + discs drives & Gotek too.

Title: Re: Open Tower Defense is out!
Post by: XeNoMoRPH on 20:44, 04 June 21
https://vimeo.com/559166732 (https://vimeo.com/559166732)

Ok, here is captured from real hardware, It is the first time that I also capture audio from the playcity, and it is heard lower than normal music, I do not know very well why, and I have recoded the video, sacrificing the video quality a bit, so that it occupies less.
Title: Re: Open Tower Defense is out!
Post by: roudoudou on 20:58, 04 June 21
the volume may be "inside" the song as there was 2 musicians (one for each version)
Title: Re: Open Tower Defense is out!
Post by: roudoudou on 10:25, 05 June 21

source code available on Rasm-Live!
https://rasmlive.amstrad.info/edit/KDAEdKyEPbvQfXGij
edit: fix link
Title: Re: Open Tower Defense is out!
Post by: XeNoMoRPH on 19:18, 05 June 21
https://youtu.be/eEsBTjfBri8 (https://youtu.be/eEsBTjfBri8)


37:03 minutes, open tower defense 😄
Title: Re: Open Tower Defense is out!
Post by: roudoudou on 13:10, 07 June 21
Quote from: XeNoMoRPH on 16:19, 04 June 21
can't create real floppy from create_otd.dsk (https://www.cpcwiki.eu/forum/games/tower-defense-prototype/?action=dlattach;attach=34624) with M4FE , It hangs  :'( , sorry.
hey, i found the bug  ;D
the motor was shuting down instead of running  :picard: :picard: :picard:
Title: Re: Open Tower Defense is out!
Post by: Bug Powell on 17:28, 09 June 21
Nice game. However I didn't manage to get the 768 simultaneous sprites on screen.
Title: Re: Open Tower Defense is out!
Post by: roudoudou on 18:15, 09 June 21
Quote from: Bug Powell on 17:28, 09 June 21
Nice game. However I didn't manage to get the 768 simultaneous sprites on screen.
You need to reach very high levels after winning for this
Title: Re: Open Tower Defense is out!
Post by: Bug Powell on 20:10, 09 June 21
Can I expect it for the 768th wave of ennemies?
At the moment, I am at the 605th wave. I played it for 10 hours non stop.
Title: Re: Open Tower Defense is out!
Post by: e-dredon on 12:48, 13 June 21
Hi guys. Hope you're doing well.
Last two nights have been a bit short but the PlayCity version of the main theme is finally finished. You can find it on my SoundCloud. Hope it will be added to the game by Édouard Bergé soon. The AKS module still needs some serious cleaning before it will be added to the repository and might include a small surprise for ASCII Art lovers 😉
Happy Sunday to everyone.
https://soundcloud.com/e-dredon/sneaking-around
Title: Re: Open Tower Defense is out!
Post by: GUNHED on 14:43, 16 June 21
PlayCity support is AWESOME!!!  :) :) :)
Powered by SMFPacks Menu Editor Mod