### Author Topic: The Game  (Read 21229 times)

0 Members and 1 Guest are viewing this topic.

#### Speler

• Posts: 857
• Rating: +6/-2
##### The Game
« on: October 21, 2006, 05:06:00 am »
'The Game' is a phisics based game I've been working on for the past few months.  It has interesting gameplay which I have been told by several people is similar to N (which I have never played).  I hope to have a demo available withen in the month IF schoolwork dies down a little (we can be hopefull...)  But don't hold your breath.

Here is the engine that is currently released (v1.06), the version I am working on now has animated water, switches, keys/doors and eventually an enemy with AI:

Pxl-Change(int(D),int(A
While 1
Pxl-Test(int(D)+1,int(A->G
Pxl-Test(int(D)-1,int(A->I
Pxl-Test(int(D),1+int(A->J
Pxl-Test(int(D),int(A)-1->L
Pxl-Test(int(D),int(A->M
getkey->K
If J+L and not(G
Then
If ans
2->H
(B>-1 and B<0)-(B>0 and B<1->B
End
.95Hnot(K=34 or G->H
If Gnot(I)(K=25
2->H
int(A->C
int(D->F
max(-54125+1,min(1,B+(.5+not(m))((K=26 and not(J))-(K=24 and not(L->B
Ans+A->A
D-G+1-H+Inot(G->D
.95B-BG/4->B
Pxl-Change(iPart(D),iPart(A
Pxl-Change(F,C
End

Just draw a level as a screen set variables D and A to the coordinates you would like (also H B and D to zero) and try it out.

The levels are going to be stored to archived lists (you'll see...) and display of the entire screen currently takes only a few seconds.

The original topic can be found here:  http://www.unitedti.org/index.php?showtopic=5213

Have fun!

#### DJ Omnimaga

• Clacualters are teh gr33t
• CoT Emeritus
• LV15 Omnimagician (Next: --)
• Posts: 55942
• Rating: +3154/-232
• CodeWalrus founder & retired Omnimaga founder
##### The Game
« Reply #1 on: October 21, 2006, 06:00:00 am »
I'll try this code asap on calc, if i get time to all copy it by hand this sound neat, will you have some screenshots soon?

#### Speler

• Posts: 857
• Rating: +6/-2
##### The Game
« Reply #2 on: October 21, 2006, 06:53:00 am »
This game with look hideous with normal screenshots and until I get a chance to make an animated one no.  Sorry about that... if you want I'll upload the above code though for people to download.  It would make it a little easier, but right now I'm concentrating on the enemies and AI, which is time consuming to say the least.

#### DJ Omnimaga

• Clacualters are teh gr33t
• CoT Emeritus
• LV15 Omnimagician (Next: --)
• Posts: 55942
• Rating: +3154/-232
• CodeWalrus founder & retired Omnimaga founder
##### The Game
« Reply #3 on: October 21, 2006, 02:48:00 pm »
yeah it must be especially when trying to keep reasonable speed in pure TI-BASIC, if you post the 8xp version of the code above I may be able to make a screenshot for you (animated)

#### bfr

• Posts: 819
• Rating: +4/-0
##### The Game
« Reply #4 on: October 26, 2006, 12:01:00 pm »
Looks cool .  I like that it's physics-based.  I like any excuse to indirectly incorperate mathematics and science into my programs (with "indirectly" meaning not making a physics equation solver or something like that, but using physics to determine the some important factor in a game).

#### Halifax

• LV9 Veteran (Next: 1337)
• Posts: 1334
• Rating: +2/-1
##### The Game
« Reply #5 on: October 26, 2006, 01:34:00 pm »
Yea I understand what you mean bfr and cool Super_Speler I hope you get I demo out this weekend cause I want to try this game out
There are 10 types of people in this world-- those that can read binary, and those that can't.

#### DJ Omnimaga

• Clacualters are teh gr33t
• CoT Emeritus
• LV15 Omnimagician (Next: --)
• Posts: 55942
• Rating: +3154/-232
• CodeWalrus founder & retired Omnimaga founder
##### The Game
« Reply #6 on: October 27, 2006, 01:23:00 am »

#### Speler

• Posts: 857
• Rating: +6/-2
##### The Game
« Reply #7 on: November 02, 2006, 03:31:00 pm »
I'm currently re-writing a large section of the level display code so that it will support a larger veriety of in game effects, such as falling roofs and rising floors and switches that will do more then display a new map.

#### Halifax

• LV9 Veteran (Next: 1337)
• Posts: 1334
• Rating: +2/-1
##### The Game
« Reply #8 on: November 03, 2006, 12:17:00 am »
That sounds sweet so you would easily be able to make a map with rising floors and switches?? or will you have to hardcode it without a map editor?
There are 10 types of people in this world-- those that can read binary, and those that can't.

#### Speler

• Posts: 857
• Rating: +6/-2
##### The Game
« Reply #9 on: November 03, 2006, 10:40:00 am »
Basically you would store a couple numbers to a list and run the program, eventually I'll make a true level editor that does it for you though.

#### DJ Omnimaga

• Clacualters are teh gr33t
• CoT Emeritus
• LV15 Omnimagician (Next: --)
• Posts: 55942
• Rating: +3154/-232
• CodeWalrus founder & retired Omnimaga founder
##### The Game
« Reply #10 on: November 09, 2006, 02:03:00 pm »
Screenies!

#### Speler

• Posts: 857
• Rating: +6/-2
##### The Game
« Reply #11 on: November 12, 2006, 05:39:00 am »
I have been having a large ammount of trouble with my calc lately.  First it's been crashing ALOT lately.  Not a problem since I soon learned to group after every minor change.  Now it won't turn on, but once it does there will be some screenies .  I'm very optimistic about it turning on.

On a side note (assuming I can recover what was in archive when my calc will turn on) this will be in a demo (Anything with a + is done):

+Animated water.
+Stuff that blows up and kills you.
+Basic engine.
+Rising ground and falling roof.
-Switches.
-10 levels.
-Information on how to create your own levels, this is the first Pure Basic game (that I know of) that will not only allow the user to make there own levels, but allow them to make as many as they want without hardcoding (no knoledge of TI-Basic necicary)).

Expect my first release some time this week by the way as I will demonstrate the first EVER case of grayscale (very limited grayscale...) in pure basic.

#### DJ Omnimaga

• Clacualters are teh gr33t
• CoT Emeritus
• LV15 Omnimagician (Next: --)
• Posts: 55942
• Rating: +3154/-232
• CodeWalrus founder & retired Omnimaga founder
##### The Game
« Reply #12 on: November 12, 2006, 06:32:00 am »

• LV9 Veteran (Next: 1337)
• Posts: 1143
• Rating: +5/-2
##### The Game
« Reply #13 on: November 12, 2006, 07:20:00 am »
Try seeing if its the contrast?

w00t @ demo coming soon!
One of these days I'll get a sig I'm really proud of.