English Amiga Board


Go Back   English Amiga Board > Main > Retrogaming General Discussion

 
 
Thread Tools
Old 01 November 2019, 15:45   #21
Nightshft
Registered User

Nightshft's Avatar
 
Join Date: Mar 2018
Location: Austria
Age: 44
Posts: 228
Cool! First played bagitman like 4-5 years ago, but it's such a nice game. Hope you have good progress! =)
Nightshft is offline  
Old 01 November 2019, 21:49   #22
Asman
68k

Asman's Avatar
 
Join Date: Sep 2005
Location: Somewhere
Posts: 697
Quote:
Originally Posted by jotd View Post
after 4 years first update on this.

Being boosted by others creating their own arcade port amiga game (Kungfu master, Bombjack, Rygar), I'm finally trying to port that for amiga, but properly, by NOT using SDL which is too slow.

I found a way to reuse 95% of the code and keep most of SDL interface, but use the blitter behind the scenes.

I could blit basic images, but I still suck. Just for fun I started the game without trying to tune anything besides basic blitting. That's a mess but still...

Attachment 65017
Great job! Do you also plan convert c++ to c.
Asman is offline  
Old 01 November 2019, 22:15   #23
jotd
This cat is no more
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 48
Posts: 3,294
C++ to C no, sorry! there are a lot of classes and all. It's no longer useful since g++ does a good job as a 68k target.
jotd is offline  
Old 02 November 2019, 05:46   #24
Nobby_UK
Registered User
Nobby_UK's Avatar
 
Join Date: Jul 2013
Location: Liverpool
Posts: 1,166
Opens in a Window for me ???

https://imgur.com/tWEAEk6
Nobby_UK is offline  
Old 02 November 2019, 09:08   #25
jotd
This cat is no more
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 48
Posts: 3,294
The old amiga version is super-slow and uses SDL. It also opens a window. The new amiga version will be full screen
jotd is offline  
Old 15 November 2019, 23:51   #26
jotd
This cat is no more
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 48
Posts: 3,294
update on this:

- figured out a lot of blitter issues (still not all of them)
- could start the game main interrupt & refresh. Obviously still wrong blits, but palette is okay (at least in other tests), running 32 colors (original game uses 18 or 19 colors, strange but maybe I messed up when ripping the gfx)

updated start pic

Click image for larger version

Name:	Capture.PNG
Views:	50
Size:	31.7 KB
ID:	65171
jotd is offline  
Old 16 November 2019, 03:42   #27
turrican3
Moon 1969 = amiga 1985

turrican3's Avatar
 
Join Date: Apr 2007
Location: belgium
Age: 43
Posts: 3,620
Great work.
Is it possible to display it fullscreen now ??

Last edited by turrican3; 16 November 2019 at 03:53.
turrican3 is offline  
Old 16 November 2019, 13:01   #28
Pyromania
Moderator

Pyromania's Avatar
 
Join Date: Jan 2002
Location: Chicago, IL
Posts: 2,166
@jotd

Cool, thanx for the new Amiga game.
Pyromania is offline  
Old 16 November 2019, 13:10   #29
jotd
This cat is no more
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 48
Posts: 3,294
yes it will be full screen.

well, the "game" isn't working like at all for now. Time to test the new Bebbo gdb server & source code level cross debugger

BTW does anyone has libpython27.dll ? because m68k-amigaos-gdb needs it and it's not in the gcc distro (it's python 2.7 DLL for cygwin).

Update: new gcc build has a working gdb.

Last edited by jotd; 23 November 2019 at 18:21.
jotd is offline  
Old 23 November 2019, 18:25   #30
jotd
This cat is no more
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 48
Posts: 3,294
thanks to the debugging sessions and a lot of step by step I was able to

- remove a fclose(f) that crashed my application. This may be a compiler/lib bug as the code has no issues reading from that file. I'll port the calls to Amiga native just to see
- thanks to the debugger I could fix some stupid fadein/fadeout buffer copy code that wasn't supposed to trigger. Instead, I should change the palette dynamically. We'll see later.

With this ironed out, the display is much cleaner. The position of the bags are too high (WTF it's okay in the other versions... we'll see), the text messages are turned off because they are sources of crashes but the rest is displaying fine.

Also I didn't implement the "cookie cut" blitter stuff yet.

Now let's figure out why nothing is updating, specially this dumb guard above. Debugger will be a precious ally here specially because in full screen it's difficult to print debug info...

Click image for larger version

Name:	Capture.PNG
Views:	33
Size:	24.4 KB
ID:	65282
jotd is offline  
Old 23 November 2019, 22:48   #31
jotd
This cat is no more
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 48
Posts: 3,294
Click image for larger version

Name:	Capture.PNG
Views:	32
Size:	29.1 KB
ID:	65284

making some progress despite the fact that I suspect gcc 6.5.0b to be VERY buggy. 6.4.x works properly, fortunately (but debugger not working...)

here 2 merged images (because I didn't implement a proper clear screen ATM) of menu + playfield. Fonts have some copy/blit issue (small gfx is using the CPU only) but starting to work
jotd is offline  
Old 24 November 2019, 03:10   #32
pipper
Registered User

 
Join Date: Jul 2017
Location: San Jose
Posts: 148
Bagman remake : Amiga version available

Try adding option -fbbb=- and see if this gets rid of some corruption. It disables Bebbo’s optimizations.

Last edited by pipper; 24 November 2019 at 04:17.
pipper is online now  
Old 24 November 2019, 10:42   #33
jotd
This cat is no more
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 48
Posts: 3,294
thanks, but it still crashes at random places when calling system routines (printf, fclose...)

Stack is set to 1MB just in case... but not helping.
jotd is offline  
Old 24 November 2019, 11:38   #34
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 5,236
To me Bagman-amiga-0.95 works well on AfA One, can you enlarge the window?
Attached Thumbnails
Click image for larger version

Name:	Bagman.jpg
Views:	18
Size:	138.7 KB
ID:	65290  
AMIGASYSTEM is offline  
Old 24 November 2019, 11:57   #35
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 5,236
The parameter -a has been used and the screen has been enlarged but it is rectangular

Test Video: Bagman Remake SDL
Attached Thumbnails
Click image for larger version

Name:	Bagman.jpg
Views:	23
Size:	122.4 KB
ID:	65291  

Last edited by AMIGASYSTEM; 24 November 2019 at 13:34.
AMIGASYSTEM is offline  
Old 24 November 2019, 14:42   #36
jotd
This cat is no more
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 48
Posts: 3,294
@AMIGASYSTEM yeah but SDL version on WinUAE is cheating. If you have a PC you can use the windows SDL version. I think there's a fullscreen option, but not sure on the amiga version.

I'm trying to create an amiga version that works on a A500/A1200.
jotd is offline  
Old 24 November 2019, 14:57   #37
DamienD
Global Moderator

DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 43
Posts: 15,645
Quote:
Originally Posted by jotd View Post
I'm trying to create an amiga version that works on a A500/A1200.
As it should be

Last edited by DamienD; 24 November 2019 at 15:21.
DamienD is online now  
Old 24 November 2019, 15:18   #38
BippyM
Global Moderator

BippyM's Avatar
 
Join Date: Nov 2001
Location: Nottingham, UK
Age: 44
Posts: 8,875
Quote:
Originally Posted by jotd View Post
I'm trying to create an amiga version that works on a A500/A1200.
Legend
BippyM is online now  
Old 24 November 2019, 19:42   #39
jotd
This cat is no more
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 48
Posts: 3,294
controls added. Game is playable. Lots of gfx glitches, missing clipping and all but reached the rightmost level and game mechanics work. Speed is correct too.

Click image for larger version

Name:	Capture.PNG
Views:	27
Size:	34.5 KB
ID:	65297

that will be my very first game on Amiga

BTW if someone wants to create music modules for that one (this is basically chiptunes, I've zoned the mp3s) I'd be interested.

Last edited by jotd; 24 November 2019 at 23:11.
jotd 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
"Remake" C64 Amiga International Karate + video amiman99 Retrogaming General Discussion 9 22 January 2013 18:54
Speccy remake of Amiga tune on Youtube Hewitson Nostalgia & memories 4 01 April 2011 22:42
not Amiga-like, not remake, but still brilliant s2325 Nostalgia & memories 14 13 September 2007 16:01
Old version number? [GameBase version vs. GBA version + misc. questions] wanderer project.MAGE 5 23 August 2007 01:51
Amiga Remake killergorilla Amiga scene 2 12 October 2003 12:00

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 22:12.


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