Recent

Author Topic: An update on my homegrown sprite editor  (Read 1017 times)

TBMan

  • Sr. Member
  • ****
  • Posts: 285
An update on my homegrown sprite editor
« on: January 26, 2025, 05:41:52 pm »
This app saves the sprite as

Code: Pascal  [Select][+][-]
  1. Type
  2.  
  3. spritetype = array[0..4095] of byte;
  4.  
  5.  
  6. LG_SpriteClass = record
  7.      width,
  8.      depth:integer;
  9.      Info:spritetype;
  10.   end;  
   


It can also export to a const for insertion in code. The app uses the ptcgraph and ptcmouse units.
I've coded my own check boxes, push buttons, file open dialog and resize dialog. Making my own GUI is just as much fun as the games I write. Years ago I had done a GUI that was object based. Once I relearn the method I'll play around with that idea again. I'm retired so this is all just entertainment for me.
« Last Edit: January 26, 2025, 06:51:07 pm by TBMan »
I love programming.

Some things I've done using PTCgraph:

NFL Retro Football (almost finished):
https://www.youtube.com/watch?v=78mTtsd7ppk


Solitaire games:
https://www.youtube.com/watch?v=zmtxI7FdWuQ&list=PLa4BPpFl34iVhFwX1JZwVm3vE5ay_i3R2

MKGilby

  • Newbie
  • Posts: 3
Re: An update on my homegrown sprite editor
« Reply #1 on: January 28, 2025, 01:48:33 pm »
Nice work!

Do you make games with the designed sprites?

Gilby

ps. That's the original 256-color VGA palette on the right? I haven't seen it in 30 years. :D

TBMan

  • Sr. Member
  • ****
  • Posts: 285
Re: An update on my homegrown sprite editor
« Reply #2 on: January 28, 2025, 03:13:03 pm »
Nice work!

Do you make games with the designed sprites?

Gilby

ps. That's the original 256-color VGA palette on the right? I haven't seen it in 30 years. :D

Thanks Gilby!

Yes, I just converted a text mode blackjack game I wrote last year to graphics using sprites I made with the program. I've also done Pacman, Missile Command clones and I have a Space Invaders and a Centipeed clone in the works.  The palette is the default palette the PTCgraph provides, but that's the one I remember too from the 90's.

Here's a short video of the Pac Man clone:

https://www.youtube.com/watch?v=0BNifISMqF8

I love programming.

Some things I've done using PTCgraph:

NFL Retro Football (almost finished):
https://www.youtube.com/watch?v=78mTtsd7ppk


Solitaire games:
https://www.youtube.com/watch?v=zmtxI7FdWuQ&list=PLa4BPpFl34iVhFwX1JZwVm3vE5ay_i3R2

MKGilby

  • Newbie
  • Posts: 3
Re: An update on my homegrown sprite editor
« Reply #3 on: January 29, 2025, 03:05:17 pm »
That pacman game looks appealing. It has the retro vibe. Congrats!  :)

TBMan

  • Sr. Member
  • ****
  • Posts: 285
Re: An update on my homegrown sprite editor
« Reply #4 on: January 29, 2025, 03:25:17 pm »
That pacman game looks appealing. It has the retro vibe. Congrats!  :)

Thank you!
I love programming.

Some things I've done using PTCgraph:

NFL Retro Football (almost finished):
https://www.youtube.com/watch?v=78mTtsd7ppk


Solitaire games:
https://www.youtube.com/watch?v=zmtxI7FdWuQ&list=PLa4BPpFl34iVhFwX1JZwVm3vE5ay_i3R2

 

TinyPortal © 2005-2018