Jump to content

Photo

WIP clowns and balloons made with IntyBasic

IntyBasic Intellivision Clowns Balloons Source

56 replies to this topic

#26 DZ-Jay OFFLINE  

DZ-Jay

    Quadrunner

  • 9,767 posts
  • Triple-Stripe Mo' Bro
  • Location:NC, USA

Posted Sat Feb 22, 2014 10:19 AM

Awesome new levels fellas, nicely done. :) dZ, I love how your wife steps in and says, "hey, you can do better than that!" Lol!

 

Hahah!  It's more like

 

-- "That's cute.  Are those supposed to be presents?  Hmm, I don't see it..."

 

(code, code, code)

 

-- "Ah! Much better!"



#27 cmart604 OFFLINE  

cmart604

    Quadrunner

  • 11,000 posts
  • Location:Vancouver

Posted Sat Feb 22, 2014 8:02 PM

 
Hahah!  It's more like
 
-- "That's cute.  Are those supposed to be presents?  Hmm, I don't see it..."
 
(code, code, code)
 
-- "Ah! Much better!"


Yah that's just a nice ladylike way to say the same thing. :) lol!

#28 catsfolly OFFLINE  

catsfolly

    Dragonstomper

  • Topic Starter
  • 703 posts
  • Location:Japan

Posted Sun Feb 23, 2014 8:30 AM

At the behest of my wife, I've updated the Balloons vs. The Clowns Of Christmas Presents to compose the presents with solid blocks and make them look better. :)

 

I've also updated the block exploding animation to fit.

attachicon.gifshot0002.gifattachicon.gifshot0010.gif

attachicon.gifclowns.bas

 

     -dZ.

Nice animation on the ghost. Looks good.

 

I'm glad that my code is so crystal clear that it is easy to read and modify... :)

 

Both you and Fushek changed the balloon shape. Is my balloon so bad?

 

Thanks for trying it out!

 

Catsfolly



#29 DZ-Jay OFFLINE  

DZ-Jay

    Quadrunner

  • 9,767 posts
  • Triple-Stripe Mo' Bro
  • Location:NC, USA

Posted Sun Feb 23, 2014 8:53 AM

I don't think Fushek changed your balloon shape.  I think the last row of the balloon card was dropped.  I had the same issue when I was using your shape:  my screenshots looked like rounded blobs instead of balloons.  I changed mine to blocks to draw the presents, but I could put it back to balloons. :)

 

    -dZ.



#30 catsfolly OFFLINE  

catsfolly

    Dragonstomper

  • Topic Starter
  • 703 posts
  • Location:Japan

Posted Sun Feb 23, 2014 9:15 AM

I don't think Fushek changed your balloon shape.  I think the last row of the balloon card was dropped.  I had the same issue when I was using your shape:  my screenshots looked like rounded blobs instead of balloons.  I changed mine to blocks to draw the presents, but I could put it back to balloons. :)

 

    -dZ.

Okay, I found the problem.

When I got the new 0.4 version of the IntyBasic compiler, I failed to get the "epilogue" file (because I didn't know it had changed).

The new epilogue file does more things (good things I hope) at interrupt time, so there is less time left over to load cards. I will change the program to load only 10 cards a frame (instead of 20), and that should fix it up....

 

Catsfolly



#31 DZ-Jay OFFLINE  

DZ-Jay

    Quadrunner

  • 9,767 posts
  • Triple-Stripe Mo' Bro
  • Location:NC, USA

Posted Sun Feb 23, 2014 9:21 AM

In the IntyBasic thread, I suggested a change to the ISR contained in the epilogue library.  It speeds it up enough to finish loading that card.  My guess is that it can be optimized more.

 

     -dZ.



#32 DZ-Jay OFFLINE  

DZ-Jay

    Quadrunner

  • 9,767 posts
  • Triple-Stripe Mo' Bro
  • Location:NC, USA

Posted Sun Feb 23, 2014 10:11 AM

I've updated the blocks to show up square.  Also, the Clown-Ghost is now happy as a lark, bouncing around. :)

shot0012.gif

Attached File  clowns.bas   27.14KB   135 downloads

 

    -dZ.



#33 1980gamer OFFLINE  

1980gamer

    Dragonstomper

  • 703 posts
  • Location:Charlton, MA

Posted Sun Feb 23, 2014 12:10 PM

DZ, the snowman and robot should be holding the "trampoline"...no?

 

This looks so promising!  Not only the bounce game, but intybasic!

 

PS, thank you for the awesome patch!  In case I didn't thank you already!

-1980gamer



#34 Rev OFFLINE  

Rev

    A.K.A. Revolutionika

  • 15,001 posts
  • Location:NC

Posted Sun Feb 23, 2014 4:13 PM

I've updated the blocks to show up square.  Also, the Clown-Ghost is now happy as a lark, bouncing around. :)

attachicon.gifshot0012.gif

attachicon.gifclowns.bas

 

    -dZ.

 

This could be an easter egg game in your next release!



#35 cmart604 OFFLINE  

cmart604

    Quadrunner

  • 11,000 posts
  • Location:Vancouver

Posted Sun Feb 23, 2014 4:32 PM

 
This could be an easter egg game in your next release!


Oooh, good idea!!!

#36 JoeM_Intellivision OFFLINE  

JoeM_Intellivision

    Stargunner

  • 1,124 posts

Posted Sun Feb 23, 2014 7:43 PM

Could also be a stand alone game if many levels were added like Stonix or no?

#37 Fushek OFFLINE  

Fushek

    Stargunner

  • 1,485 posts
  • Actively Seeking Spiker!
  • Location:Clevelandish

Posted Sun Feb 23, 2014 8:45 PM

Could also be a stand alone game if many levels were added like Stonix or no?

 

As it stands, it's too easy in my honest opinion.  It's really only a matter of time to solve the levels.



#38 catsfolly OFFLINE  

catsfolly

    Dragonstomper

  • Topic Starter
  • 703 posts
  • Location:Japan

Posted Sun Feb 23, 2014 10:36 PM

 

As it stands, it's too easy in my honest opinion.  It's really only a matter of time to solve the levels.

I agree. It's way too easy. I am working on speeding it up after each bounce - this seems like the best solution for this type of game, so I'll try that first...



#39 catsfolly OFFLINE  

catsfolly

    Dragonstomper

  • Topic Starter
  • 703 posts
  • Location:Japan

Posted Sun Feb 23, 2014 10:43 PM

Could also be a stand alone game if many levels were added like Stonix or no?

Currently it's just a technical experiment, to see what can be done with IntyBasic.

 

If I get the game tuning worked out, and get some more levels done (with help), then I guess at some point the Legal teams of Left Turn Only, Giri Giri Games, and Fushek Holdings will have to meet and sort out all the Intellectual property rights.

 

This will no doubt trigger a bidding war for the publishing rights, involving such companies as Elektronite, Intelligentvision, Retrolucid, Revtastic Games, Groovination, etc, etc

 

After that we will have to negotiate the toy and plush rights...

 

Given the great success of video game based movies, no doubt a movie deal will soon be in the works....

 

But for now, it's just a nice technical experiment...


Edited by catsfolly, Sun Feb 23, 2014 10:43 PM.


#40 cmart604 OFFLINE  

cmart604

    Quadrunner

  • 11,000 posts
  • Location:Vancouver

Posted Mon Feb 24, 2014 1:36 AM

Currently it's just a technical experiment, to see what can be done with IntyBasic.
 
If I get the game tuning worked out, and get some more levels done (with help), then I guess at some point the Legal teams of Left Turn Only, Giri Giri Games, and Fushek Holdings will have to meet and sort out all the Intellectual property rights.
 
This will no doubt trigger a bidding war for the publishing rights, involving such companies as Elektronite, Intelligentvision, Retrolucid, Revtastic Games, Groovination, etc, etc
 
After that we will have to negotiate the toy and plush rights...
 
Given the great success of video game based movies, no doubt a movie deal will soon be in the works....
 
But for now, it's just a nice technical experiment...


Lol! I'm in for the Happy Meal toys!

#41 pimpmaul69 OFFLINE  

pimpmaul69

    River Patroller

  • 4,784 posts
  • INTV Brotherhood Technician
  • Location:Colorado

Posted Sun Oct 19, 2014 4:14 AM

Here's my first attempt.  I call this...
 
Balloons vs. The Clowns Of Christmas Presents
attachicon.gifshot0001.gif
attachicon.gifclowns.bas
 
You must help the Ghostly Clown pop all the gift balloons.
 
Enjoy!
 
      -dZ.

how do i convert these .bas files to play them?

#42 GroovyBee OFFLINE  

GroovyBee

    Games Developer

  • 9,708 posts
  • Busy bee!
  • Location:North, England

Posted Sun Oct 19, 2014 4:20 AM

how do i convert these .bas files to play them?


You need to compile them with IntyBASIC. The latest version is here :-

http://atariage.com/...ed-;/?p=3089358

#43 DZ-Jay OFFLINE  

DZ-Jay

    Quadrunner

  • 9,767 posts
  • Triple-Stripe Mo' Bro
  • Location:NC, USA

Posted Sun Oct 19, 2014 4:59 AM

And for the technologically-impaired (No, Rev, I'm not looking at you... well, yes I am), attached is the ROM.

 

I just tried this again, and it brought a smile to my face.  I really like this clowns game that Catsfolly made, it feels very polished, with the sound effects and the diagonal movements.  And with the Ghost expression changing from smile to frown, it looks even better. ;)

 

     -dZ.

Attached Files



#44 freewheel OFFLINE  

freewheel

    River Patroller

  • 2,861 posts

Posted Sun Oct 19, 2014 9:59 AM

Well catsfolly, I'm going to shamelessly steal a snippet of code from this. I've been struggling with sound effects in IntyBASIC and people were talking about frame counters and manually shutting off sound effects - Clowns has exactly what I needed. The envelope setting. My problem is that I couldn't really find documentation on it. The wiki says this about it:

 

Period Atak, Cont, Hold, Altr Volume (0-15) 16-bit period value multiplied by two, from 2 PSG clock cycles to $20000

 

Not exactly helpful if you're just learning this stuff. Maybe that one sentence tells someone all they need to know, but not me. So my question is this:

 

SOUND 3,$53f,0      sets the envelope.

 

How do I figure out what $53f is doing? Yes, it makes the nice "bounce" noise from clowns. But it's a 16 bit value - do people just play with it, thousands of times, to see what effect it has?

 

When I fired up Clowns this morning I was stunned at how perfect of a sound effect you'd made for the bounce. So now I wanna know the secret :P



#45 pimpmaul69 OFFLINE  

pimpmaul69

    River Patroller

  • 4,784 posts
  • INTV Brotherhood Technician
  • Location:Colorado

Posted Sun Oct 19, 2014 12:29 PM

And for the technologically-impaired (No, Rev, I'm not looking at you... well, yes I am), attached is the ROM.

 

I just tried this again, and it brought a smile to my face.  I really like this clowns game that Catsfolly made, it feels very polished, with the sound effects and the diagonal movements.  And with the Ghost expression changing from smile to frown, it looks even better. ;)

 

     -dZ.

thank you. ;)



#46 catsfolly OFFLINE  

catsfolly

    Dragonstomper

  • Topic Starter
  • 703 posts
  • Location:Japan

Posted Sun Oct 19, 2014 1:30 PM

Well catsfolly, I'm going to shamelessly steal a snippet of code from this. I've been struggling with sound effects in IntyBASIC and people were talking about frame counters and manually shutting off sound effects - Clowns has exactly what I needed. The envelope setting. My problem is that I couldn't really find documentation on it. The wiki says this about it:

 

 

Not exactly helpful if you're just learning this stuff. Maybe that one sentence tells someone all they need to know, but not me. So my question is this:

 

SOUND 3,$53f,0      sets the envelope.

 

How do I figure out what $53f is doing? Yes, it makes the nice "bounce" noise from clowns. But it's a 16 bit value - do people just play with it, thousands of times, to see what effect it has?

 

When I fired up Clowns this morning I was stunned at how perfect of a sound effect you'd made for the bounce. So now I wanna know the secret :P

Glad you liked the sound effect!

 

The secret is - get the data manual for the chip:

 

http://dev-docs.atar...12_Feb-1979.pdf

 

It explains every bit in great detail.

 

Still, a lot of trial and error is required to get the sound you want...

 

The problem with the envelope generator is that it controls all 3 channels at once, so if you use it you can't do anything else at the same time (like play music or other sound effects.)

 

("Clowns and Balloons" was written before there was a "CONST" command in IntyBasic, so there are a lot of "magic numbers" in the code. I need to fix that...)

 

Catsfolly

 

P.S.   "SOUND 3,$53f,0 " set the envelope frequency (how fast it happens, to $53F, and the envelope type to 0.


Edited by catsfolly, Sun Oct 19, 2014 2:07 PM.


#47 freewheel OFFLINE  

freewheel

    River Patroller

  • 2,861 posts

Posted Sun Oct 19, 2014 2:07 PM

Thanks for the PDF - I'll have to print this one out and devour it on a plane sometime.

 

 I actually don't mind your magic numbers at all; they've helped me to experiment a little. And once I read this today, things started making a lot more sense: :http://spatula-city....ramming/psg.txt

 

It at least started me down the path of remembering ADSR synth logic from.. well like all of this, another lifetime. :D

 

One of the things with INTV programming that isn't exactly spelled out, is the limitations of the platform. Like, sprites are monochrome-only (but you can mix them for multicolor, if you sacrifice some on screen). Or exactly what compromises you're making when you choose the different display modes. Or what exactly gets sacrificed when you use various audio tricks: sure you have 3 channels, but when you want to do much with them, you rapidly start losing them. I mean it's all there once you run into it, but it's learning by trial-and-error and a lot of the documentation is "conclusion by implication". It's interesting to say the least. By contrast the 2600 is a beast to program for, but it allowed for a lot more flexibility once people mastered it. Flexibility within the limitations of the hardware, of course.

 

There's a reason INTV games are so instantly recognizable as such, I guess.



#48 nanochess OFFLINE  

nanochess

    River Patroller

  • 4,558 posts
  • Coding something good
  • Location:Mexico, Mexico

Posted Sun Oct 19, 2014 8:13 PM

The problem with the envelope generator is that it controls all 3 channels at once, so if you use it you can't do anything else at the same time (like play music or other sound effects.)


The envelope generator will be used only by the channel with volume set to 48, so you can play music in the background with PLAY SIMPLE.

P.S.   "SOUND 3,$53f,0 " set the envelope frequency (how fast it happens, to $53F, and the envelope type to 0.


I don't remember right now, but I think the frequency of envelope is 3579545/256/frec = value, this is because effectively the envelope counter has a 16-level step (it's feed from 3579545/16/frec)

BTW, replace 3579545 with 4000000 for PAL Intellivision.

#49 DZ-Jay OFFLINE  

DZ-Jay

    Quadrunner

  • 9,767 posts
  • Triple-Stripe Mo' Bro
  • Location:NC, USA

Posted Mon Oct 20, 2014 3:18 AM

The envelope generator will be used only by the channel with volume set to 48, so you can play music in the background with PLAY SIMPLE.


I don't remember right now, but I think the frequency of envelope is 3579545/256/frec = value, this is because effectively the envelope counter has a 16-level step (it's feed from 3579545/16/frec)

BTW, replace 3579545 with 4000000 for PAL Intellivision.

 

Any chance of abstracting that with just plain, discrete values for Attack, Decay, Sustain, Release? :)

 

Or perhaps just offering software envelopes, like Arnauld's tracker.


Edited by DZ-Jay, Mon Oct 20, 2014 3:18 AM.


#50 nanochess OFFLINE  

nanochess

    River Patroller

  • 4,558 posts
  • Coding something good
  • Location:Mexico, Mexico

Posted Mon Oct 20, 2014 8:25 AM

Any chance of abstracting that with just plain, discrete values for Attack, Decay, Sustain, Release? :)
 
Or perhaps just offering software envelopes, like Arnauld's tracker.


I'm afraid the AY-3-8914 doesn't have these discrete values.

The software envelopes for instruments are already provided by the music tracker included with IntyBASIC v0.9 and can be altered editing the intybasic_epilogue.asm file

The envelope feature is more useful to simulate other complicated instruments like harmonic, violin and trumpet, putting a high frequency with a sawtooth envelope in one channel along with mixing with at least other channel.

Technically the envelope can be emulated almost completely with software (except the higher frequencies)

For IntyBASIC is very useful because you can start the envelope and forget about it, you don't need to keep a counter to increase/decrease volume, for example, for explosion sounds, helicopter-style sounds, sea wave sounds, sirens, little effects, etc.





Also tagged with one or more of these keywords: IntyBasic, Intellivision, Clowns, Balloons, Source

0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users