Allegro.cc - Online Community

Allegro.cc Forums » The Depot » My multimedia project (Not allegro, yet )

This thread is locked; no one can reply to it. rss feed Print
My multimedia project (Not allegro, yet )
killocan
Member #1,556
October 2001
avatar

Hey!

Long time since I posted, but I always come to read the forum and look at Allegro news.

So, I'm still working on my project, still 10% or so, but some stuff is finished and although it's not much I'm happy to have finished it :)

The comics can be read here (There are four more being produced; those four, plus those two one here, are the intro of the whole thing):

Ep 1 (Bad Trip) : https://tapas.io/episode/2589838
Ep 2 (Destination Not Found) : https://tapas.io/episode/2589859

To easy my mind (since I'm basicaly writing comics and a podcast) and do some coding, I created this pico8 game based on the "Destination Not Found" comics. I was thinking about using Allegro, but the simplicity and portability of pico8 games won over, this time. I intend to create at least six minigames, before the big one, and one of those will be made with Allegro!

Here are the gamebox:

{"name":"front.png","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/8\/6\/86b3f86972edab71f2c37ed832410e93.png","w":1600,"h":1600,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/8\/6\/86b3f86972edab71f2c37ed832410e93"}front.png
{"name":"back.png","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/e\/7\/e7fe39559ba350b82fa064c09c0972d2.png","w":1600,"h":1600,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/e\/7\/e7fe39559ba350b82fa064c09c0972d2"}back.png

Play it online (or download)
https://adriftgames.itch.io/adrift-dnf

For source code and some technical stuff(it's also possible to play online here):
https://www.lexaloffle.com/bbs/?tid=47470

Cya \o

Mark Oates
Member #1,146
March 2001
avatar

OK cool, so you made the game, but the comics are by someone else?

It's cool, I like the sounds. How did you find developing with Pico8? I spend all my time with Allegro, I don't have much opportunity to work with other tools.

--
Visit CLUBCATT.com for cat shirts, cat mugs, puzzles, art and more <-- coupon code ALLEGRO4LIFE at checkout and get $3 off any order of 3 or more items!

AllegroFlareAllegroFlare DocsAllegroFlare GitHub

killocan
Member #1,556
October 2001
avatar

Hey Mark \o The comics are mine, in the sense that I wrote them. The artwork, both the comics and the game(s), are by artists I've been working with, They are working by commission and I found them on fiverr and instagram. I'm "working" as "director", "producer", "writer" and programmer. The quotes are there on the title because the only thing I'm not atrocious at is as programmer hehe, but I try.

Well, IMHO, Pico 8, is amazing! It utilizes a subset of lua, so it's very straightforward to code. It is very limited by design(code size limit, small screen, small palette...), and that's what make it cool, as in: Wow I managed to do that with so little! I guess that most of the fun comes from that awe of working with a limited environment and squeeze the most out of it, for exemple: the native resolution is 128x128 with 16 colors, so even a regular NES is twice the screen space hehe this forces all that creative use of pixels, idn, i guess that's the whole thing... it's not a good "engine" to create games in general, it's more of a good tool to make demakes and mini games.

Being more technical about pico8 capabilitier: It provides mostly what old Allegro does(4 and bellow, i'm not familiar with Allegro 5):

Quote:

Sprite drawing
Pixel level access
Palette manipulation
Audio playback
"Joystick" control (the joystick is virtual and mapped to the keyboard by default)

Plus:

Quote:

Map drawing (similar to NES)
Music and SFX editor

Some code from the game:

#SelectExpand
1function init_menu() 2 ppxaddr=0x8000 3 px9_decomp(0,0,0x2800) 4 ppxaddr=0x4300 5 6 music(0) 7 8 start_scene(sc_menu) 9 init_play() 10 iniscrt() 11end 12 13function _init() 14 poke(0x5f2e,1) 15 poke(0x5f36,16) 16 17 for i=0,14 do 18 pal(i,i+128,1) 19 end 20 21 pal(7,7,1) 22 pal(15,0,1) 23 palt(14,true) 24 palt(0,false) 25 26 memset(0x4300,0xff,2560) 27 28 init_menu() 29end

#SelectExpand
1 2function clrmap(addr,qtd) 3 for i=0,13 do 4 memset(addr, 0x00, qtd) 5 addr+=128 6 end 7 return addr 8end 9 10function clear_curmap() 11 local addr=0x2000 12 if (curscr == 0) addr+=0x10 13 addr=clrmap(addr,16) 14 memset(addr,3,16) 15 memset(addr+128,51,16) 16 poke(addr,16) 17 poke(addr+128,32) 18 for c=0,4 do 19 poke(addr+flr(rnd(14)+1),19) 20 end 21end

#SelectExpand
1drw_func={draw_menu,draw_play,draw_gameover} 2function _draw() 3 rectfill(0,0,127,127,15) 4 update_clouds() 5 drw_func[status]() 6end

Mark Oates
Member #1,146
March 2001
avatar

killocan said:

Hey Mark \o The comics are mine, in the sense that I wrote them. The artwork, both the comics and the game(s), are by artists I've been working with, They are working by commission and I found them on fiverr and instagram. I'm "working" as "director", "producer", "writer" and programmer. The quotes are there on the title because the only thing I'm not atrocious at is as programmer hehe, but I try.

Honestly, that's fantastic. Are you on the allegro.cc discord server? (https://discord.gg/kBhkueru) I would love to chat with you about the areas of production, specifically.

Art, who knew it was such a big part? Production is almost 1:1 programming:art! :o

--
Visit CLUBCATT.com for cat shirts, cat mugs, puzzles, art and more <-- coupon code ALLEGRO4LIFE at checkout and get $3 off any order of 3 or more items!

AllegroFlareAllegroFlare DocsAllegroFlare GitHub

killocan
Member #1,556
October 2001
avatar

Honestly, that's fantastic. Are you on the allegro.cc discord server? (https://discord.gg/kBhkueru) I would love to chat with you about the areas of production, specifically.

For sure! I'll log into the server!

Mark Oates said:

Art, who knew it was such a big part? Production is almost 1:1 programming:art! :o

Yeah... Art is my big achilles' heel :/ I would say that, for me, it's 2:1 on the art department hehe Mostly because it's a complicated thing to tell someone "ok, how about you work with me, doing my dream project and then, it everything goes alright, you get filthy rich with me!?" hahaha so I've paying out of pocket, and mine are shallow hahaha

Go to: