Jump to content
IGNORED

Simple title screen


mdkdue
 Share

Recommended Posts

Hi everyone

 

Can someone please point me in the direction of some example code to generate a simple title screen where i can simply display an image and have the option to 'Press A/B/C etc to start' and then have it run my program?

 

At the moment when i launch my project it just jumps straight in, it would be nice to be presented with the name.

 

I looked in the guides and couldnt see anything to help me.

 

Thanks in advance.

 

Link to comment
Share on other sites

  • 2 weeks later...
6 hours ago, Jag_Mag said:

Can we see your project mdkdue? 

There really is not much to see at the moment to be honest, just a background and some sprites. 
 

I am using the example projects as my starting point so I guess you could just call it a reskin.

  • Like 1
Link to comment
Share on other sites

On 12/31/2022 at 2:01 AM, Jag_Mag said:

Thanks for this.

I had a look, and whilst i understand what it is doing with regards to the main game loop and calling the subroutines, when i put this into my .bas file as the first thing in the game loop its just being ignored.

 

Time for me to accept i am just not clever enough for this and give up i think.

  • Like 1
Link to comment
Share on other sites

Posted (edited)

Thank you. I am not near my pc right now, but I have been using the ‘shootbang’ example project as my starting point, so it would essentially be inserting the title screen into that .bas file. 
 

I figured it needs to go above where it calls the routine to move enemies?

Edited by mdkdue
Link to comment
Share on other sites

You'll need to change a few things around in shootbang in order to display title screen ect,have you tried to create a project on your own yet?title screen,game screen and a sprite or two?If you want I started this in basic incase there is a JagJam 2023,you're welcome to go through my code.

 

 

Edited by Jag_Mag
Link to comment
Share on other sites

10 minutes ago, Jag_Mag said:

 

Oh wow, this is great! Very cool!
 

Yes I did try that initially, just using the beginners guide in Jagstudio. I managed to change the background and add a couple of sprites.

 

I am open to any suggestions, and really appreciate them, so anything you can share with me would be great. Thank you so much.

  • Like 1
Link to comment
Share on other sites

15 hours ago, Jag_Mag said:

How is the learning coming along mdkdue?I can do space invaders in parts if you want to follow along,soundfx,music,collision ect..

 

 

 

Source and assets

invaders.7z 1.49 MB · 1 download

I haven’t looked at it in the last week or so as I kinda lost hope , realised it was probably beyond my brain capacity 🤣

 

But yes please ! Any help you can give would be greatly appreciated.

Im gonna check this out.

  • Like 1
Link to comment
Share on other sites

On 1/13/2023 at 9:42 PM, Jag_Mag said:

How is the learning coming along mdkdue?I can do space invaders in parts if you want to follow along,soundfx,music,collision ect..

 

 

 

Source and assets

invaders.7z 1.49 MB · 3 downloads

Been looking at this, trying to get my head round the main game loop and all the sub routines. Its making a little more sense now.

  • Like 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...