NaaLaa
Space Side Scroller - Printable Version

+- NaaLaa (https://www.naalaa.com/forum)
+-- Forum: NaaLaa (https://www.naalaa.com/forum/forum-1.html)
+--- Forum: NaaLaa 7 Code (https://www.naalaa.com/forum/forum-4.html)
+--- Thread: Space Side Scroller (/thread-84.html)



Space Side Scroller - johnno56 - 02-19-2024

This is a simple side scroller. Collect as many "stars" as you can. It stars off slow, but as your score increases, so does your speed. But, if you miss a star, you will lose a life....

Mouse controlled (vertical only) - Note: The sounds were created by Marcus's SFX library....

For those who are patient enough... post your final scores.... lol


.zip   scroller.zip (Size: 757.53 KB / Downloads: 6)

J


RE: Space Side Scroller - 1micha.elok - 02-19-2024

(02-19-2024, 10:50 AM)johnno56 Wrote: This is a simple side scroller. Collect as many "stars" as you can. It stars off slow, but as your score increases, so does your speed. But, if you miss a star, you will lose a life....

Mouse controlled (vertical only) - Note: The sounds were created by Marcus's SFX library....

For those who are patient enough... post your final scores.... lol



J

I can't translate scroller code below  Big Grin Big Grin

Code:
WindowOpen(1,title$,center_x,center_y,xmax,ymax,WindowMode(1,0,0,0,0),1)
SetWindowAutoClose(1, 0)
CanvasOpen(1,xmax,ymax,0,0,xmax,ymax,0)
ClearCanvas



RE: Space Side Scroller - Marcus - 02-19-2024

(02-19-2024, 02:54 PM)1micha.elok Wrote:
(02-19-2024, 10:50 AM)johnno56 Wrote: This is a simple side scroller. Collect as many "stars" as you can. It stars off slow, but as your score increases, so does your speed. But, if you miss a star, you will lose a life....

Mouse controlled (vertical only) - Note: The sounds were created by Marcus's SFX library....

For those who are patient enough... post your final scores.... lol



J

I can't translate scroller code below  Big Grin Big Grin

Code:
WindowOpen(1,title$,center_x,center_y,xmax,ymax,WindowMode(1,0,0,0,0),1)
SetWindowAutoClose(1, 0)
CanvasOpen(1,xmax,ymax,0,0,xmax,ymax,0)
ClearCanvas

Nope, what kind of heathen language is that? I'm afraid belzebub might appear if I read it out loud!


RE: Space Side Scroller - johnno56 - 02-19-2024

The sound you can hear is the palm of my hand hitting my forehead....

My apologies. I was converting my RCBasic code into N7 and had inadvertently added the "".bas" file instead of the ".n7"

Let's try this dance again, shall we?


.zip   scroller.zip (Size: 757.53 KB / Downloads: 8)


RE: Space Side Scroller - 1micha.elok - 02-20-2024

(02-19-2024, 10:03 PM)johnno56 Wrote: The sound you can hear is the palm of my hand hitting my forehead....

My apologies. I was converting my RCBasic code into N7 and had inadvertently added the "".bas" file instead of the ".n7"

Let's try this dance again, shall we?

I'm still playing your Space Side Scroller game .... now my score is 381 and the level is 77 ....
I can't stop playing the game  Big Grin Big Grin Big Grin

   
click the image to zoom in ... magnify more...


RE: Space Side Scroller - johnno56 - 02-20-2024

381 points and only one life lost!! I did not even get to 140 points... *sigh* Well, that says a LOT for my playing skills... lol

Well done!


RE: Space Side Scroller - Marcus - 02-20-2024

I added some few lines of code, marked with Marcus, to give the game an online high-score list Smile


Edit  I got 120 points, but I'm playing with a touchpad Big Grin


RE: Space Side Scroller - kevin - 02-20-2024

Very good Johnno, very addictive. Think I must have a faulty trackpad though - I only managed 96 Smile


RE: Space Side Scroller - aliensoldier - 02-29-2024

I tried to try this game, but the resolution is very high and my monitor is somewhat old and does not support it.


RE: Space Side Scroller - Marcus - 02-29-2024

(02-29-2024, 04:56 PM)aliensoldier Wrote: I tried to try this game, but the resolution is very high and my monitor is somewhat old and does not support it.

I'm using a tiny laptop with a resolution of 1360x768 pixels myself. If you set the fullscreen parameter to true, where johnno calls 'set window', the graphics should be downscaled to fit your monitor. Atleast I think that should work Smile