Recent

Author Topic: Game Contest 2018  (Read 111080 times)

eny

  • Hero Member
  • *****
  • Posts: 1634
Re: Game Contest 2018
« Reply #30 on: January 05, 2018, 05:46:58 pm »
Thanks. I love Tetris, I'm good at it, and I can't say that for another games like First Person Shooters =)

Added to the retro category. Also I've added turrican conversion of my code since the rules say nothing about conversions =)

Edit: here is my High Score =) 11:48251
Glad you liked it. I only come to 20K-ish :)
It was more of a fun excercise to see what can be done with vanilla Lazarus.
I'd love to do something with SDL but time is always the problem.
All posts based on: Win10 (Win64); Lazarus 2.0.10 'stable' (x64) unless specified otherwise...

eny

  • Hero Member
  • *****
  • Posts: 1634
Re: Game Contest 2018
« Reply #31 on: January 05, 2018, 09:53:36 pm »
And a quick Debian 9 compile...
All posts based on: Win10 (Win64); Lazarus 2.0.10 'stable' (x64) unless specified otherwise...

Edson

  • Hero Member
  • *****
  • Posts: 1301
Re: Game Contest 2018
« Reply #32 on: January 05, 2018, 10:24:01 pm »
Interesting. I lost some Commodore 64 games, I made many yearas ago, in my tapes.

Maybe it's time to revive them in Lazarus.  :D
Lazarus 2.2.6 - FPC 3.2.2 - x86_64-win64 on Windows 10

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: Game Contest 2018
« Reply #33 on: January 07, 2018, 12:38:40 am »
Interesting. I lost some Commodore 64 games, I made many yearas ago, in my tapes.

Maybe it's time to revive them in Lazarus.  :D

Want to see that!

turrican

  • Full Member
  • ***
  • Posts: 133
  • Pascal is my life.
    • Homepage
Re: Game Contest 2018
« Reply #34 on: January 08, 2018, 09:19:50 am »
Interesting. I lost some Commodore 64 games, I made many yearas ago, in my tapes.

Maybe it's time to revive them in Lazarus.  :D

That's very cool! If you need to rip audio from commodore 64 and use it from code, I can help you.

molly

  • Hero Member
  • *****
  • Posts: 2330
Re: Game Contest 2018
« Reply #35 on: January 08, 2018, 09:34:30 am »
If you need to rip audio from commodore 64 and use it from code, I can help you.
Hopefully you are aware that most (if not all) sid related music is made out of code. So unless you have a sid-emulator and 6502 emulator, there is hardly any use to 'rip' those music. Yes, i am aware of existence of sid-players but not aware of any written in Pascal.

de_jean_7777

  • New Member
  • *
  • Posts: 11
Re: Game Contest 2018
« Reply #36 on: January 08, 2018, 11:56:04 am »
I'm in. Might as well create an actual game in my engine :D
Existence is pain

turrican

  • Full Member
  • ***
  • Posts: 133
  • Pascal is my life.
    • Homepage
Re: Game Contest 2018
« Reply #37 on: January 08, 2018, 12:20:52 pm »
If you need to rip audio from commodore 64 and use it from code, I can help you.
Hopefully you are aware that most (if not all) sid related music is made out of code. So unless you have a sid-emulator and 6502 emulator, there is hardly any use to 'rip' those music. Yes, i am aware of existence of sid-players but not aware of any written in Pascal.
You can use libsid from pascal without problems. I do.

Edson

  • Hero Member
  • *****
  • Posts: 1301
Re: Game Contest 2018
« Reply #38 on: January 08, 2018, 03:22:25 pm »
Interesting. I lost some Commodore 64 games, I made many yearas ago, in my tapes.
Maybe it's time to revive them in Lazarus.  :D

That's very cool! If you need to rip audio from commodore 64 and use it from code, I can help you.
Fortunately my games had very simple sound. They were very simple. Anyway I have no idea how to create the sound in Lazarus.
In fact, I have no idea how to start developing my game. I don't know What libraries to use, or what emulator, or just Canvas methods.


Lazarus 2.2.6 - FPC 3.2.2 - x86_64-win64 on Windows 10

turrican

  • Full Member
  • ***
  • Posts: 133
  • Pascal is my life.
    • Homepage
Re: Game Contest 2018
« Reply #39 on: January 08, 2018, 06:14:17 pm »
Interesting. I lost some Commodore 64 games, I made many yearas ago, in my tapes.
Maybe it's time to revive them in Lazarus.  :D

That's very cool! If you need to rip audio from commodore 64 and use it from code, I can help you.
Fortunately my games had very simple sound. They were very simple. Anyway I have no idea how to create the sound in Lazarus.
In fact, I have no idea how to start developing my game. I don't know What libraries to use, or what emulator, or just Canvas methods.

You can use SDL2 or Allegro there are very good frameworks and Pascal compatible.

Handoko

  • Hero Member
  • *****
  • Posts: 5131
  • My goal: build my own game engine using Lazarus
Re: Game Contest 2018
« Reply #40 on: January 08, 2018, 06:30:39 pm »
I never tried SDL but I know Allegro (Allegro.pas) is very easy to start with because it has very good documentation with example codes. First time I read the documentation, I can start writing code on the same day.

Allegro wrapper for Pascal:
http://allegro-pas.sourceforge.net/

Allegro 5 documentation:
http://liballeg.org/a5docs/trunk/

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: Game Contest 2018
« Reply #41 on: January 08, 2018, 11:32:43 pm »
I did the opposite, just used SDL and not Allegro. But played Open Sonic (now Open Surge) that works with Allegro and runs very well.

I want to add that SDL handling of input is very primitive. I personally like some more OOP, like events for everything.

turrican

  • Full Member
  • ***
  • Posts: 133
  • Pascal is my life.
    • Homepage
Re: Game Contest 2018
« Reply #42 on: January 09, 2018, 05:30:51 pm »
And the most important... The imagination :)

jwdietrich

  • Hero Member
  • *****
  • Posts: 1232
    • formatio reticularis
Re: Game Contest 2018
« Reply #43 on: January 09, 2018, 06:48:08 pm »
Petris is great on the Mac, too.
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

http://www.formatio-reticularis.de

Lazarus 2.2.6 | FPC 3.2.2 | PPC, Intel, ARM | macOS, Windows, Linux

eny

  • Hero Member
  • *****
  • Posts: 1634
Re: Game Contest 2018
« Reply #44 on: January 09, 2018, 07:48:23 pm »
Petris is great on the Mac, too.
Wauw nice.
Write once compile anywhere indeed ;)
All posts based on: Win10 (Win64); Lazarus 2.0.10 'stable' (x64) unless specified otherwise...

 

TinyPortal © 2005-2018