Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 31
» Latest member: nartex
» Forum threads: 105
» Forum posts: 823

Full Statistics

Online Users
There are currently 46 online users.
» 0 Member(s) | 46 Guest(s)

Latest Threads
S3D : the devil's triangl...
Forum: NaaLaa 7 Questions
Last Post: 1micha.elok
9 hours ago
» Replies: 9
» Views: 107
Just for the Star Wars fa...
Forum: Everything else
Last Post: johnno56
05-05-2024, 10:40 PM
» Replies: 7
» Views: 142
Convex hull, quick algori...
Forum: NaaLaa 7 Code
Last Post: johnno56
05-04-2024, 07:23 PM
» Replies: 7
» Views: 277
Wolf3D
Forum: NaaLaa 7 Questions
Last Post: johnno56
05-02-2024, 07:57 PM
» Replies: 24
» Views: 1,391
Small pinball game using ...
Forum: NaaLaa 7 Code
Last Post: 1micha.elok
05-02-2024, 01:41 AM
» Replies: 2
» Views: 145
That 3d thing
Forum: NaaLaa 7 Code
Last Post: 1micha.elok
04-30-2024, 02:32 AM
» Replies: 14
» Views: 1,041
Raycaster
Forum: NaaLaa 6 Questions
Last Post: johnno56
04-29-2024, 09:08 AM
» Replies: 5
» Views: 254
The Maze II
Forum: NaaLaa 7 Code
Last Post: Marcus
04-28-2024, 11:53 AM
» Replies: 4
» Views: 332
Wolf3D test
Forum: NaaLaa 7 Code
Last Post: Marcus
04-27-2024, 03:05 PM
» Replies: 3
» Views: 282
The Maze
Forum: NaaLaa 7 Code
Last Post: Marcus
04-24-2024, 06:46 AM
» Replies: 15
» Views: 1,625

 
  Problem with constant - maybe
Posted by: johnno56 - 11-27-2023, 07:14 AM - Forum: NaaLaa 7 Questions - Replies (4)

   

I am attempting to "restock" my "to N7" conversions and have come across a bit of a puzzle in regards to "constant"

The error in line #10 seems to be objecting to "pr". If I change "pr" to the value of "pr", as in the previous constant, to 16 - "constant pr2 = 2 * 16" the error clears. Then the same error occurs for line #11 and 12. Keying in the actual value of "xmax" and "tl" clears the error.

Similar error for lines 14 and 15.

It looks like that constant does not like using or referring to a previous constant value.

Also, constant does not seem to like int(), in lines 14, 15 and 17.

Could there be an issue with 'constant' or perhaps I am doing this incorrectly... My money is on the latter... lol

J

Print this item

  Bomb Sweeper - N5 to N7
Posted by: Marcus - 11-25-2023, 08:14 AM - Forum: NaaLaa 7 Code - Replies (3)

I found the source code of a minsweeper game on a backup drive. I think it's for n5, but it might be even older than that. It's a short program, so translating it line by line to n7 only took me a couple of minutes. As with the Robowack translation, this code doesn't take advantage of the new stuff in n7. The original n5 source code is included.



Attached Files
.zip   bomb_sweeper.zip (Size: 3.14 KB / Downloads: 10)
Print this item

  Robowack - N7 version
Posted by: Marcus - 11-24-2023, 08:33 PM - Forum: NaaLaa 7 Code - Replies (6)

Here's an N7 version of the N5/N6 game Robowack.

[Image: robowack.jpg]

I'm using a version of the wolf3d library that has not been released yet, but it's included in the zip. The support for loading maps created with the RC Editor (n6) is not complete yet, so some parts of the code may look a bit weird.

The lines in the original source code (robowack_n6_version.txt) match those in the n7 version (robowack.n7). So if you look at line 503 in the n6 code and wonder how to do that in n7, you can simply look at line 503 in the n7 version Smile

I made some small changes to the game:
* The aspect of the window now matches that of the screen (monitor)
* Increased the field of view to 72 degrees
* Picking up a golden cross now gives you +5 health

I translated the n6 version line by line to n7, so the game does not take advantage of the "new stuff" in n7.



Attached Files
.zip   robowack.zip (Size: 13.46 MB / Downloads: 13)
Print this item

  Rock Blaster by me
Posted by: Marcus - 11-23-2023, 06:41 PM - Forum: NaaLaa 6 Code - Replies (5)

Here's Rock Blaster, source code included, by me. It was written in n5 though ...

[Image: rock_blaster.jpg]

The controls are weird. It's an asteroid style game that you control with the mouse. Hold down the right button and the ship will move towards the mouse cursor. Hold left mouse button to shoot.



Attached Files
.zip   rock_blaster.zip (Size: 7.34 MB / Downloads: 14)
Print this item

  Zombie Tumult by me
Posted by: Marcus - 11-23-2023, 06:04 PM - Forum: NaaLaa 6 Code - No Replies

Here's Zombie Tumult, with source code, by me.

[Image: zombie_tumult.jpg]



Attached Files
.zip   zombie_tumult.zip (Size: 1.23 MB / Downloads: 7)
Print this item

  Pat by JSM
Posted by: Marcus - 11-23-2023, 05:55 PM - Forum: NaaLaa 6 Code - No Replies

Here's Pat, with source code, by JSM.

[Image: pat.jpg]

Edit That dialog is lying though. You jump with arrow key up. Silly John.



Attached Files
.zip   pat.zip (Size: 1,017.54 KB / Downloads: 6)
Print this item

  Space Pooper by JSM
Posted by: Marcus - 11-23-2023, 05:33 PM - Forum: NaaLaa 6 Code - No Replies

Here's the N6 game Space Pooper, with source code, by JSM.

[Image: space_pooper.jpg]



Attached Files
.zip   space_pooper.zip (Size: 1.38 MB / Downloads: 7)
Print this item

  Old Stuff
Posted by: johnno56 - 11-23-2023, 07:32 AM - Forum: NaaLaa 6 Questions - Replies (6)

I just found the Youtube Naalaa channel....  https://www.youtube.com/channel/UCRwL0Jj...X0w/videos

Am I correct in assuming that "all" of those programs are gone? No chance that at least a few may have been tucked away on some forgotten drive somewhere? There are such a lot of cool games on that channel... It would be a shame if they were all lost... *sigh*  

I will look through my old drives, just in case, but I cannot be sure that I have any of them... I think I may have the 'example' programs for N5 and N6 but that may be all... I will still look none the less...

J

Print this item

  Temporary place for forum accident again
Posted by: luwal - 11-19-2023, 05:32 PM - Forum: Suggestions - Replies (2)

I am so pleased because the offical forum is okay again. Good job.

I have a good idea: one more forum or messageboard for NaaLaa! If forum accidents occur again at this official forum, NaaLaa users can still discuss technical topics about NaaLaa at the second forum or messageboard. In addition,  Marcus can also tell the users that an accident has happened at this NaaLaa official forum. Several BASIC languages have messageboards on Itch: Cerberus X,  BBC BASIC, Blitz3D and RCBasic. You can find their webpages on this page: https://itch.io/jam/jam-for-all-basic-dialects-5

Print this item

  Editor tab buttons
Posted by: aliensoldier - 11-18-2023, 04:24 PM - Forum: Suggestions - Replies (1)

I have realized that when there are more than 8 files with the editor starting from number 8, all the others are not visible because the other 8 take up all the space in the editor and are hidden on the right side.

The only way to see them again is by closing a few, and if the file name is long with 5 files they already take up all your tabs.

It occurred to me that you could add two buttons to move to the left and one to the right to be able to move through the tabs and be able to see those that are hidden on the right.

Print this item