Whats up TRON? - FULL GAME

Advanced game related topics
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2167
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Re: Whats up TRON? - FULL GAME

Post by Andre »

First: I'm not really a gamer or have any experience with 3D programming.... ;-)

3D effects look very nice, here you can see what can be done with a very small code... :o

But I'm to stupid to really play this game :|
I've seen the "A, W, D, S" and "Space" keys in the code, but I have no clue what to do and what's the goal?
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
User avatar
minimy
Addict
Addict
Posts: 899
Joined: Mon Jul 08, 2013 8:43 pm
Location: off world

Re: Whats up TRON? - FULL GAME

Post by minimy »

Thanks Andre, just survive, kill enemys and score.
I did it testing reflections, at the end i got an small game :lol:

Ahhh, the story:
The CPUs are infected by the ball virus, you are Tronki, the unrecognized son of McArgh and Karsporki, the definitive antivirus. :lol:
Your mission is to kill all viruses, if you can...
You are the last hope! (ok, you're the twenty-third option, but the others were busy) save the CPU.

@KCC, thanks to you my friend! :wink:
If translation=Error: reply="Sorry, Im Spanish": Endif
Matheos
User
User
Posts: 10
Joined: Sat Dec 13, 2025 9:23 pm

Re: Whats up TRON? - FULL GAME

Post by Matheos »

Thank you to minimy for posting. I thought I should report back, it crashes on two systems here, Intel and AMD, PB 6.30 Windows 64-bit, C or ASM backend.

On the first machine, line 200 might be responsible, it returns zero.

Code: Select all

Debug OpenWindowedScreen(WindowID(0),0,50,WindowWidth(0),WindowHeight(0)-50, 0,0,0,#PB_Screen_SmartSynchronization)
Image


On another machine, it crashes at a different point — line 200 returns 1, but then crashes at line 214.


Image
User avatar
minimy
Addict
Addict
Posts: 899
Joined: Mon Jul 08, 2013 8:43 pm
Location: off world

Re: Whats up TRON? - FULL GAME

Post by minimy »

Thanks to you Matheos.
I got same problem with 6.30, was programmed in 6.02 (because i got an old mac, windows and linux and 6.02 is very stable with the 3 OS).

I dont know why happend, no have shadows system.
Examining the code all is right, no shadows (cause problem with 6.30, need 2 lines more to work.)

I try adding this 2 lines.
Add3DArchive(#PB_Compiler_Home + "examples/3d/Data/Main", #PB_3DArchive_FileSystem)
Parse3DScripts()
But not...

Im sorry friend the version 6.30 hate me :lol:
if you want test download 6.02 or other before 6.20 work fine.
If translation=Error: reply="Sorry, Im Spanish": Endif
miso
Enthusiast
Enthusiast
Posts: 714
Joined: Sat Oct 21, 2023 4:06 pm
Location: Hungary

Re: Whats up TRON? - FULL GAME

Post by miso »

Matheos wrote: Fri Feb 20, 2026 7:17 pm Thank you to minimy for posting. I thought I should report back, it crashes on two systems here, Intel and AMD, PB 6.30 Windows 64-bit, C or ASM backend.

On the first machine, line 200 might be responsible, it returns zero.

Code: Select all

Debug OpenWindowedScreen(WindowID(0),0,50,WindowWidth(0),WindowHeight(0)-50, 0,0,0,#PB_Screen_SmartSynchronization)
Image


On another machine, it crashes at a different point — line 200 returns 1, but then crashes at line 214.


Image
I dont know the exact specification of those machines. I belive in the first case the screen size is not supported. Try something standard (or the desktop size) like 1024x768.

On second case, I tip that the video card does not support that big of a texture, or supports only standard numbers like 512x 1024x.

These are just tips, can't be sure.
Post Reply