News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_Jonathan.

Arcade Game Designer

Started by Jonathan., 02:22, 18 February 18

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

VincentGR

Quote from: MiguelSky on 23:11, 23 April 19
I managed it to work in other game by replacing the < symbol with =.


You mean instead of:

IF X < LEFTEDGE
    LET X = RIGHTEDGE


To:

IF X = LEFTEDGE
    LET X = RIGHTEDGE

MiguelSky

Quote from: VincentGR on 23:17, 23 April 19

You mean instead of:

IF X < LEFTEDGE
    LET X = RIGHTEDGE


To:

IF X = LEFTEDGE
    LET X = RIGHTEDGE
Right!

VincentGR

This is what I did  :-X

MiguelSky

Quote from: Jonathan. on 21:04, 23 April 19
Looks like you're running an old version of the CPC compiler, 0.7.2.  The latest version should display 0.7.3.  Make sure you're using the most recent CompilerCPC.exe and the WINH error will disappear.
They are the ones included on last version I downloaded from https://jonathan-cauldwell.itch.io/multi-platform-arcade-game-designer/devlog/77278/version-074-released. I also downloaded 64bit version to replace the compiler file but the same 0.7.2 version is shown in the console.

Jonathan.

#54
Quote from: MiguelSky on 02:23, 24 April 19
They are the ones included on last version I downloaded from https://jonathan-cauldwell.itch.io/multi-platform-arcade-game-designer/devlog/77278/version-074-released. I also downloaded 64bit version to replace the compiler file but the same 0.7.2 version is shown in the console.


This is weird.  I just downloaded the latest 64-bit version myself to make sure I'm not going mad and CompilerCPC.exe does show 0.7.3.  Are you sure you didn't download the previous version by mistake?  Perhaps you have a rogue old copy of the previous version of CompilerCPC.exe still on your drive and the new one didn't copy over it or maybe there's an old version running from a different directory?

I can post the most recent 32 or 64 bit CompilerCPC.exe here if that helps.

Jonathan.

Quote from: VincentGR on 23:17, 23 April 19

You mean instead of:

IF X < LEFTEDGE
    LET X = RIGHTEDGE

To:

IF X = LEFTEDGE
    LET X = RIGHTEDGE




Another way would be to ignore LEFTEDGE and RIGHTEDGE completely and instead take the X coordinates used in the Spectrum game, divide those by 8 then multiply them by 5.  If you're writing a game from scratch it's definitely better to reference LEFTEDGE and RIGHTEDGE because then your game should work on all platforms without changes.  Going forward, the plan is to add more machines with different resolutions and if the mode 0 CPC version proves popular I'll take a look at adding a mode 1 option.


VincentGR

Mode 1 will be the best option for most of the ZX ports.

VincentGR

Ok that worked, thanks so much!!!
I ported another one that now has a problem when I reach the upper screens (The Vectornauts 2)
Will I do the same with with Y?




MiguelSky

Quote from: Jonathan. on 21:40, 27 April 19
This is weird.  I just downloaded the latest 64-bit version myself to make sure I'm not going mad and CompilerCPC.exe does show 0.7.3.  Are you sure you didn't download the previous version by mistake?
I just downloaded (once again) the 32 bit to a different drive in my PC and when it tries to export it says it's 0.7.2. I can't try 64bit now because I don't have the laptop with me this week (please, don't ask why  :picard: ).


May you post the 32bit CompilerCPC.exe here, just in case?

Jonathan.


Here's the 32-bit CompilerCPC.exe


MiguelSky

#60
Quote from: Jonathan. on 20:45, 03 May 19
Here's the 32-bit CompilerCPC.exe
I'm afraid this file doesn't solve the problem.I just downloaded (once again more) the 32bit to a different drive in my PC. Then, before doing anything else, I replaced the Compiler CPC with the one you have sent. When it tries to export it keeps saying it's 0.7.2 :o

VincentGR

Do you run it from a shortcut?
Maybe it is assigned to an old directory.


Or admin privileges won't let you copy it?

MiguelSky

#62
No, I open the file winAGD.exe directly. And the file CompilerCPC is certainly replaced: in previous tests I had renamed it but this time I tried by deleting it.

SRS

I just checked latest 64bit version (580k)  and 32bit version (21 MB) - in both the source code of CompilerCPC claims to be a

    puts( "AGD Compiler for Amstrad CPC464 version 0.7.3" );
    puts( "(C) Jonathan Cauldwell March 2019" );

MiguelSky

#64
Quote from: SRS on 22:05, 04 May 19I just checked latest 64bit version (580k)  and 32bit version (21 MB) - in both the source code of CompilerCPC claims to be a

    puts( "AGD Compiler for Amstrad CPC464 version 0.7.3" );
    puts( "(C) Jonathan Cauldwell March 2019" );

I do see that here.

I've finally found what was happening!!! In the 32bit version, build.bat files use the compiler named AGD.exe into AGD folder nested into CPCSuite folder instead the CompilerCPC.exe into  the upper MPAGD32 folder!!! I overwrited that file with the last one that Jonathan sent (renamed to AGD.exe) and 0.7.3 is finally shown. It's the same if I replace it with the CompilerCPC in root MPAGD32 folder (renamed to AGD.exe)


Mystery solved!

Jonathan.


There is a new release with a few improvements, mostly to the editors.  There are one or two bug fixes and there's an option to disable the AY so that you can add your own music.


The BBC Model B is now supported thanks to Kieran and Kees so you can create games for that machine too.


The MSX has been added as an option.  Once Jose finishes the compiler and engine (he's very close, I've been testing them on a few Spectrum conversions) it should just be a case of slotting Kees' build suite in as a sub-directory and you'll be able to create games for that machine as well.


https://jonathan-cauldwell.itch.io/multi-platform-arcade-game-designer

SRS

Nice news.
I just helped you a bit - now 230 million users of AVG AntiVirus can run it without fearings it's a trojan  :picard:

MiguelSky

#67
Again Easter Holidays, again working with MPAGD  :P 

There is a new release of the program at https://jonathan-cauldwell.itch.io/multi-platform-arcade-game-designer. The 0.7.7, released on April the 2nd.

Working with this new version, I've realized that the presence of space o caps in the name of the folders/path where projects are saved caused most of my problems- Avoid them. Now I can convert Apulija easily without errors ;)

Jonathan.

Just released version 0.7.10.  The big news for the CPC is that it should now allow you to import third-party assembler routines and call them in your game with the USER command (plus an optional argument that gets passed in the accumulator).  There is an example user routines directory with a couple of routines suggested by users.


Details:

https://jonathan-cauldwell.itch.io/multi-platform-arcade-game-designer/devlog/188006/version-0710


nonoroman

Good morning everyone.
I have a problem, I am transferring a project from AGD 4.7 to WinAGD for amstrad, everything works fine, but no sound at all. The SOUND function is ignored. I am doing something wrong???


Greetings!!!!  ;)

nonoroman

And in the MSX version the emulator does not start

GUNHED

I don't know if it would be much effort to have an option to target FutureOS on CPC. It would be a nice entry for the programming contest for sure, see here: https://www.cpcwiki.eu/forum/programming/official-announcement-futureos-programming-contest-open-end-2021-12-01/
http://futureos.de --> Get the revolutionary FutureOS (Update: 2023.11.30)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.12.26)

SRS

#72
Quote from: GUNHED on 14:25, 20 April 21
I don't know if it would be much effort to have an option to target FutureOS on CPC. It would be a nice entry for the programming contest for sure, see here: https://www.cpcwiki.eu/forum/programming/official-announcement-futureos-programming-contest-open-end-2021-12-01/
Should be possible for some with skills in Assembler Programming for FutureOS. Needing Keyhandling, XOR-Sprites... just convert EngineCPC to EngineFOS ?



Powered by SMFPacks Menu Editor Mod