English Amiga Board


Go Back   English Amiga Board > Other Projects > project.Amiga Game Factory

 
 
Thread Tools
Old 21 May 2019, 10:15   #1
earok
Registered User

 
Join Date: Dec 2013
Location: Auckland
Posts: 2,152
Scorpion Engine

EDIT: Samples, along with a preview binary of the compiler, are on the Git repo. Feel free to download and have a tinker.

https://github.com/earok/scorpion-engine-demos

----


This is going to be bit of a ramble. I've been unwell lately, hopefully discussing what I've been working on will get me in better spirits.


I've been working on an engine (derived from my previous Kiwi's Tale/AlarCity work, which in turn will form the basis of the final AlarCity engine), and it's becoming another "easy" game maker tool for Amiga. There's three things about it in particular that (hopefully) set it apart.

1. It's designed first and foremost to allow the creation of games that run at 50HZ on A500. Granted, it's not perfectly optimised, but if you're not pushing things too much it'll be a playable game on a lower end Amiga. (And there are options for running your game at 25HZ, and there's no shame in that either - SWIV did of course).

2. The project compiler runs on Windows, and uses modern tools (Tiled for level editing, PNGs for graphics) for some things, classic Amiga formats (mod, 8svx, anim5s) for others. PNGs are converted through a user-defined palette into bobs and raw bitplanes - using the alpha channel to generate a mask.

3. It uses a simple to understand bytecode "virtual machine" (a small part of the functionality of Ink) manage things such as dialogue, branching logic and the game sequence. I'll go into that a bit more further down the post.

I've got a couple of projects I've been using as a test bed for the engine, one is a minor remake of a very very small part of the Zelda fan game "Return of the Hylian".

(Note, I'm not intending to do much more on the port. Maybe someone else can when the engine is finished, but I'm merely using it as an example and eventually tutorial for the engine)

[ Show youtube player ]

The actual download for the very small and inconsequential part of the game (no enemies yet) is at http://earok.net/games/ScorpionTest001.lha

I haven't released the actual compiler yet - asides from the current lack of support for proper enemies, I keep changing how the compiler works which in turn breaks backwards compatibility. Once it's a bit more stable and feature rich, I'll put it out there, I don't know when that'll be exactly.


Here's some code examples from the intro story near the start of the video.

Code:
=== PART1 ===
~music = mod_intro
~level = map_intro
~wait = 50
The Kingdom of Hyrule has been in peace since Link,<br>the last knight of Hyrule, had defeated the malicious<br>Ganon and reclaimed the precious triforce from him.
Fairly straight forward. The tilde ~ indicates we want to set a variable. So we're setting the music, the level, and making the game wait for 50 frames before moving on.

After that, we're simply indicating we want to show text. The <br> indicates where we want to insert line breaks.

Immediately after display the text, we want to pan the camera across to the next screen.

Quote:
=== INTROLOOP1 ===
{ camerax < 256 :
~camerax = camerax + 2
~wait = 1
-> INTROLOOP1
}
Here we just say - if the camera x position is less than 256 pixels across, we bump it by two pixels, wait for one frame, and then loop back to the start.

Within the game itself, we can trigger events that call back into the Ink script. Example, with the chest

Quote:
=== OPEN_SHIELDCHEST1 ===
~chest1opened=true
~sound=snd_happy
~player1_animation=link_pickupshield
You found a shield!!!<br><br>Your defence rises by one point.
~player1=link_shield
-> GAME
Here, we're saying we want to flag the chest1opened variable as true, play the happy sound, play the pick up shield animation, display some text, change the player's object to being link+shield, and then return control back over to the game engine.

That's it for now. I'll post some more random updates over the next few days.

Last edited by earok; 30 July 2019 at 03:47.
earok is offline  
Old 21 May 2019, 10:22   #2
turrican3
Moon 1969 = amiga 1985

turrican3's Avatar
 
Join Date: Apr 2007
Location: belgium
Age: 43
Posts: 3,614
It looks very very interestingand easy to understand.

i hope you'll feel better.
turrican3 is offline  
Old 21 May 2019, 11:14   #3
Predseda
Puttymoon inhabitant
Predseda's Avatar
 
Join Date: Mar 2007
Location: The City of Townsville
Age: 41
Posts: 5,500
Send a message via ICQ to Predseda
You are awesome, man!
Predseda is offline  
Old 21 May 2019, 11:40   #4
robsoft
Registered User

robsoft's Avatar
 
Join Date: May 2018
Location: Chester, UK
Posts: 15
Ooh, this is really interesting. Great effort, looking forward to seeing where you go with it.
robsoft is offline  
Old 21 May 2019, 11:46   #5
Dunny
Registered User

Dunny's Avatar
 
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 1,323
We're desperately in need of "game makers" that allow a good expression of one's imagination while not simultaneously requiring an 030 and a RAM expansion.

I shall watch this with interest.
Dunny is offline  
Old 22 May 2019, 00:32   #6
spoUP
Registered User
 
Join Date: Dec 2002
Location: sweden
Age: 41
Posts: 342
Awesome!!!
spoUP is offline  
Old 22 May 2019, 00:37   #7
jotd
This cat is no more
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 48
Posts: 3,263
Windows-based game maker with modern asset formats; running on low-end amigas: superb!!!
jotd is offline  
Old 22 May 2019, 09:08   #8
saimon69
J.M.D - Bedroom Musician

 
Join Date: Apr 2014
Location: los angeles,ca
Posts: 1,141
As musician i wonder of you will be able to support multi-mod song with jump to position xx, will help to do more immersive soundtracks
saimon69 is offline  
Old 22 May 2019, 09:28   #9
earok
Registered User

 
Join Date: Dec 2013
Location: Auckland
Posts: 2,152
Cheers guys, I hope I don't disappoint!

Next steps, I'm going to implement a stack for functions, streamline static images/huds/menus (combine these all into one type that shares the functionality of all three), and work on a secondary sample/tutorial game. Enemy AI is on the backburner while I tidy up some of the core functionality.

Quote:
Originally Posted by saimon69 View Post
As musician i wonder of you will be able to support multi-mod song with jump to position xx, will help to do more immersive soundtracks
That might be possible. For memory reasons, Scorpion only loads one mod at a time. It is possible to change songs at real time in reaction to events, but it'll pause while the game loads the next song (assuming you're playing from an HDD or CD, this shouldn't be too much of a problem).

The library I'm using for playing music has this function, which I could expose to the scripting language (I don't really know much about trackers, but I presume setting the Position is what you want to be able to do?)

Quote:
ModulePositionJump(Position#)

This command tells the play routine to jump to the pattern requested in
Position#.

NOTE: There is no error checking done at this time. It would be wise to know where you're going.
earok is offline  
Old 22 May 2019, 14:54   #10
earok
Registered User

 
Join Date: Dec 2013
Location: Auckland
Posts: 2,152
I have to rant.

Every time I see comments on news about this (they keep coming up on my Facebook feed so I can't easily avoid them) I keep seeing people either saying I shouldn't be porting Zelda or I'm stupid for doing so.

FFS, I'm not even really porting it, I'm just using a tiny part of an open source fangame (one that's existed for years on OS4 Amiga and numerous other platforms without Nintendo being dicks about it) as kind of a test/experiment/tutorial thing.

Edit: It just feels like I can't try to do a moderately cool thing for Amiga without people having people being dicks about it :/

Last edited by earok; 22 May 2019 at 15:05.
earok is offline  
Old 22 May 2019, 15:51   #11
Predseda
Puttymoon inhabitant
Predseda's Avatar
 
Join Date: Mar 2007
Location: The City of Townsville
Age: 41
Posts: 5,500
Send a message via ICQ to Predseda
Don't worry, it just happens. Take it easy
Predseda is offline  
Old 22 May 2019, 17:52   #12
rcman
Long time Amiga Owner

rcman's Avatar
 
Join Date: Jun 2017
Location: Uxbridge Canada
Age: 52
Posts: 103
Earok thank you so much for your hard work.

Hope you're feeling better

RC
rcman is offline  
Old 22 May 2019, 21:07   #13
saimon69
J.M.D - Bedroom Musician

 
Join Date: Apr 2014
Location: los angeles,ca
Posts: 1,141
Quote:
Originally Posted by earok View Post
Edit: It just feels like I can't try to do a moderately cool thing for Amiga without people having people being dicks about it :/

Welcome to Amiga Community ^_________________^ (kidding)
saimon69 is offline  
Old 22 May 2019, 21:42   #14
malko
Ex nihilo nihil

malko's Avatar
 
Join Date: Oct 2017
Location: CH
Posts: 2,275
Whaou earok !
It's a wonderful engine that you are cooking for us (and on A500)
T H A N K S !
malko is offline  
Old 22 May 2019, 21:53   #15
Retro-Nerd
Missile Command Champion

Retro-Nerd's Avatar
 
Join Date: Aug 2005
Location: Germany
Age: 47
Posts: 11,777
Looks realy great, Earok. I guess viddi is pleased too. Maybe his next project uses your new Game maker.
Retro-Nerd is offline  
Old 23 May 2019, 22:57   #16
earok
Registered User

 
Join Date: Dec 2013
Location: Auckland
Posts: 2,152
https://www.twitch.tv/amigabill

I'm live on AmigaBill's stream
earok is offline  
Old 24 May 2019, 12:54   #17
Zener
Registered User
Zener's Avatar
 
Join Date: Jan 2009
Location: Barcelona / Spain
Posts: 250
Very impressing stuff!!!

I am sure it has been a lot of work to put this together, thanks for your hard work, I hope you are feeling better
Zener is offline  
Old 25 May 2019, 15:08   #18
redblade
Zone Friend

redblade's Avatar
 
Join Date: Mar 2004
Location: Middle Earth
Age: 35
Posts: 1,337
Wow looks great. Looks like it could be used easily to bring over Metal Gear and Metal Gear Solid Snake.
Will be great to see some jojo72 releases with this engine
redblade is offline  
Old 25 May 2019, 15:27   #19
turrican3
Moon 1969 = amiga 1985

turrican3's Avatar
 
Join Date: Apr 2007
Location: belgium
Age: 43
Posts: 3,614
Quote:
Originally Posted by earok View Post
Cheers guys, I hope I don't disappoint!
Are you joking ?? You did amazing stuff already!!
turrican3 is offline  
Old 25 May 2019, 21:19   #20
earok
Registered User

 
Join Date: Dec 2013
Location: Auckland
Posts: 2,152
Quote:
Originally Posted by redblade View Post
Will be great to see some jojo72 releases with this engine
Honestly, I doubt he wants anything to do with the engine after the way he messaged me on Facebook after I called him out for bringing his dispute to a Facebook group I moderate.

And I'm fine with that.
earok 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
2D Platformer Engine carrion Coders. Blitz Basic 27 06 June 2019 15:35
New Chaos Engine!! arpz Retrogaming General Discussion 75 31 August 2013 23:20
F/S Warp engine 32 mb tabuhuso MarketPlace 0 24 February 2012 16:13
PC Engine CD TodaysForgotten Retrogaming General Discussion 47 14 May 2009 00:57
Scorpion (100% working) andreas request.Old Rare Games 13 01 August 2003 09:48

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 14:58.


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