Jump to content

0

Karri... solitaire question...


4 replies to this topic

#1 EricDeLee OFFLINE  

EricDeLee

    Quadrunner

  • 5,751 posts
  • Location:Michigan

Posted Sun Feb 6, 2011 5:41 PM

So... if I look at source code and change out a picture you used for the Title screen with a similar named picture (same size)... What do I need to do to compile it to make it playable? Compiling with this cc65 toolchain is different than the U3 version.  I am a bit lost as I didn't see where I could even do the HELLO WORLD portion at.

I am curious as to if it will work (although I noticed your title screen shot named SONGBIRD was 8kb and mine was 16kb.

Speaking of title screens... yes...I am just a beginner... but trying to figure this out.  How would I produce perhaps a menu and a title screen?
The answer is probably way over my head... but I have to learn somehow!  LOL

One thing I noticed with the Solitaire source code...
Perhaps I can use some... and change it to play a game of War or something.  Surely it can't be THAT difficult.

Thanks

#2 karri OFFLINE  

karri

    Stargunner

  • 1,306 posts
  • Location:Espoo, Finland

Posted Mon Feb 7, 2011 12:03 AM

View PostEricDeLee, on Sun Feb 6, 2011 5:41 PM, said:

So... if I look at source code and change out a picture you used for the Title screen with a similar named picture (same size)... What do I need to do to compile it to make it playable? Compiling with this cc65 toolchain is different than the U3 version.  I am a bit lost as I didn't see where I could even do the HELLO WORLD portion at.

I am curious as to if it will work (although I noticed your title screen shot named SONGBIRD was 8kb and mine was 16kb.

Speaking of title screens... yes...I am just a beginner... but trying to figure this out.  How would I produce perhaps a menu and a title screen?
The answer is probably way over my head... but I have to learn somehow!  LOL

One thing I noticed with the Solitaire source code...
Perhaps I can use some... and change it to play a game of War or something.  Surely it can't be THAT difficult.

Thanks

To begin with you need to install the absolutely latest snapshop from cc65 snapshots

I would not start from Solitaire and trying to change it to something else.

You could start by compiling the Hello World with it.

Changing the title sprite is pretty advanced stuff. But ok. I will write a detailed chapter of how to do it.

Besides the whole concept of a title picture is soon history. If you still want to show a title picture you can do it from your init code.

--
Regards,

Karri

#3 Ninjabba OFFLINE  

Ninjabba

    Moonsweeper

  • 487 posts
  • Location:Lurking in the Darkness

Posted Mon Feb 7, 2011 2:15 PM

View Postkarri, on Mon Feb 7, 2011 12:03 AM, said:

Besides the whole concept of a title picture is soon history.

What does this mean if I may ask?

#4 EricDeLee OFFLINE  

EricDeLee

    Quadrunner

  • 5,751 posts
  • Location:Michigan

Posted Mon Feb 7, 2011 5:08 PM

I was wondering as well.  What I meant was something like a title screen then you push a button to go to the options or to start a game.  Kind of like most of the games out there.

Perhaps he is talking about the fast loader or something will take away the option of needing a title screen?  Not sure.

#5 karri OFFLINE  

karri

    Stargunner

  • 1,306 posts
  • Location:Espoo, Finland

Posted Tue Feb 8, 2011 7:24 AM

View PostEricDeLee, on Mon Feb 7, 2011 5:08 PM, said:

I was wondering as well.  What I meant was something like a title screen then you push a button to go to the options or to start a game.  Kind of like most of the games out there.

Perhaps he is talking about the fast loader or something will take away the option of needing a title screen?  Not sure.

I mean that the old loader showed a title screen while it was doing lengthy decryption operations and hash checks. The "new" plan is to shorten the encryption code from 5 blocks to 1 block. There is no room to show the title anymore. Instead you application will start "instantly" and you notice no startup time.

Well... If you still want to show your title picture as before and have a few seconds wait time you need to code this yourself. Like:

tgi_sprite(&title_pic);
tgi_updatedisplay();
sleep(5); // Sleep for a long time so the user has time to enjoy the title pic.

--
Karri




0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users